Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / CSD_ThreadPool / CSD_TP_Strategy_Factory.h
blob10a1144cb7622295841f8039393d254aab11db7e
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file CSD_TP_Strategy_Factory.h
7 * @author Tim Bradley <bradley_t@ociweb.com>
8 */
9 //=============================================================================
11 #ifndef TAO_CSD_TP_STRATEGY_FACTORY_H
12 #define TAO_CSD_TP_STRATEGY_FACTORY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/CSD_ThreadPool/CSD_TP_Export.h"
17 #include "tao/Versioned_Namespace.h"
18 #include "ace/Service_Object.h"
19 #include "ace/Service_Config.h"
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 # pragma once
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 namespace TAO
30 namespace CSD
32 /**
33 * @class TP_Strategy_Factory
35 * @brief An ACE_Service_Object capable of creating TP_Strategy objects.
37 * TBD - Explain in more detail.
40 class TAO_CSD_TP_Export TP_Strategy_Factory : public ACE_Service_Object
42 public:
43 /// Constructor.
44 TP_Strategy_Factory();
46 /// Virtual Destructor.
47 virtual ~TP_Strategy_Factory();
49 int init (int argc, ACE_TCHAR* argv[]);
54 TAO_END_VERSIONED_NAMESPACE_DECL
56 ACE_STATIC_SVC_DECLARE_EXPORT(TAO_CSD_TP, TAO_CSD_TP_Strategy_Factory)
57 ACE_FACTORY_DECLARE(TAO_CSD_TP, TAO_CSD_TP_Strategy_Factory)
59 #include /**/ "ace/post.h"
61 #endif /* TAO_CSD_TP_STRATEGY_FACTORY_H */