summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/ImR_LocatorC.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/ImR_LocatorC.h')
-rw-r--r--TAO/tao/PortableServer/ImR_LocatorC.h302
1 files changed, 165 insertions, 137 deletions
diff --git a/TAO/tao/PortableServer/ImR_LocatorC.h b/TAO/tao/PortableServer/ImR_LocatorC.h
index a17bc745e00..5011d42e096 100644
--- a/TAO/tao/PortableServer/ImR_LocatorC.h
+++ b/TAO/tao/PortableServer/ImR_LocatorC.h
@@ -19,12 +19,11 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
-
// TAO_IDL - Generated from
-// be/be_codegen.cpp:151
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:151
-#ifndef _TAO_IDL_IMR_LOCATORC_H_
-#define _TAO_IDL_IMR_LOCATORC_H_
+#ifndef _TAO_IDL_ORIG_IMR_LOCATORC_H_
+#define _TAO_IDL_ORIG_IMR_LOCATORC_H_
#include "ace/pre.h"
#include "tao/corbafwd.h"
@@ -60,51 +59,49 @@
#endif /* __BORLANDC__ */
// TAO_IDL - Generated from
-// be/be_visitor_module/module_ch.cpp:45
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48
TAO_NAMESPACE ImplementationRepository
{
-
+
// TAO_IDL - Generated from
- // be/be_visitor_interface/interface_ch.cpp:54
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52
#if !defined (_IMPLEMENTATIONREPOSITORY_LOCATOR___PTR_CH_)
#define _IMPLEMENTATIONREPOSITORY_LOCATOR___PTR_CH_
-
+
class Locator;
typedef Locator *Locator_ptr;
#endif /* end #if !defined */
-
#if !defined (_IMPLEMENTATIONREPOSITORY_LOCATOR___VAR_CH_)
#define _IMPLEMENTATIONREPOSITORY_LOCATOR___VAR_CH_
-
-
+
// TAO_IDL - Generated from
- // be/be_interface.cpp:569
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:571
+
class TAO_PortableServer_Export Locator_var : public TAO_Base_var
{
public:
Locator_var (void); // default constructor
- Locator_var (Locator_ptr p) : ptr_ (p) {}
+ Locator_var (Locator_ptr p) : ptr_ (p) {}
Locator_var (const Locator_var &); // copy constructor
~Locator_var (void); // destructor
-
+
Locator_var &operator= (Locator_ptr);
Locator_var &operator= (const Locator_var &);
Locator_ptr operator-> (void) const;
-
+
operator const Locator_ptr &() const;
operator Locator_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
Locator_ptr in (void) const;
Locator_ptr &inout (void);
Locator_ptr &out (void);
Locator_ptr _retn (void);
Locator_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static Locator_ptr tao_duplicate (Locator_ptr);
@@ -115,7 +112,7 @@ TAO_NAMESPACE ImplementationRepository
ACE_ENV_ARG_DECL_NOT_USED
);
static CORBA::Object * tao_upcast (void *);
-
+
private:
Locator_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -123,17 +120,14 @@ TAO_NAMESPACE ImplementationRepository
Locator_var &operator= (const TAO_Base_var &rhs);
};
-
#endif /* end #if !defined */
-
#if !defined (_IMPLEMENTATIONREPOSITORY_LOCATOR___OUT_CH_)
#define _IMPLEMENTATIONREPOSITORY_LOCATOR___OUT_CH_
-
-
+
// TAO_IDL - Generated from
- // be/be_interface.cpp:929
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:946
+
class TAO_PortableServer_Export Locator_out
{
public:
@@ -146,27 +140,24 @@ TAO_NAMESPACE ImplementationRepository
operator Locator_ptr &();
Locator_ptr &ptr (void);
Locator_ptr operator-> (void);
-
+
private:
Locator_ptr &ptr_;
};
-
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
- // be/be_visitor_interface/interface_ch.cpp:113
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110
#if !defined (_IMPLEMENTATIONREPOSITORY_LOCATOR_CH_)
#define _IMPLEMENTATIONREPOSITORY_LOCATOR_CH_
-
- // Forward Classes Declaration.
+
class _TAO_Locator_Proxy_Impl;
class _TAO_Locator_Remote_Proxy_Impl;
class _TAO_Locator_Proxy_Broker;
class _TAO_Locator_Remote_Proxy_Broker;
-
+
class TAO_PortableServer_Export Locator
: public virtual ImplementationRepository::Administration
{
@@ -174,30 +165,30 @@ TAO_NAMESPACE ImplementationRepository
typedef Locator_ptr _ptr_type;
typedef Locator_var _var_type;
static int _tao_class_id;
-
+
// The static operations.
static Locator_ptr _duplicate (Locator_ptr obj);
-
+
static Locator_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static Locator_ptr _unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static Locator_ptr _nil (void)
{
return (Locator_ptr)0;
}
-
- static void _tao_any_destructor (void*);
-
+
+ static void _tao_any_destructor (void *);
+
// TAO_IDL - Generated from
- // be/be_visitor_operation/operation_ch.cpp:46
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual void activate_server_in_location (
const char * server,
const char * location
@@ -208,10 +199,10 @@ TAO_NAMESPACE ImplementationRepository
, ImplementationRepository::NotFound
, ImplementationRepository::CannotActivate
));
-
+
// TAO_IDL - Generated from
- // be/be_visitor_operation/operation_ch.cpp:46
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual void remove_server_in_location (
const char * server,
const char * location
@@ -221,10 +212,10 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::NotFound
));
-
+
// TAO_IDL - Generated from
- // be/be_visitor_operation/operation_ch.cpp:46
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual void shutdown_server_in_location (
const char * server,
const char * location
@@ -234,10 +225,10 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::NotFound
));
-
+
// TAO_IDL - Generated from
- // be/be_visitor_operation/operation_ch.cpp:46
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual void server_is_shutting_down_in_location (
const char * server,
const char * location
@@ -247,10 +238,10 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::NotFound
));
-
+
// TAO_IDL - Generated from
- // be/be_visitor_operation/operation_ch.cpp:46
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual CORBA::ULong register_activator (
const char * location,
CORBA::Object_ptr object_ref
@@ -260,10 +251,10 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::AlreadyRegistered
));
-
+
// TAO_IDL - Generated from
- // be/be_visitor_operation/operation_ch.cpp:46
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual CORBA::ULong unregister_activator (
const char * location,
CORBA::Object_ptr object_ref
@@ -273,61 +264,66 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::NotFound
));
-
+
// TAO_IDL - Generated from
- // be/be_visitor_interface/interface_ch.cpp:269
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267
+
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
+ virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
private:
_TAO_Locator_Proxy_Broker *the_TAO_Locator_Proxy_Broker_;
-
+
protected:
Locator (int collocated = 0);
-
+
// These methods travese the inheritance tree and set the
- // parents piece of the given class in the right mode
+ // parents piece of the given class in the right mode.
virtual void ImplementationRepository_Locator_setup_collocation (int collocated);
-
+
Locator (
- TAO_Stub *objref,
+ TAO_Stub *objref,
CORBA::Boolean _tao_collocated = 0,
TAO_Abstract_ServantBase *servant = 0
);
virtual ~Locator (void);
-
+
friend class _TAO_Locator_Remote_Proxy_Impl;
friend class _TAO_Locator_ThruPOA_Proxy_Impl;
friend class _TAO_Locator_Direct_Proxy_Impl;
-
+
private:
Locator (const Locator &);
void operator= (const Locator &);
};
-
+
// The Proxy Implementations are used by each interface to
// perform a call. Each different implementation encapsulates
// an invocation logic.
-
-
+
+
///////////////////////////////////////////////////////////////////////
// Base Proxy Impl. Declaration
//
-
+
// TAO_IDL - Generated from
- // be/be_visitor_interface/base_proxy_impl_ch.cpp:35
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/base_proxy_impl_ch.cpp:35
+
class TAO_PortableServer_Export _TAO_Locator_Proxy_Impl
: public virtual ImplementationRepository::_TAO_Administration_Proxy_Impl
{
public:
- virtual ~_TAO_Locator_Proxy_Impl (void) { }
+ virtual ~_TAO_Locator_Proxy_Impl (void) {}
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
+
virtual void activate_server_in_location (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -339,7 +335,10 @@ TAO_NAMESPACE ImplementationRepository
, ImplementationRepository::NotFound
, ImplementationRepository::CannotActivate
)) = 0;
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
+
virtual void remove_server_in_location (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -350,7 +349,10 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::NotFound
)) = 0;
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
+
virtual void shutdown_server_in_location (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -361,7 +363,10 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::NotFound
)) = 0;
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
+
virtual void server_is_shutting_down_in_location (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -372,7 +377,10 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::NotFound
)) = 0;
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
+
virtual CORBA::ULong register_activator (
CORBA_Object *_collocated_tao_target_,
const char * location,
@@ -383,7 +391,10 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::AlreadyRegistered
)) = 0;
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
+
virtual CORBA::ULong unregister_activator (
CORBA_Object *_collocated_tao_target_,
const char * location,
@@ -394,24 +405,23 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::NotFound
)) = 0;
-
-
+
protected:
_TAO_Locator_Proxy_Impl (void);
};
-
+
//
// End Base Proxy Impl. Declaration
///////////////////////////////////////////////////////////////////////
-
-
+
+
///////////////////////////////////////////////////////////////////////
// Remote Proxy Impl. Declaration
//
-
+
// TAO_IDL - Generated from
- // be/be_visitor_interface/remote_proxy_impl_ch.cpp:37
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/remote_proxy_impl_ch.cpp:37
+
class TAO_PortableServer_Export _TAO_Locator_Remote_Proxy_Impl
: public virtual _TAO_Locator_Proxy_Impl,
public virtual TAO_Remote_Object_Proxy_Impl,
@@ -419,8 +429,12 @@ TAO_NAMESPACE ImplementationRepository
{
public:
_TAO_Locator_Remote_Proxy_Impl (void);
-
- virtual ~_TAO_Locator_Remote_Proxy_Impl (void) { }
+
+ virtual ~_TAO_Locator_Remote_Proxy_Impl (void) {}
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
+
virtual void activate_server_in_location (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -432,7 +446,10 @@ TAO_NAMESPACE ImplementationRepository
, ImplementationRepository::NotFound
, ImplementationRepository::CannotActivate
));
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
+
virtual void remove_server_in_location (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -443,7 +460,10 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::NotFound
));
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
+
virtual void shutdown_server_in_location (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -454,7 +474,10 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::NotFound
));
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
+
virtual void server_is_shutting_down_in_location (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -465,7 +488,10 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::NotFound
));
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
+
virtual CORBA::ULong register_activator (
CORBA_Object *_collocated_tao_target_,
const char * location,
@@ -476,7 +502,10 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::AlreadyRegistered
));
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
+
virtual CORBA::ULong unregister_activator (
CORBA_Object *_collocated_tao_target_,
const char * location,
@@ -487,27 +516,24 @@ TAO_NAMESPACE ImplementationRepository
CORBA::SystemException
, ImplementationRepository::NotFound
));
-
-
};
-
+
//
// End Remote Proxy Impl. Declaration
///////////////////////////////////////////////////////////////////////
-
+
// The Proxy Brokers are used by each interface to get
- // the right proxy for performing a call. In the new
+ // the right proxy for performing a call. In the new
// collocation scheme, the proxy to be used can vary on
// a call by call basis.
-
-
+
///////////////////////////////////////////////////////////////////////
- // Base Proxy Broker Declaration
+ // Base Proxy Broker Declaration
//
-
+
// TAO_IDL - Generated from
- // be/be_visitor_interface/base_proxy_broker_ch.cpp:35
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/base_proxy_broker_ch.cpp:35
+
class TAO_PortableServer_Export _TAO_Locator_Proxy_Broker
{
public:
@@ -516,62 +542,60 @@ TAO_NAMESPACE ImplementationRepository
Locator *object
ACE_ENV_ARG_DECL_WITH_DEFAULTS
) = 0;
-
+
protected:
_TAO_Locator_Proxy_Broker (void);
-
+
};
-
+
//
- // End Base Proxy Broker Declaration
+ // End Base Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
-
-
+
+
///////////////////////////////////////////////////////////////////////
- // Remote Proxy Broker Declaration
+ // Remote Proxy Broker Declaration
//
-
+
// TAO_IDL - Generated from
- // be/be_visitor_interface/remote_proxy_broker_ch.cpp:40
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/remote_proxy_broker_ch.cpp:40
+
class TAO_PortableServer_Export _TAO_Locator_Remote_Proxy_Broker
: public virtual _TAO_Locator_Proxy_Broker
{
- public:
+ public:
_TAO_Locator_Remote_Proxy_Broker (void);
-
+
virtual ~_TAO_Locator_Remote_Proxy_Broker (void);
-
+
virtual _TAO_Locator_Proxy_Impl &select_proxy (
Locator *object
ACE_ENV_ARG_DECL
);
-
+
private:
_TAO_Locator_Remote_Proxy_Impl remote_proxy_impl_;
-
+
public:
// This member function is used to get an handle to the unique instance
// of the Remote Proxy Broker that is available for a given
// interface.
static _TAO_Locator_Remote_Proxy_Broker *the_TAO_Locator_Remote_Proxy_Broker (void);
};
-
+
//
- // End Remote Proxy Broker Declaration
+ // End Remote Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
-
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
- // be/be_visitor_typecode/typecode_decl.cpp:44
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Locator;
-
// TAO_IDL - Generated from
-// be/be_visitor_module/module_ch.cpp:66
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:67
}
TAO_NAMESPACE_CLOSE // module ImplementationRepository
@@ -579,7 +603,7 @@ TAO_NAMESPACE_CLOSE // module ImplementationRepository
// Proxy Broker Factory function pointer declarations.
// TAO_IDL - Generated from
-// be/be_visitor_root/root.cpp:79
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root.cpp:80
extern TAO_PortableServer_Export
ImplementationRepository::_TAO_Locator_Proxy_Broker *
@@ -587,28 +611,31 @@ ImplementationRepository::_TAO_Locator_Proxy_Broker *
CORBA::Object_ptr obj
);
-
// TAO_IDL - Generated from
-// be/be_visitor_interface/any_op_ch.cpp:52
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52
-// Any operators for interface ImplementationRepository::Locator
TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::Locator_ptr); // copying
TAO_PortableServer_Export void operator<<= (CORBA::Any &, ImplementationRepository::Locator_ptr *); // non-copying
TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, ImplementationRepository::Locator_ptr &);
-#ifndef __ACE_INLINE__
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:48
+#ifndef __ACE_INLINE__
// TAO_IDL - Generated from
-// be/be_visitor_interface/cdr_op_ch.cpp:55
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_ch.cpp:55
TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::Locator_ptr );
TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::Locator_ptr &);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:64
+
#endif /* __ACE_INLINE__ */
// TAO_IDL - Generated from
-// be/be_codegen.cpp:1002
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:1009
#if defined (__ACE_INLINE__)
#include "ImR_LocatorC.i"
@@ -624,3 +651,4 @@ TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, Implementat
#include "ace/post.h"
#endif /* ifndef */
+