Updated logging to include the class/method so that it is more obvious where these...
[ACE_TAO.git] / TAO / tao / PortableServer / ThreadStrategySingleFactoryImpl.h
blobbd3f0fc4f95618cb41cebf424dcba68fadacb4ce
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file ThreadStrategySingleFactoryImpl.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 //=============================================================================
11 #ifndef TAO_PORTABLESERVER_THREADPOLICYSINGLESTRATEGYFACTORYIMPL_H
12 #define TAO_PORTABLESERVER_THREADPOLICYSINGLESTRATEGYFACTORYIMPL_H
13 #include /**/ "ace/pre.h"
15 #include "tao/PortableServer/portableserver_export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "ace/Service_Config.h"
22 #include "tao/PortableServer/ThreadStrategyFactory.h"
24 #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 namespace TAO
30 namespace Portable_Server
32 class ThreadStrategySingleFactoryImpl
33 : public ThreadStrategyFactory
35 public:
36 /// Create a new thread strategy
37 virtual ThreadStrategy* create (::PortableServer::ThreadPolicyValue value);
39 virtual void destroy (ThreadStrategy *strategy);
44 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_PortableServer, ThreadStrategySingleFactoryImpl)
45 ACE_FACTORY_DECLARE (TAO_PortableServer, ThreadStrategySingleFactoryImpl)
47 TAO_END_VERSIONED_NAMESPACE_DECL
49 #endif /* TAO_HAS_MINIMUM_POA == 0 */
51 #include /**/ "ace/post.h"
52 #endif /* TAO_PORTABLESERVER_THREADPOLICYSINGLESTRATEGYFACTORYIMPL_H*/