3 //=============================================================================
5 * @file RT_Collocation_Resolver.h
7 * @author Irfan Pyarali
9 // ===================================================================
11 #ifndef TAO_RT_COLLOCATION_RESOLVER_H
12 #define TAO_RT_COLLOCATION_RESOLVER_H
14 #include /**/ "ace/pre.h"
16 #include "tao/orbconf.h"
18 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "tao/RTPortableServer/rtportableserver_export.h"
25 #include "tao/Collocation_Resolver.h"
26 #include "ace/Service_Config.h"
28 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 * @class TAO_RT_Collocation_Resolver
33 * @brief This class helps decide on collocation among the maze of
34 * thread pools and lanes.
39 class TAO_RTPortableServer_Export TAO_RT_Collocation_Resolver
:
40 public TAO_Collocation_Resolver
43 /// Is @a object collocated?
44 CORBA::Boolean
is_collocated (CORBA::Object_ptr object
) const override
;
48 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_RTPortableServer
, TAO_RT_Collocation_Resolver
)
49 ACE_FACTORY_DECLARE (TAO_RTPortableServer
, TAO_RT_Collocation_Resolver
)
51 TAO_END_VERSIONED_NAMESPACE_DECL
53 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */
55 #include /**/ "ace/post.h"
57 #endif /* TAO_RT_COLLOCATION_RESOLVER_H */