![]() |
fpmas 1.6
|
#include <generator.h>


Public Member Functions | |
| Generator () | |
| Generator (std::random_device::result_type) | |
| Generator (const Generator< std::random_device > &) | |
| Generator (Generator< std::random_device > &&) | |
| Generator< std::random_device > & | operator= (const Generator< std::random_device > &) |
| Generator< std::random_device > & | operator= (Generator< std::random_device > &&) |
| void | seed (std::random_device::result_type) override |
| void | discard (unsigned long long) override |
Public Member Functions inherited from fpmas::random::UniformRandomBitGenerator< std::random_device > | |
| result_type | operator() () override |
Public Member Functions inherited from fpmas::api::random::Generator< Generator_t::result_type > | |
| virtual Generator_t::result_type | operator() ()=0 |
| virtual void | seed (Generator_t::result_type seed)=0 |
| virtual void | discard (unsigned long long z)=0 |
Additional Inherited Members | |
Public Types inherited from fpmas::api::random::Generator< Generator_t::result_type > | |
| typedef Generator_t::result_type | result_type |
Static Public Member Functions inherited from fpmas::random::UniformRandomBitGenerator< std::random_device > | |
| static constexpr result_type | min () |
| static constexpr result_type | max () |
Protected Attributes inherited from fpmas::random::UniformRandomBitGenerator< std::random_device > | |
| std::random_device | gen |
std::random_device Generator specialization.
Seeding this genererator has no effect but methods are still define to preserve API compatibility (Generator<std::random_device> is a concrete api::random::Generator implementation).
|
inline |
Generator default constructor.
|
inline |
Defines a constructor that accept a seed, but has no effect.
|
inline |
Generator<std::random_device> specialization copy constructor.
Does not copy the internal std::random_device, since the next generated values in non-deterministic anyway.
|
inline |
Generator<std::random_device> specialization copy constructor.
Does not move the internal std::random_device, since the next generated values in non-deterministic anyway.
|
inline |
Generator<std::random_device> specialization copy assignment operator.
Does not copy assign the internal std::random_device, since the next generated values in non-deterministic anyway.
|
inline |
Generator<std::random_device> specialization move assignment operator.
Does not move assign the internal std::random_device, since the next generated values in non-deterministic anyway.
|
inlineoverride |
No effect in the case of the random_device generator.
|
inlineoverridevirtual |
No effect in the case of the random_device generator.
Implements fpmas::api::random::Generator< Generator_t::result_type >.