Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / tao / PI_Server / PI_Server_Loader.h
blob367a84faa81d58d9c5265a9ad8e1c5c340103884
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 (void);
32 /// Destructor.
33 virtual ~TAO_PI_Server_Loader (void);
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_;
44 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_PI_Server, TAO_PI_Server_Loader)
45 ACE_FACTORY_DECLARE (TAO_PI_Server, TAO_PI_Server_Loader)
47 TAO_END_VERSIONED_NAMESPACE_DECL
49 #include /**/ "ace/post.h"
50 #endif /* TAO_PI_SERVER_LOADER_H */