00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef TAO_PORTABLESERVER_THREADPOLICYSTRATEGYFACTORY_H
00014 #define TAO_PORTABLESERVER_THREADPOLICYSTRATEGYFACTORY_H
00015
00016 #include "ace/pre.h"
00017
00018 #include "tao/PortableServer/StrategyFactory.h"
00019
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif
00023
00024 #include "tao/PortableServer/ThreadPolicyC.h"
00025
00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00027
00028 namespace TAO
00029 {
00030 namespace Portable_Server
00031 {
00032 class ThreadStrategy;
00033
00034 class ThreadStrategyFactory
00035 : public StrategyFactory
00036 {
00037 public:
00038
00039 virtual ThreadStrategy *create (
00040 ::PortableServer::ThreadPolicyValue value) = 0;
00041
00042
00043 virtual void destroy (
00044 ThreadStrategy *strategy
00045 ) = 0;
00046 };
00047 }
00048 }
00049
00050 TAO_END_VERSIONED_NAMESPACE_DECL
00051
00052 #include "ace/post.h"
00053
00054 #endif