#include <DLL_ORB.h>
Inheritance diagram for TAO_DLL_ORB:
Public Methods | |
TAO_DLL_ORB (void) | |
Constructor. More... | |
~TAO_DLL_ORB (void) | |
Destructor. More... | |
virtual int | init (int argc, ACE_TCHAR *argv[]) |
Initializes ORB when dynamic linking occurs. More... | |
virtual int | fini (void) |
Terminates ORB when dynamic unlinking occurs. More... | |
virtual int | svc (void) |
Run by a daemon thread to handle deferred processing. More... | |
CORBA::ORB_ptr | orb (void) |
Returns a duplicate reference to the ORB. More... | |
Private Attributes | |
CORBA::ORB_var | orb_ |
Reference to the ORB. More... |
This class is deprecated. While it does demonstrate how to initialize an ORB in a dynamically loaded object, the fact that it is located in the TAO library forces the TAO library to be linked to the application binary. This prevents TAO from being completely decoupled from an application when dynamic loading is used, hence defeating the purpose of dynamically loading the object!
For an example of how to dynamically load an ORB (actually initialize an ORB inside a dynamically loaded object) that is completely decoupled from an application binary see the TAO/tests/DLL_ORB test.
|
Constructor.
|
|
Destructor.
|
|
Terminates ORB when dynamic unlinking occurs.
Reimplemented from ACE_Shared_Object. |
|
Initializes ORB when dynamic linking occurs.
Reimplemented from ACE_Shared_Object. |
|
Returns a duplicate reference to the ORB.
|
|
Run by a daemon thread to handle deferred processing.
Reimplemented from ACE_Task_Base. |
|
Reference to the ORB.
|