#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 48 of file RandomNumber.hpp.
Definition at line 71 of file RandomNumber.cpp.
References BLOCXX_NAMESPACE::callOnce(), BLOCXX_NAMESPACE::guard, initRandomness(), m_highVal, and m_lowVal.
| Int32 BLOCXX_NAMESPACE::RandomNumber::getNextNumber | ( | ) |
Definition at line 130 of file RandomNumber.cpp.
References BLOCXX_NAMESPACE::g_guard, m_highVal, m_lowVal, and BLOCXX_NAMESPACE::Secure::rand().
| void BLOCXX_NAMESPACE::RandomNumber::initRandomness | ( | ) | [static] |
Definition at line 84 of file RandomNumber.cpp.
References BLOCXX_NAMESPACE::seed.
Referenced by RandomNumber().
| void BLOCXX_NAMESPACE::RandomNumber::saveRandomState | ( | ) | [static] |
Definition at line 119 of file RandomNumber.cpp.
1.5.6