Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / tao / Messaging / Messaging_Loader.h
blob8229dd7a1c82ef21b1f3943805ca986e6d280b94
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Messaging_Loader.h
6 */
7 //=============================================================================
9 #ifndef TAO_MESSAGING_LOADER_H
10 #define TAO_MESSAGING_LOADER_H
12 #include /**/ "ace/pre.h"
14 #include "tao/Messaging/messaging_export.h"
16 #include "ace/Service_Object.h"
17 #include "ace/Service_Config.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/PI/PI.h"
24 #include "tao/Versioned_Namespace.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 class TAO_Messaging_Export TAO_Messaging_Loader : public ACE_Service_Object
30 public:
31 /// Constructor.
32 TAO_Messaging_Loader ();
34 /// Destructor.
35 virtual ~TAO_Messaging_Loader ();
37 /// Initialize the Messaging loader hooks.
38 virtual int init (int argc, ACE_TCHAR* []);
40 private:
41 /// Set to true after init is called.
42 bool initialized_;
46 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_Messaging, TAO_Messaging_Loader)
47 ACE_FACTORY_DECLARE (TAO_Messaging, TAO_Messaging_Loader)
49 TAO_END_VERSIONED_NAMESPACE_DECL
51 #include /**/ "ace/post.h"
52 #endif /* TAO_MESSAGING_LOADER_H */