#include <seed.h>
Definition at line 49 of file seed.h.
◆ Seed()
fcl::detail::Seed::Seed |
( |
| ) |
|
|
protected |
◆ getFirstSeed()
uint_fast32_t fcl::detail::Seed::getFirstSeed |
( |
| ) |
|
|
static |
◆ getInstance()
Seed & fcl::detail::Seed::getInstance |
( |
| ) |
|
|
staticprotected |
◆ getNextSeed()
uint_fast32_t fcl::detail::Seed::getNextSeed |
( |
| ) |
|
|
static |
We use a different random number generator for the seeds of the Other random generators. The root seed is from the number of nano-seconds in the current time.
Definition at line 96 of file seed.cpp.
◆ getUserSetSeed()
uint_fast32_t fcl::detail::Seed::getUserSetSeed |
( |
| ) |
|
|
static |
◆ isFirstSeedGenerated()
bool fcl::detail::Seed::isFirstSeedGenerated |
( |
| ) |
|
|
static |
◆ setUserSetSeed()
void fcl::detail::Seed::setUserSetSeed |
( |
std::uint_fast32_t |
seed | ) |
|
|
static |
◆ firstSeedGenerated
bool fcl::detail::Seed::firstSeedGenerated |
|
protected |
Flag indicating whether the first seed has already been generated or not.
Definition at line 76 of file seed.h.
◆ firstSeedValue
std::uint_fast32_t fcl::detail::Seed::firstSeedValue |
|
protected |
The value of the first seed.
Definition at line 79 of file seed.h.
◆ userSetSeed
std::uint_fast32_t fcl::detail::Seed::userSetSeed |
|
protected |
The seed the user asked for (cannot be 0)
Definition at line 73 of file seed.h.
The documentation for this class was generated from the following files: