#include <mmuIdFactory.h>
Factory for Ids used to generate unique Ids at runtime.
This object is used to generate unique Ids and is typically accessed by means of ALBA macros for ID declaration defined in albaDefines.h (e.g. ALBA_ID_DEC() ALBA_ID_GLOB() )
- See also
- albaEvent
Definition at line 35 of file mmuIdFactory.h.
◆ GetNextId()
static albaID mmuIdFactory::GetNextId |
( |
const char * |
evtname | ) |
|
|
static |
Internally used to keep a unique ID for the events.
◆ GetId()
static albaID mmuIdFactory::GetId |
( |
const char * |
evtname | ) |
|
|
static |
Alloc a number of IDs assigning a name to the group.
this function can be used to obtain an event ID, given its full name
◆ GetIdName()
static const char * mmuIdFactory::GetIdName |
( |
albaID |
id | ) |
|
|
static |
this function can be used to obtain an event Name, given its ID
◆ mmuIdFactoryTest
friend class mmuIdFactoryTest |
|
friend |
◆ m_IdCounter
albaID mmuIdFactory::m_IdCounter |
|
staticprotected |
The documentation for this class was generated from the following file: