#include <RandomNumber.hpp>
Public Member Functions | |
RandomNumber (Int32 lowVal=0, Int32 highVal=RAND_MAX) | |
Int32 | getNextNumber () |
Static Public Member Functions | |
static void | initRandomness () |
static void | saveRandomState () |
Private Attributes | |
Int32 | m_lowVal |
Int32 | m_highVal |
Definition at line 47 of file RandomNumber.hpp.
|
Definition at line 69 of file RandomNumber.cpp. References BLOCXX_NAMESPACE::callOnce(), BLOCXX_NAMESPACE::guard, initRandomness(), m_highVal, and m_lowVal. |
|
Definition at line 130 of file RandomNumber.cpp. References BLOCXX_NAMESPACE::g_guard, m_highVal, and m_lowVal. Referenced by BLOCXX_NAMESPACE::getRandomBytes(), and BLOCXX_NAMESPACE::FileSystem::initRandomFile(). |
|
Definition at line 82 of file RandomNumber.cpp. References BLOCXX_NAMESPACE::seed. Referenced by RandomNumber(). |
|
Definition at line 117 of file RandomNumber.cpp. |
|
Definition at line 61 of file RandomNumber.hpp. Referenced by getNextNumber(), and RandomNumber(). |
|
Definition at line 60 of file RandomNumber.hpp. Referenced by getNextNumber(), and RandomNumber(). |