Kea 2.7.5
|
Random numbers generator class. More...
#include <test_control.h>
Public Member Functions | |
RandomGenerator (uint32_t min, uint32_t max) | |
Constructor. | |
virtual uint32_t | generate () |
Generate number in range of [min, max]. | |
Public Member Functions inherited from isc::perfdhcp::TestControl::NumberGenerator | |
virtual | ~NumberGenerator () |
Destructor. | |
Random numbers generator class.
The generated numbers are uniformly distributed in the range of [min, max].
Definition at line 187 of file test_control.h.
|
inline |
Constructor.
min | minimum number generated. |
max | maximum number generated. |
Definition at line 193 of file test_control.h.
|
inlinevirtual |
Generate number in range of [min, max].
Implements isc::perfdhcp::TestControl::NumberGenerator.
Definition at line 203 of file test_control.h.