|
HoverRace
2.0
|
#include <Random.h>
Inheritance diagram for HoverRace::Util::RandSource:Public Member Functions | |
| RandSource () | |
| Constructor. More... | |
Static Public Member Functions | |
| static RandSource & | ForThread () |
| Retrieve the per-thread random data source. More... | |
Private Types | |
| using | SUPER = std::mt19937 |
|
private |
| HoverRace::Util::RandSource::RandSource | ( | ) |
Constructor.
Ensures that the PRNG is seeded with a random seed.
|
static |
Retrieve the per-thread random data source.
If this is the first time this is called for a given thread, a new random data source will be created and seeded.
1.8.11