jrtplib  3.8.0
Public Member Functions | List of all members
RTPRandom Class Referenceabstract

Interface for generating random numbers. More...

#include <rtprandom.h>

Inheritance diagram for RTPRandom:
Inheritance graph
[legend]

Public Member Functions

virtual uint8_t GetRandom8 ()=0
 Returns a random eight bit value. More...
 
virtual uint16_t GetRandom16 ()=0
 Returns a random sixteen bit value. More...
 
virtual uint32_t GetRandom32 ()=0
 Returns a random thirty-two bit value. More...
 
virtual double GetRandomDouble ()=0
 Returns a random number between $0.0$ and $1.0$. More...
 
uint32_t PickSeed ()
 Can be used by subclasses to generate a seed for a random number generator. More...
 

Detailed Description

Member Function Documentation

virtual uint16_t RTPRandom::GetRandom16 ( )
pure virtual
virtual uint32_t RTPRandom::GetRandom32 ( )
pure virtual
virtual uint8_t RTPRandom::GetRandom8 ( )
pure virtual
virtual double RTPRandom::GetRandomDouble ( )
pure virtual
uint32_t RTPRandom::PickSeed ( )

The documentation for this class was generated from the following file: