3 //=============================================================================
5 * @file Default_Collocation_Resolver.h
7 * @author Irfan Pyarali
9 // ===================================================================
11 #ifndef TAO_DEFAULT_COLLOCATION_RESOLVER_H
12 #define TAO_DEFAULT_COLLOCATION_RESOLVER_H
14 #include /**/ "ace/pre.h"
15 #include "ace/Service_Config.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/Collocation_Resolver.h"
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 * @class TAO_Default_Collocation_Resolver
28 * @brief Simple resolver used to decide if a CORBA::Object is
34 class TAO_Export TAO_Default_Collocation_Resolver
:
35 public TAO_Collocation_Resolver
38 /// Is @a object collocated?
39 virtual CORBA::Boolean
is_collocated (CORBA::Object_ptr object
) const;
42 ACE_STATIC_SVC_DECLARE_EXPORT (TAO
, TAO_Default_Collocation_Resolver
)
43 ACE_FACTORY_DECLARE (TAO
, TAO_Default_Collocation_Resolver
)
45 TAO_END_VERSIONED_NAMESPACE_DECL
47 #include /**/ "ace/post.h"
49 #endif /* TAO_DEFAULT_COLLOCATION_RESOLVER_H */