37 #ifndef RTPRANDOMRAND48_H 39 #define RTPRANDOMRAND48_H 41 #include "rtpconfig.h" 43 #ifdef RTP_SUPPORT_THREAD 44 #include <jthread/jmutex.h> 45 #endif // RTP_SUPPORT_THREAD 60 uint16_t GetRandom16();
61 uint32_t GetRandom32();
62 double GetRandomDouble();
64 void SetSeed(uint32_t seed);
66 #ifdef RTP_SUPPORT_THREAD 67 jthread::JMutex mutex;
68 #endif // RTP_SUPPORT_THREAD 74 #endif // RTPRANDOMRAND48_H Interface for generating random numbers.
Definition: rtprandom.h:51
Definition: rtpfaketransmitter.h:64
A random number generator using the algorithm of the rand48 set of functions.
Definition: rtprandomrand48.h:52