| 41 | RandomNumber *RandomNumber::instance_ = NULL; |
| 42 | |
| 43 | RandomNumber::RandomNumber(const unsigned long seed) |
| 44 | : seed_(seed) |
| 45 | { |
| 46 | unsigned int count = AbsRndNumGenerator::count(); |
| 47 | |
| 48 | for (unsigned int i = 0; i < count; ++i) { |
| 49 | RNDNUM_GENERATOR rImpl = static_cast<RNDNUM_GENERATOR>(i); |
| 50 | generators_[rImpl] = NULL; |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | RandomNumber::~RandomNumber() |
| 55 | { |
nothing calls this directly
no outgoing calls
no test coverage detected