OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ak::aUidManager Class Reference

This class is used to manage UIDs. This UID manager is incrementing the UID on each getId call. More...

#include "aUidMangager.h"

Public Member Functions

 aUidManager ()
 Default construcor. Initialize the first id with 1.
 
virtual ~aUidManager ()
 Deconstructor.
 
virtual UID getId (void)
 Will return the current id and increase it for the next call.
 
void reset (void)
 Will reset the UID manager (start from the beginning)
 
void setLatestUid (UID _uid)
 Will set the current UID to the UID provided.
 

Detailed Description

This class is used to manage UIDs. This UID manager is incrementing the UID on each getId call.

Constructor & Destructor Documentation

◆ aUidManager()

ak::aUidManager::aUidManager ( )

Default construcor. Initialize the first id with 1.

◆ ~aUidManager()

ak::aUidManager::~aUidManager ( )
virtual

Deconstructor.

Member Function Documentation

◆ getId()

ak::UID ak::aUidManager::getId ( void )
virtual

Will return the current id and increase it for the next call.

◆ reset()

void ak::aUidManager::reset ( void )

Will reset the UID manager (start from the beginning)

◆ setLatestUid()

void ak::aUidManager::setLatestUid ( ak::UID _uid)

Will set the current UID to the UID provided.

Parameters
_uidThe new current _uid

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