00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file RT_Collocation_Resolver.h 00006 * 00007 * $Id: RT_Collocation_Resolver.h 84281 2009-01-30 15:01:17Z wotte $ 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 /// Is @a object collocated? 00046 virtual CORBA::Boolean is_collocated (CORBA::Object_ptr object) const; 00047 }; 00048 00049 00050 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_RTPortableServer, TAO_RT_Collocation_Resolver) 00051 ACE_FACTORY_DECLARE (TAO_RTPortableServer, TAO_RT_Collocation_Resolver) 00052 00053 TAO_END_VERSIONED_NAMESPACE_DECL 00054 00055 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */ 00056 00057 #include /**/ "ace/post.h" 00058 00059 #endif /* TAO_RT_COLLOCATION_RESOLVER_H */