The RTPRandom class can be used to generate random numbers.
More...
#include <rtprandom.h>
List of all members.
Public Member Functions |
| uint8_t | GetRandom8 () |
| | Returns a random eight bit value.
|
| uint16_t | GetRandom16 () |
| | Returns a random sixteen bit value.
|
| uint32_t | GetRandom32 () |
| | Returns a random thirty-two bit value.
|
| double | GetRandomDouble () |
| | Returns a random number between $0.0$ and $1.0$.
|
Detailed Description
Member Function Documentation
| uint16_t RTPRandom::GetRandom16 |
( |
| ) |
|
| uint32_t RTPRandom::GetRandom32 |
( |
| ) |
|
| uint8_t RTPRandom::GetRandom8 |
( |
| ) |
|
| double RTPRandom::GetRandomDouble |
( |
| ) |
|
The documentation for this class was generated from the following file: