Kea 2.7.6
isc::perfdhcp::TestControl::NumberGenerator Class Referenceabstract

Number generator class. More...

#include <test_control.h>

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

Public Member Functions

virtual ~NumberGenerator ()
 Destructor.
 
virtual uint32_t generate ()=0
 Generate number.
 

Detailed Description

Number generator class.

This is default numbers generator class. The member function is used to generate uint32_t values. Other generator classes should derive from this one to implement generation algorithms (e.g. sequential or based on random function).

Definition at line 141 of file test_control.h.

Constructor & Destructor Documentation

◆ ~NumberGenerator()

virtual isc::perfdhcp::TestControl::NumberGenerator::~NumberGenerator ( )
inlinevirtual

Destructor.

Definition at line 145 of file test_control.h.

Member Function Documentation

◆ generate()

virtual uint32_t isc::perfdhcp::TestControl::NumberGenerator::generate ( )
pure virtual

Generate number.

Returns
Generate number.

Implemented in isc::perfdhcp::TestControl::RandomGenerator, and isc::perfdhcp::TestControl::SequentialGenerator.


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