OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::IDManager< T > Class Template Reference

#include "IDManager.h"

Public Member Functions

 IDManager ()
 
virtual ~IDManager ()
 
grabNextID (void)
 Will find the next free id and return it.
 
void freeID (T _id)
 Will set the provided id as free.
 

Constructor & Destructor Documentation

◆ IDManager()

template<class T >
ot::IDManager< T >::IDManager ( )

◆ ~IDManager()

template<class T >
ot::IDManager< T >::~IDManager ( )
virtual

Member Function Documentation

◆ freeID()

template<class T >
void ot::IDManager< T >::freeID ( T _id)

Will set the provided id as free.

◆ grabNextID()

template<class T >
T ot::IDManager< T >::grabNextID ( void )

Will find the next free id and return it.


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