#include <acsutilORBHelper.h>
Static Public Member Functions | |
CORBA::ORB_ptr | getORB () |
void | setORB (CORBA::ORB_ptr) |
Protected Types | |
typedef Loki::SingletonHolder< ORBHelper, Loki::CreateUsingNew, Loki::PhoenixSingleton, Loki::SingleThreaded > | ORBHelperSingleton |
Protected Member Functions | |
ORBHelper () | |
~ORBHelper () | |
Private Member Functions | |
void | operator= (const ORBHelper &) |
ORBHelper (const ORBHelper &) | |
Static Private Member Functions | |
void | runOrbThread (void *pThis) |
Private Attributes | |
ACE_Thread_Manager * | threadManager_mp |
bool | orbRunYet_m |
Static Private Attributes | |
CORBA::ORB_ptr | orb_mp |
Friends | |
ORBHelper * | Loki::CreateUsingNew () |
void | Loki::CreateUsingNew (ORBHelper *) |
TODO:
|
Typedef defining a singleton ORBHelper. |
|
Default Constructor This constructor uses default parameters (NameService and NotifyFactory dynamically generated using the hostname). Should be used only when this object will be instantiated on the same host as manager. |
|
Destructor Destroys orb_mp. |
|
ALMA C++ coding standards state copy constructors should be disabled. |
|
getORB() This method merely returns the ORB. If no other object within the system has set the ORB, this method will implicitly create an ORB
|
|
ALMA C++ coding standards state assignment operators should be disabled. |
|
Run the orb in a thread because orb_mp->run() is a blocking call.
|
|
setORB() This method sets the ORB. If the ORB has been set before, the call to setORB is ignored. Otherwise, a private member variable is set to the parameter (without using CORBA::ORB::_duplicate()).
|
|
As a result of this class's destructor being made protected, it is necessary to friend the appropriate Loki function. |
|
As a result of this class's constructor being made protected, it is necessary to friend the appropriate Loki function. |
|
The ORB set by some other library or created by this class. |
|
Used to see if the thread has started running the ORB yet. |
|
Used to spawn a thread for running orb_mp. |