TAO_Singleton_Manager.cpp File Reference

#include "tao/TAO_Singleton_Manager.h"
#include "tao/Exception.h"
#include "ace/Guard_T.h"
#include "ace/Recursive_Thread_Mutex.h"
#include "ace/Log_Msg.h"
#include "ace/Object_Manager.h"

Include dependency graph for TAO_Singleton_Manager.cpp:

Include dependency graph

Go to the source code of this file.

Functions

 exit_info_ ()
 registered_with_object_manager_ (-1)
 old_unexpected_ (0)

Variables

TAO_Singleton_Managerthe_instance = 0


Function Documentation

exit_info_  ) 
 

old_unexpected_  ) 
 

Definition at line 69 of file TAO_Singleton_Manager.cpp.

References the_instance.

00071 {
00072   // Be sure that no further instances are created via instance ().
00073   if (the_instance == 0)
00074     {
00075       the_instance = this;
00076     }
00077 
00078   // @@ This is a hack.  Allow the TAO_Singleton_Manager to be registered
00079   //    with the ACE_Object_Manager (or not) in an explicit call to
00080   //    TAO_Singleton_Manager::init().  However, once the explicit call is
00081   //    made, it will not be possible to alter the setting.
00082   int register_with_object_manager = -1;
00083   (void) this->init (register_with_object_manager);
00084 }

registered_with_object_manager_ 1  ) 
 


Variable Documentation

TAO_Singleton_Manager* the_instance = 0 [static]
 

Definition at line 35 of file TAO_Singleton_Manager.cpp.

Referenced by TAO_Singleton_Manager::at_exit_i(), TAO_Singleton_Manager::fini(), TAO_Singleton_Manager::init(), TAO_Singleton_Manager::instance(), old_unexpected_(), TAO_Singleton_Manager::shutting_down(), and TAO_Singleton_Manager::starting_up().


Generated on Thu Nov 9 12:08:34 2006 for TAO by doxygen 1.3.6