Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / PortableServer / Collocated_Object_Proxy_Broker.h
blobfcd7e2f0db87ca9fd03751a31649022d66ed4344
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Collocated_Object_Proxy_Broker.h
7 * This files contains the Collocated Proxy Broker implementation
8 * for the CORBA Object.
10 * @author Angelo Corsaro <corsaro@cs.wustl.edu>
11 * @author Balachandran Natarajan (modified the implementation)
13 //=============================================================================
15 #ifndef TAO_COLLOCATED_OBJECT_PROXY_BROKER_H
16 #define TAO_COLLOCATED_OBJECT_PROXY_BROKER_H
17 #include /**/ "ace/pre.h"
19 #include "tao/PortableServer/portableserver_export.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 # pragma once
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 #include "tao/Object_Proxy_Broker.h"
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 namespace TAO
31 /**
32 * @class Collocated_Object_Proxy_Broker
34 * @brief Collocated_Object_Proxy_Broker
36 * A broker for standard CORBA::Object calls that needs to be made
37 * on remote objects.
39 class TAO_PortableServer_Export Collocated_Object_Proxy_Broker
40 : public Object_Proxy_Broker
42 public:
43 /// Please see the documentation in Object_Proxy_Broker.h for
44 /// details.
45 virtual CORBA::Boolean _is_a (CORBA::Object_ptr target,
46 const char *logical_type_id);
48 #if (TAO_HAS_MINIMUM_CORBA == 0)
50 virtual CORBA::Boolean _non_existent (CORBA::Object_ptr target);
52 #if !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
53 virtual CORBA::InterfaceDef * _get_interface (CORBA::Object_ptr target);
55 virtual CORBA::Object_ptr _get_component (CORBA::Object_ptr target);
56 #endif
58 virtual char * _repository_id (CORBA::Object_ptr target);
60 #endif /* TAO_HAS_MINIMUM_CORBA == 0 */
65 // -----------------------------------------------------
67 /// This function is used to access the unique instance of strategized
68 /// proxy broker. All the CORBA::Object share the proxy broker.
69 TAO::Collocated_Object_Proxy_Broker *the_tao_collocated_object_proxy_broker ();
71 TAO_END_VERSIONED_NAMESPACE_DECL
73 #include /**/ "ace/post.h"
75 #endif /* TAO_COLLOCATED_OBJECT_PROXY_BROKER_H*/