00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file RT_Collocation_Resolver.h 00006 * 00007 * RT_Collocation_Resolver.h,v 1.12 2005/11/04 09:26:56 ossama Exp 00008 * 00009 * @author Irfan Pyarali 00010 */ 00011 // =================================================================== 00012 00013 #ifndef TAO_RT_COLLOCATION_RESOLVER_H 00014 #define TAO_RT_COLLOCATION_RESOLVER_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include "tao/orbconf.h" 00019 00020 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0 00021 00022 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00023 # pragma once 00024 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00025 00026 #include "tao/RTPortableServer/rtportableserver_export.h" 00027 #include "tao/Collocation_Resolver.h" 00028 #include "ace/Service_Config.h" 00029 00030 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00031 00032 /** 00033 * @class TAO_RT_Collocation_Resolver 00034 * 00035 * @brief This class helps decide on collocation among the maze of 00036 * thread pools and lanes. 00037 * 00038 * \nosubgrouping 00039 * 00040 **/ 00041 class TAO_RTPortableServer_Export TAO_RT_Collocation_Resolver : 00042 public TAO_Collocation_Resolver 00043 { 00044 public: 00045 00046 /// Is @a object collocated? 00047 virtual CORBA::Boolean is_collocated (CORBA::Object_ptr object 00048 ACE_ENV_ARG_DECL) const; 00049 }; 00050 00051 TAO_END_VERSIONED_NAMESPACE_DECL 00052 00053 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_RTPortableServer, TAO_RT_Collocation_Resolver) 00054 ACE_FACTORY_DECLARE (TAO_RTPortableServer, TAO_RT_Collocation_Resolver) 00055 00056 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */ 00057 00058 #include /**/ "ace/post.h" 00059 00060 #endif /* TAO_RT_COLLOCATION_RESOLVER_H */