3 //=============================================================================
5 * @file DTP_ORB_Loader.h
7 * Header file for Loading DynamicTP.
9 * @author Phil Mesnier <mesnier_p@ociweb.com>
11 //=============================================================================
13 #ifndef TAO_DYNAMIC_TP_ORB_LOADER_H
14 #define TAO_DYNAMIC_TP_ORB_LOADER_H
15 #include /**/ "ace/pre.h"
17 #include "tao/orbconf.h"
19 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
21 #include "tao/Dynamic_TP/dynamic_tp_export.h"
22 #include "ace/Service_Object.h"
23 #include "ace/Service_Config.h"
25 #if !defined (ACE_LACKS_PRAGMA_ONCE)
27 #endif /* ACE_LACKS_PRAGMA_ONCE */
29 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
33 class TAO_Dynamic_TP_Export TAO_DTP_ORB_Loader
: public ACE_Service_Object
37 TAO_DTP_ORB_Loader ();
40 virtual ~TAO_DTP_ORB_Loader ();
42 /// Initialize the DynamicTP loader hooks.
43 virtual int init (int argc
, ACE_TCHAR
* []);
46 /// Set to true after init is called.
51 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_Dynamic_TP
, TAO_DTP_ORB_Loader
)
52 ACE_FACTORY_DECLARE (TAO_Dynamic_TP
, TAO_DTP_ORB_Loader
)
54 TAO_END_VERSIONED_NAMESPACE_DECL
56 #endif /* (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0 */
58 #include /**/ "ace/post.h"
59 #endif /* TAO_DYNAMIC_TP_ORB_LOADER_H */