00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file CSD_ThreadPool.h 00006 * 00007 * $Id: CSD_ThreadPool.h 79212 2007-08-06 05:13:12Z johnnyw $ 00008 * 00009 * @author Tim Bradley <bradley_t@ociweb.com> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_CSD_THREADPOOL_H 00014 #define TAO_CSD_THREADPOOL_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include "tao/CSD_ThreadPool/CSD_TP_Export.h" 00019 #include "tao/Versioned_Namespace.h" 00020 #include "ace/Service_Object.h" 00021 #include "ace/Service_Config.h" 00022 00023 00024 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00025 # pragma once 00026 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00027 00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00029 00030 /** 00031 * @class TP_Strategy_Factory 00032 * 00033 * @brief An ACE_Service_Object capable of creating TP_Strategy objects. 00034 * 00035 * TBD - Explain in more detail. 00036 * 00037 */ 00038 class TAO_CSD_TP_Export TAO_CSD_ThreadPool 00039 { 00040 public: 00041 /// Used to force the initialization of the ORB code. 00042 static int init (void); 00043 }; 00044 00045 static int 00046 TAO_Requires_CSD_Threadpool = 00047 TAO_CSD_ThreadPool::init (); 00048 00049 TAO_END_VERSIONED_NAMESPACE_DECL 00050 00051 #include /**/ "ace/post.h" 00052 00053 #endif /* TAO_CSD_THREADPOOL_H */