3 // ===================================================================
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 // ===================================================================
14 #include /**/ "ace/pre.h"
16 #include "ace/Service_Config.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Monitor/Monitor_export.h"
23 #include "tao/Versioned_Namespace.h"
24 #include "tao/Object_Loader.h"
26 #if defined (TAO_HAS_MONITOR_FRAMEWORK) && (TAO_HAS_MONITOR_FRAMEWORK == 1)
28 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 * @class TAO_Monitor_Init
33 class TAO_Monitor_Export TAO_Monitor_Init
: public TAO_Object_Loader
38 virtual CORBA::Object_ptr
create_object (CORBA::ORB_ptr orb
,
42 /// Used to force the initialization of the ORB code.
43 static int Initializer ();
46 //#if defined (TAO_AS_STATIC_LIBS)
47 // only do this for static builds, it causes a circular
48 // dependency for dynamic builds.
50 TAO_Requires_Monitor_Initializer
= TAO_Monitor_Init::Initializer ();
51 //#endif /* TAO_AS_STATIC_LIBS */
54 ACE_STATIC_SVC_DECLARE (TAO_Monitor_Init
)
55 ACE_FACTORY_DECLARE (TAO_Monitor
, TAO_Monitor_Init
)
56 TAO_END_VERSIONED_NAMESPACE_DECL
58 #endif /* TAO_HAS_MONITOR_FRAMEWORK==1 */
60 #include /**/ "ace/post.h"
62 #define TAO_MONITOR_SAFE_INCLUDE
63 #include "tao/Monitor/Monitor_TypesC.h"
64 #include "tao/Monitor/Monitor_TypesA.h"
65 #include "tao/Monitor/MonitorC.h"
66 #undef TAO_MONITOR_SAFE_INCLUDE
68 #endif /* TAO_MONITOR_H */