Kea 2.5.5
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. More...
 
virtual uint32_t generate ()=0
 Generate number. More...
 

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 142 of file test_control.h.

Constructor & Destructor Documentation

◆ ~NumberGenerator()

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

Destructor.

Definition at line 146 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::SequentialGenerator.


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