TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Protected Member Functions | List of all members
IDGeneratorTpl< T, BASE > Struct Template Reference
Inheritance diagram for IDGeneratorTpl< T, BASE >:

Detailed Description

template<typename T, typename BASE = cEmpty>
struct ni::IDGeneratorTpl< T, BASE >

ID generator template.

Public Member Functions

AllocID ()
 
tBool FreeID (T aID)
 
GetCounter () const
 

Protected Member Functions

 IDGeneratorTpl (tSize aFreeListPopSize)
 
 ~IDGeneratorTpl ()
 

Constructor & Destructor Documentation

IDGeneratorTpl ( tSize  aFreeListPopSize)
protected
~IDGeneratorTpl ( )
protected

Member Function Documentation

T AllocID ( )
tBool FreeID ( aID)
T GetCounter ( ) const