Kea  2.3.5-git
isc::perfdhcp::TestControl::SequentialGenerator Class Reference

Sequential numbers generator class. More...

#include <test_control.h>

+ Inheritance diagram for isc::perfdhcp::TestControl::SequentialGenerator:

Public Member Functions

 SequentialGenerator (uint32_t range=0xFFFFFFFF)
 Constructor. More...
 
virtual uint32_t generate ()
 Generate number sequentially. More...
 
- Public Member Functions inherited from isc::perfdhcp::TestControl::NumberGenerator
virtual ~NumberGenerator ()
 Destructor. More...
 

Detailed Description

Sequential numbers generator class.

Definition at line 158 of file test_control.h.

Constructor & Destructor Documentation

◆ SequentialGenerator()

isc::perfdhcp::TestControl::SequentialGenerator::SequentialGenerator ( uint32_t  range = 0xFFFFFFFF)
inline

Constructor.

Parameters
rangemaximum number generated. If 0 is given then range defaults to maximum uint32_t value.

Definition at line 164 of file test_control.h.

Member Function Documentation

◆ generate()

virtual uint32_t isc::perfdhcp::TestControl::SequentialGenerator::generate ( )
inlinevirtual

Generate number sequentially.

Returns
generated number.

Implements isc::perfdhcp::TestControl::NumberGenerator.

Definition at line 176 of file test_control.h.


The documentation for this class was generated from the following file: