3 //=============================================================================
5 * @file PI_Server_Loader.h
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)
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
30 TAO_PI_Server_Loader (void);
33 virtual ~TAO_PI_Server_Loader (void);
35 /// Initialize the PI_Server loader hooks.
36 virtual int init (int argc
, ACE_TCHAR
* []);
39 /// Set to true after init is called.
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 */