Public Types | |
enum | Object_Lifetime_Manager_State { OBJ_MAN_UNINITIALIZED, OBJ_MAN_INITIALIZING, OBJ_MAN_INITIALIZED, OBJ_MAN_SHUTTING_DOWN, OBJ_MAN_SHUT_DOWN } |
Public Member Functions | |
virtual int | startup (void)=0 |
virtual int | shutdown (void)=0 |
Protected Member Functions | |
Object_Lifetime_Manager_Base (void) | |
virtual | ~Object_Lifetime_Manager_Base (void) |
int | starting_up_i (void) |
This flag can be used to determine if the program is constructing static objects. | |
int | shutting_down_i (void) |
| |
Protected Attributes | |
Object_Lifetime_Manager_State | object_manager_state_ |
State of the Object_Lifetime_Manager;. | |
int | dynamically_allocated_ |
Flag indicating whether the Object_Lifetime_Manager instance was dynamically allocated by the library. |
Definition at line 64 of file objman.h.
org::xmlBlaster::util::Object_Lifetime_Manager_Base::Object_Lifetime_Manager_Base | ( | void | ) | [protected] |
virtual org::xmlBlaster::util::Object_Lifetime_Manager_Base::~Object_Lifetime_Manager_Base | ( | void | ) | [protected, virtual] |
virtual int org::xmlBlaster::util::Object_Lifetime_Manager_Base::startup | ( | void | ) | [pure virtual] |
Implemented in org::xmlBlaster::util::Object_Lifetime_Manager.
virtual int org::xmlBlaster::util::Object_Lifetime_Manager_Base::shutdown | ( | void | ) | [pure virtual] |
Implemented in org::xmlBlaster::util::Object_Lifetime_Manager.
int org::xmlBlaster::util::Object_Lifetime_Manager_Base::starting_up_i | ( | void | ) | [protected] |
This flag can be used to determine if the program is constructing static objects.
If no static object spawns any threads, the program will be single-threaded when this flag returns 1.
Definition at line 109 of file objman.h.
Referenced by org::xmlBlaster::util::Object_Lifetime_Manager::startup().
int org::xmlBlaster::util::Object_Lifetime_Manager_Base::shutting_down_i | ( | void | ) | [protected] |
Definition at line 118 of file objman.h.
Referenced by org::xmlBlaster::util::Object_Lifetime_Manager::shutdown().
Object_Lifetime_Manager_State org::xmlBlaster::util::Object_Lifetime_Manager_Base::object_manager_state_ [protected] |
State of the Object_Lifetime_Manager;.
Definition at line 124 of file objman.h.
Referenced by org::xmlBlaster::util::Object_Lifetime_Manager::shutdown(), and org::xmlBlaster::util::Object_Lifetime_Manager::startup().
Flag indicating whether the Object_Lifetime_Manager instance was dynamically allocated by the library.
(If it was dynamically allocated by the application, then the application is responsible for deleting it.)
Definition at line 134 of file objman.h.
Referenced by org::xmlBlaster::util::Object_Lifetime_Manager::instance(), and org::xmlBlaster::util::Object_Lifetime_Manager::shutdown().