Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / RTCORBA / RT_ORB_Loader.h
blob712f777ea1752757d6d5c07e44503fa372f7b9bf
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file RT_ORB_Loader.h
7 * Header file for Loading RT_ORB.
9 * @author Priyanka Gontla <gontla_p@ociweb.com>
11 //=============================================================================
13 #ifndef TAO_RT_ORB_LOADER_H
14 #define TAO_RT_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/RTCORBA/rtcorba_export.h"
22 #include "ace/Service_Object.h"
23 #include "ace/Service_Config.h"
25 #if !defined (ACE_LACKS_PRAGMA_ONCE)
26 # pragma once
27 #endif /* ACE_LACKS_PRAGMA_ONCE */
29 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 class TAO_ORB_Core;
33 class TAO_RTCORBA_Export TAO_RT_ORB_Loader : public ACE_Service_Object
35 public:
36 /// Constructor.
37 TAO_RT_ORB_Loader ();
39 /// Destructor.
40 virtual ~TAO_RT_ORB_Loader ();
42 /// Initialize the RT ORB loader hooks.
43 virtual int init (int argc, ACE_TCHAR* []);
45 private:
46 /// Set to true after init is called.
47 bool initialized_;
51 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_RTCORBA, TAO_RT_ORB_Loader)
52 ACE_FACTORY_DECLARE (TAO_RTCORBA, TAO_RT_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_RT_ORB_LOADER_H */