3 //=============================================================================
5 * @file CSD_Framework_Loader.h
7 * Header file for loading CSD framework service objects.
9 * @author Yan Dai (dai_y@ociweb.com)
11 //=============================================================================
13 #ifndef TAO_CSD_FRAMEWORK_LOADER_H
14 #define TAO_CSD_FRAMEWORK_LOADER_H
15 #include /**/ "ace/pre.h"
17 #include "tao/CSD_Framework/CSD_FW_Export.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/Versioned_Namespace.h"
24 #include "ace/Service_Object.h"
25 #include "ace/Service_Config.h"
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
30 * @class TAO_CSD_Framework_Loader
32 * @brief TAO_CSD_Framework_Loader.
34 * This class acts as a facade for the CSD_Framework library to the
37 class TAO_CSD_FW_Export TAO_CSD_Framework_Loader
: public ACE_Service_Object
41 TAO_CSD_Framework_Loader ();
44 virtual ~TAO_CSD_Framework_Loader ();
46 /// Used to force the initialization of the ORB code.
47 static int static_init ();
49 /// Initialize the PI_Server loader hooks.
50 virtual int init (int argc
, ACE_TCHAR
* []);
53 /// Set to true after init is called.
58 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_CSD_FW
, TAO_CSD_Framework_Loader
)
59 ACE_FACTORY_DECLARE (TAO_CSD_FW
, TAO_CSD_Framework_Loader
)
61 TAO_END_VERSIONED_NAMESPACE_DECL
63 #include /**/ "ace/post.h"
64 #endif /* TAO_CSD_FRAMEWORK_LOADER_H */