Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PI_Server / PI_Server_Loader.h
blobd466c9a2564bbc2a3c5250e103fd94ee6a282ffc
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file PI_Server_Loader.h
6 */
7 //=============================================================================
9 #ifndef TAO_PI_SERVER_LOADER_H
10 #define TAO_PI_SERVER_LOADER_H
11 #include /**/ "ace/pre.h"
13 #include "tao/PI_Server/pi_server_export.h"
15 #if !defined (ACE_LACKS_PRAGMA_ONCE)
16 # pragma once
17 #endif /* ACE_LACKS_PRAGMA_ONCE */
19 #include "tao/PI/PI.h"
20 #include "tao/Versioned_Namespace.h"
21 #include "ace/Service_Object.h"
22 #include "ace/Service_Config.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 class TAO_PI_Server_Export TAO_PI_Server_Loader : public ACE_Service_Object
28 public:
29 /// Constructor.
30 TAO_PI_Server_Loader ();
32 /// Destructor.
33 virtual ~TAO_PI_Server_Loader ();
35 /// Initialize the PI_Server loader hooks.
36 virtual int init (int argc, ACE_TCHAR* []);
38 private:
39 /// Set to true after init is called.
40 bool initialized_;
43 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_PI_Server, TAO_PI_Server_Loader)
44 ACE_FACTORY_DECLARE (TAO_PI_Server, TAO_PI_Server_Loader)
46 TAO_END_VERSIONED_NAMESPACE_DECL
48 #include /**/ "ace/post.h"
49 #endif /* TAO_PI_SERVER_LOADER_H */