ACE
6.3.3
|
Ensure that the ACE_OS_Object_Manager gets initialized at program startup, and destroyed at program termination. More...
Public Member Functions | |
ACE_OS_Object_Manager_Manager (void) | |
Constructor. More... | |
~ACE_OS_Object_Manager_Manager (void) | |
Destructor. More... | |
Private Attributes | |
ACE_thread_t | saved_main_thread_id_ |
Save the main thread ID, so that destruction can be suppressed. More... | |
Ensure that the ACE_OS_Object_Manager gets initialized at program startup, and destroyed at program termination.
Without ACE_HAS_NONSTATIC_OBJECT_MANAGER, a static instance of this class is created. Therefore, it gets created before main () is called. And it gets destroyed after main () returns.
ACE_OS_Object_Manager_Manager::ACE_OS_Object_Manager_Manager | ( | void | ) |
Constructor.
ACE_OS_Object_Manager_Manager::~ACE_OS_Object_Manager_Manager | ( | void | ) |
Destructor.
|
private |
Save the main thread ID, so that destruction can be suppressed.