Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / CSD_Framework / CSD_Framework_Loader.h
blob9109d576ac9c7fb3a6c39b99febb60db5364a4fb
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
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)
20 # 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
29 /**
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
35 * ORB.
37 class TAO_CSD_FW_Export TAO_CSD_Framework_Loader : public ACE_Service_Object
39 public:
40 /// Constructor.
41 TAO_CSD_Framework_Loader ();
43 /// Destructor.
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* []);
52 private:
53 /// Set to true after init is called.
54 bool initialized_;
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 */