ACE
6.1.0
|
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. | |
~ACE_OS_Object_Manager_Manager (void) | |
Destructor. | |
Private Attributes | |
ACE_thread_t | saved_main_thread_id_ |
Save the main thread ID, so that destruction can be suppressed. |
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.
Save the main thread ID, so that destruction can be suppressed.