Kea  1.9.9-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 157 of file test_control.h.

Constructor & Destructor Documentation

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

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: