#include <Notify_ID_Pool_T.h>
Inheritance diagram for TAO_Notify_ID_Pool:
Public Methods | |
TAO_Notify_ID_Pool (void) | |
Constructor. More... | |
~TAO_Notify_ID_Pool () | |
Destructor. More... | |
ID_TYPE | get (void) |
Returns the current id. More... | |
void | put (ID_TYPE id) |
Return the id back. More... | |
void | next (void) |
The current id is moved to the active_list_. More... | |
Protected Attributes | |
ID_TYPE | id_ |
The next available id. More... | |
ACE_Unbounded_Set< ID_TYPE > | active_list_ |
List of ids currently in use by clients of this class. More... |
This class is used by factories that need to associate id's with the objects that they create. The very first id generated is always 0.The condition is necessary to support ids for default objects that require an id of 0.
|
Constructor.
|
|
Destructor.
|
|
Returns the current id.
|
|
The current id is moved to the active_list_.
|
|
Return the id back.
|
|
List of ids currently in use by clients of this class.
|
|
The next available id.
|