Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Default_Collocation_Resolver.h
blobf4eee5ee4d8797789530c2e9b1bdc420297bdc2d
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Default_Collocation_Resolver.h
7 * @author Irfan Pyarali
8 */
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)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/Collocation_Resolver.h"
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
25 /**
26 * @class TAO_Default_Collocation_Resolver
28 * @brief Simple resolver used to decide if a CORBA::Object is
29 * collocated.
31 * \nosubgrouping
33 **/
34 class TAO_Export TAO_Default_Collocation_Resolver :
35 public TAO_Collocation_Resolver
37 public:
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 */