i6engine
1.0
|
creates random numbers More...
#include <D:/Projekte/i6engine/libs/i6engine-utils/include/i6engine/utils/i6eRandom.h>
Public Member Functions | |
~Random () | |
destructor More... | |
uint32_t | rand () const |
returns a random number in range of unsigned int More... | |
uint32_t | rand (uint32_t max) const |
returns a random number in the range between 0 and max ([0;max[) More... | |
uint32_t | rand (uint32_t min, uint32_t max) const |
returns a random number in the range between min and max ([min; max[) More... | |
void | setSeed (uint32_t seed) |
sets a random seed value More... | |
Friends | |
class | Singleton< Random > |
Additional Inherited Members | |
Static Public Member Functions inherited from i6e::utils::Singleton< Random > | |
static Random * | GetSingletonPtr () |
Returns a pointer to the Singleton class. More... | |
static Random & | GetSingleton () |
Returns a reference to the Singleton class. More... | |
Protected Member Functions inherited from i6e::utils::Singleton< Random > | |
Singleton () | |
virtual | ~Singleton () |
creates random numbers
Definition at line 42 of file i6eRandom.h.
|
inline |
destructor
Definition at line 49 of file i6eRandom.h.
|
inline |
returns a random number in range of unsigned int
Definition at line 56 of file i6eRandom.h.
|
inline |
returns a random number in the range between 0 and max ([0;max[)
Definition at line 63 of file i6eRandom.h.
|
inline |
returns a random number in the range between min and max ([min; max[)
Definition at line 73 of file i6eRandom.h.
|
inline |
sets a random seed value
Definition at line 83 of file i6eRandom.h.
Definition at line 43 of file i6eRandom.h.