3 //=============================================================================
5 * @file Collocation_Resolver.h
7 * @author Irfan Pyarali
9 // ===================================================================
11 #ifndef TAO_COLLOCATION_RESOLVER_H
12 #define TAO_COLLOCATION_RESOLVER_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "tao/TAO_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Basic_Types.h"
24 #include "ace/Service_Object.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 typedef Object
*Object_ptr
;
35 * @class TAO_Collocation_Resolver
37 * @brief This class helps in resolving if a CORBA:Object is collocated.
42 class TAO_Export TAO_Collocation_Resolver
43 : public ACE_Service_Object
47 virtual ~TAO_Collocation_Resolver ();
49 /// Is @a object collocated?
50 virtual CORBA::Boolean
is_collocated (CORBA::Object_ptr object
) const = 0;
53 TAO_END_VERSIONED_NAMESPACE_DECL
55 #include /**/ "ace/post.h"
57 #endif /* TAO_COLLOCATION_RESOLVER_H */