Kea 2.5.9
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)
virtual uint32_t generate ()
 Generate number sequentially.
- Public Member Functions inherited from isc::perfdhcp::TestControl::NumberGenerator
virtual ~NumberGenerator ()
virtual uint32_t generate ()=0
 Generate number.

Detailed Description

Sequential numbers generator class.

Definition at line 157 of file test_control.h.

Constructor & Destructor Documentation

◆ SequentialGenerator()

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


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

Definition at line 163 of file test_control.h.

Member Function Documentation

◆ generate()

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

Generate number sequentially.

generated number.

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

Definition at line 175 of file test_control.h.

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