00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file ThreadStrategyORBControl.h 00006 * 00007 * $Id: ThreadStrategyORBControl.h 71473 2006-03-10 07:19:20Z jtc $ 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_THREADSTRATEGYORBCONTROL_H 00014 #define TAO_THREADSTRATEGYORBCONTROL_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include "tao/PortableServer/portableserver_export.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 #include "tao/PortableServer/ThreadStrategy.h" 00025 #include "tao/orbconf.h" 00026 #include "ace/Service_Config.h" 00027 00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00029 00030 namespace TAO 00031 { 00032 namespace Portable_Server 00033 { 00034 class ThreadStrategyORBControl 00035 : public ThreadStrategy 00036 { 00037 public: 00038 virtual int enter (); 00039 00040 virtual int exit (); 00041 00042 virtual ::PortableServer::ThreadPolicyValue type() const; 00043 }; 00044 } 00045 } 00046 00047 TAO_END_VERSIONED_NAMESPACE_DECL 00048 00049 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_PortableServer, ThreadStrategyORBControl) 00050 ACE_FACTORY_DECLARE (TAO_PortableServer, ThreadStrategyORBControl) 00051 00052 #include /**/ "ace/post.h" 00053 00054 #endif /* TAO_THREADSTRATEGYORBCONTROL_H */