summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-03-25 22:03:31 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-03-25 22:03:31 +0000
commit91f731079c614b90cc8f28b4dc3ed2ad84f54205 (patch)
tree805a6196cedad848be8fec6f5f0392ee87ea4fb5
parentbe933929d4b1cc2acbb04ebf6fbf70e98907fdd8 (diff)
downloadATCD-91f731079c614b90cc8f28b4dc3ed2ad84f54205.tar.gz
Merging with the main
-rw-r--r--TAO/tao/Adapter.cpp16
-rw-r--r--TAO/tao/Adapter.h10
-rw-r--r--TAO/tao/Buffering_Constraint_Policy.cpp4
-rw-r--r--TAO/tao/ClientRequestInfo_i.cpp14
-rw-r--r--TAO/tao/Client_Strategy_Factory.cpp6
-rw-r--r--TAO/tao/Client_Strategy_Factory.h3
-rw-r--r--TAO/tao/Connector_Registry.cpp158
-rw-r--r--TAO/tao/IIOP_Endpoint.h4
-rw-r--r--TAO/tao/IIOP_Profile.cpp92
-rw-r--r--TAO/tao/IIOP_Profile.h18
-rw-r--r--TAO/tao/IOP.pidl112
-rw-r--r--TAO/tao/IOPC.cpp4413
-rw-r--r--TAO/tao/IOPC.h2385
-rw-r--r--TAO/tao/IOPC.i3487
-rw-r--r--TAO/tao/IORTable/Table_Adapter.cpp10
-rw-r--r--TAO/tao/IORTable/Table_Adapter.h2
-rw-r--r--TAO/tao/Invocation.cpp13
-rw-r--r--TAO/tao/LocalObject.i1
-rw-r--r--TAO/tao/Makefile.tao2
-rw-r--r--TAO/tao/ORB_Core.cpp56
-rw-r--r--TAO/tao/ORB_Core.h15
-rw-r--r--TAO/tao/Object.cpp411
-rw-r--r--TAO/tao/Object.h193
-rw-r--r--TAO/tao/Object.i40
-rw-r--r--TAO/tao/Object_KeyC.h55
-rw-r--r--TAO/tao/PortableServer/Collocated_Object.cpp10
-rw-r--r--TAO/tao/PortableServer/ImR_LocatorS.cpp749
-rw-r--r--TAO/tao/PortableServer/ImplRepoS.cpp1649
-rw-r--r--TAO/tao/PortableServer/Object_Adapter.cpp63
-rw-r--r--TAO/tao/PortableServer/Object_Adapter.h3
-rw-r--r--TAO/tao/PortableServer/PolicyS.cpp347
-rw-r--r--TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp14
-rw-r--r--TAO/tao/Profile.cpp137
-rw-r--r--TAO/tao/Profile.h43
-rw-r--r--TAO/tao/Profile.i40
-rw-r--r--TAO/tao/RTPortableServer/RT_Collocation_Resolver.cpp3
-rw-r--r--TAO/tao/Resource_Factory.cpp7
-rw-r--r--TAO/tao/Resource_Factory.h29
-rw-r--r--TAO/tao/Strategies/DIOP_Endpoint.h7
-rw-r--r--TAO/tao/Strategies/DIOP_Profile.cpp70
-rw-r--r--TAO/tao/Strategies/DIOP_Profile.h14
-rw-r--r--TAO/tao/Strategies/SHMIOP_Connector.cpp9
-rw-r--r--TAO/tao/Strategies/SHMIOP_Endpoint.h4
-rw-r--r--TAO/tao/Strategies/SHMIOP_Profile.cpp71
-rw-r--r--TAO/tao/Strategies/SHMIOP_Profile.h10
-rw-r--r--TAO/tao/Strategies/UIOP_Profile.cpp94
-rw-r--r--TAO/tao/Strategies/UIOP_Profile.h10
-rw-r--r--TAO/tao/Stub.cpp8
-rw-r--r--TAO/tao/TAO.dsp119
-rw-r--r--TAO/tao/Tagged_Components.cpp1
-rw-r--r--TAO/tao/default_client.cpp19
-rw-r--r--TAO/tao/default_client.h4
-rw-r--r--TAO/tao/default_resource.cpp133
-rw-r--r--TAO/tao/default_resource.h34
54 files changed, 2546 insertions, 12675 deletions
diff --git a/TAO/tao/Adapter.cpp b/TAO/tao/Adapter.cpp
index bb7a26db570..460bddd65cb 100644
--- a/TAO/tao/Adapter.cpp
+++ b/TAO/tao/Adapter.cpp
@@ -1,6 +1,5 @@
// $Id$
-
#include "tao/Adapter.h"
#include "tao/Object.h"
#include "tao/Object_KeyC.h"
@@ -174,6 +173,21 @@ TAO_Adapter_Registry::create_collocated_object (TAO_Stub *stub,
return 0;
}
+CORBA::Long
+TAO_Adapter_Registry::initialize_collocated_object (TAO_Stub *stub,
+ CORBA::Object_ptr obj)
+{
+ for (size_t i = 0; i != this->adapters_count_; ++i)
+ {
+ int retval =
+ this->adapters_[i]->initialize_collocated_object (stub,
+ obj);
+ if (retval != 0)
+ return retval;
+ }
+ return 0;
+}
+
TAO_Adapter *
TAO_Adapter_Registry::find_adapter (const char *name) const
{
diff --git a/TAO/tao/Adapter.h b/TAO/tao/Adapter.h
index 6b1bdcc6571..1f362635613 100644
--- a/TAO/tao/Adapter.h
+++ b/TAO/tao/Adapter.h
@@ -10,7 +10,6 @@
*/
//=============================================================================
-
#ifndef TAO_ADAPTER_H
#define TAO_ADAPTER_H
#include "ace/pre.h"
@@ -99,6 +98,10 @@ public:
/// Create a collocated object using the given profile and stub.
virtual CORBA::Object_ptr create_collocated_object (TAO_Stub *,
const TAO_MProfile &) = 0;
+ /// Initialize a collocated object using the given stub and object
+ /// pointer for lazily evaluated object references.
+ virtual CORBA::Long initialize_collocated_object (TAO_Stub *,
+ CORBA::Object_ptr) = 0;
};
// ****************************************************************
@@ -151,6 +154,11 @@ public:
CORBA::Object_ptr create_collocated_object (TAO_Stub *,
const TAO_MProfile &);
+ /// Initialize a collocated object using the given stub and object
+ /// pointer for lazily evaluated object references.
+ CORBA::Long initialize_collocated_object (TAO_Stub *,
+ CORBA::Object_ptr o);
+
/// Fetch the adapter named <name>
TAO_Adapter *find_adapter (const char *name) const;
diff --git a/TAO/tao/Buffering_Constraint_Policy.cpp b/TAO/tao/Buffering_Constraint_Policy.cpp
index 25d3cc8d152..24d0b3812f1 100644
--- a/TAO/tao/Buffering_Constraint_Policy.cpp
+++ b/TAO/tao/Buffering_Constraint_Policy.cpp
@@ -12,7 +12,9 @@ ACE_RCSID(TAO, Buffering_Constraint_Policy, "$Id$")
#endif /* __ACE_INLINE__ */
TAO_Buffering_Constraint_Policy::TAO_Buffering_Constraint_Policy (const TAO::BufferingConstraint &buffering_constraint)
- : buffering_constraint_ (buffering_constraint)
+ : TAO::BufferingConstraintPolicy (),
+ TAO_Local_RefCounted_Object (),
+ buffering_constraint_ (buffering_constraint)
{
}
diff --git a/TAO/tao/ClientRequestInfo_i.cpp b/TAO/tao/ClientRequestInfo_i.cpp
index e1e2e2d6084..339eab82b79 100644
--- a/TAO/tao/ClientRequestInfo_i.cpp
+++ b/TAO/tao/ClientRequestInfo_i.cpp
@@ -129,11 +129,19 @@ TAO_ClientRequestInfo_i::effective_profile (ACE_ENV_SINGLE_ARG_DECL)
IOP::TaggedProfile_var safe_tagged_profile = tagged_profile;
- IOP::TaggedProfile &ep =
+ IOP::TaggedProfile *ep =
this->target_->_stubobj ()->profile_in_use ()->create_tagged_profile ();
- tagged_profile->tag = ep.tag;
- tagged_profile->profile_data = ep.profile_data; // Deep copy
+ if (ep == 0)
+ {
+ ACE_THROW_RETURN (CORBA::BAD_PARAM (CORBA::OMGVMCID | 28,
+ CORBA::COMPLETED_NO),
+ 0);
+ }
+
+ // @@BAD_PARAM exception
+ tagged_profile->tag = ep->tag;
+ tagged_profile->profile_data = ep->profile_data; // Deep copy
return safe_tagged_profile._retn ();
}
diff --git a/TAO/tao/Client_Strategy_Factory.cpp b/TAO/tao/Client_Strategy_Factory.cpp
index ce49a810f50..9aa411b72a8 100644
--- a/TAO/tao/Client_Strategy_Factory.cpp
+++ b/TAO/tao/Client_Strategy_Factory.cpp
@@ -24,6 +24,12 @@ TAO_Client_Strategy_Factory::create_transport_mux_strategy (TAO_Transport *)
return 0;
}
+int
+TAO_Client_Strategy_Factory::reply_dispatcher_table_size (void) const
+{
+ return 0;
+}
+
TAO_Wait_Strategy *
TAO_Client_Strategy_Factory::create_wait_strategy (TAO_Transport *)
{
diff --git a/TAO/tao/Client_Strategy_Factory.h b/TAO/tao/Client_Strategy_Factory.h
index 98d0aac6dac..cf1da78ab6d 100644
--- a/TAO/tao/Client_Strategy_Factory.h
+++ b/TAO/tao/Client_Strategy_Factory.h
@@ -56,6 +56,9 @@ public:
/// Create the correct client request muxing strategy.
virtual TAO_Transport_Mux_Strategy *create_transport_mux_strategy (TAO_Transport *transport);
+ /// Return the size of the reply dispatcher table
+ virtual int reply_dispatcher_table_size (void) const;
+
/// Create the correct client <wait_for_reply> strategy.
virtual TAO_Wait_Strategy *create_wait_strategy (TAO_Transport *transport);
diff --git a/TAO/tao/Connector_Registry.cpp b/TAO/tao/Connector_Registry.cpp
index 4c4d2aaaa50..9a767d2f7fe 100644
--- a/TAO/tao/Connector_Registry.cpp
+++ b/TAO/tao/Connector_Registry.cpp
@@ -280,161 +280,3 @@ TAO_Connector_Registry::object_key_delimiter (const char *ior)
// against the provided string.
return 0;
}
-
-
-#if 0
-
-/*
- * To be removed..
- *
- * These methods are not needed since they have been deprecated. But
- * just having them in the bottom of the file to be removed later.
- *
- */
-int
-TAO_Connector_Registry::preconnect (TAO_ORB_Core *orb_core,
- TAO_EndpointSet &preconnections)
-{
- // Put the preconnects in a form that makes it simple for protocol
- // implementers to parse.
- if (this->preprocess_preconnects (orb_core, preconnections) != 0)
- {
- if (TAO_debug_level > 0)
- ACE_ERROR ((LM_ERROR,
- ACE_LIB_TEXT ("TAO (%P|%t) Unable to preprocess the preconnections.\n")));
-
- return -1;
- }
-
- TAO_EndpointSetIterator preconnects = preconnections.begin ();
-
- for (ACE_CString *i = 0;
- preconnects.next (i) != 0;
- preconnects.advance ())
- {
- TAO_ConnectorSetIterator first_connector = this->begin ();
- TAO_ConnectorSetIterator last_connector = this->end ();
-
- for (TAO_ConnectorSetIterator connector = first_connector;
- connector != last_connector;
- ++connector)
- if (*connector)
- (*connector)->preconnect (i->c_str ());
- }
-
- // No longer need the preconnect set since all associated
- // preconnections have been opened by now. Reclaim the memory used
- // by the preconnect set.
- preconnections.reset ();
-
- return 0; // Success
-}
-
-int
-TAO_Connector_Registry::preprocess_preconnects (TAO_ORB_Core *orb_core,
- TAO_EndpointSet &preconnects)
-{
- // Organize all matching protocol endpoints and addrs into a single
- // endpoint for the given protocol.
- //
- // For example, the following endpoints:
- //
- // uiop://1.1@/tmp/foobar,/tmp/chicken
- // iiop://1.0@localhost
- // uiop:///tmp/soup
- // iiop://1.1@mopbucket
- //
- // will be merged to create the following preconnects:
- //
- // uiop://1.1@/tmp/foobar,/tmp/chicken,/tmp/soup
- // iiop://1.0@localhost,1.1@mopbucket
- //
- // The four elements in the preconnect set will be squeezed into two
- // elements, in this case. This is done to simplify the preconnect
- // parsing code in each protocol specific connector and to make sure
- // that all preconnections are established during the first
- // attempt. Otherwise, secondary attempts to establish
- // preconnections will not be successful since all preconnections
- // will have been idled after during the first attempt, hence the
- // need to pass all preconnects during the first attempt.
-
- const size_t num_protocols =
- orb_core->protocol_factories ()->size ();
-
- ACE_CString *processed = 0;
-
- ACE_NEW_RETURN (processed,
- ACE_CString[num_protocols],
- -1);
-
- // Open one connector for each loaded protocol!
- TAO_ProtocolFactorySetItor begin =
- orb_core->protocol_factories ()->begin ();
- TAO_ProtocolFactorySetItor end =
- orb_core->protocol_factories ()->end ();
-
- ACE_CString *tmp = processed;
-
- // Iterate over the protocols, *not* the connectors!
- for (TAO_ProtocolFactorySetItor factory = begin;
- factory != end;
- ++factory, ++tmp)
- {
- (*tmp) =
- ACE_CString ((*factory)->factory ()->prefix ()) + ACE_CString ("://");
-
- TAO_EndpointSetIterator p = preconnects.begin ();
-
- for (ACE_CString *i = 0;
- p.next (i) != 0;
- p.advance ())
- {
- const int slot = i->find ("://");
-
- ACE_CString protocol_name = i->substring (0, slot);
-
- if (slot != ACE_CString::npos &&
- (slot != ACE_static_cast (int, i->length ()) - 3) &&
- (*factory)->factory ()->match_prefix (protocol_name.c_str ()))
- {
- (*tmp) += i->substring (slot + 3); // +3 due to "://"
- (*tmp) += ACE_CString (',');
- }
- }
-
- // Remove the trailing comma ','.
- if ((*tmp)[tmp->length () - 1] == ',')
- (*tmp) = tmp->substring (0, tmp->length () - 1);
- }
-
- // Empty the preconnect container.
- preconnects.reset ();
-
- // Now enqueue the re-formed preconnect strings.
- for (size_t n = 0; n < num_protocols; ++n)
- {
- // If no preconnects for the given protocol exist then don't
- // enqueue the empty preconnect list for that protocol.
- // Such an empty preconnect string should be of the form
- //
- // protocol://
- //
- // so check for the forward slash '/' at the end of the string.
- if (processed[n][processed[n].length () - 1] != '/')
- {
- if (preconnects.enqueue_tail (processed[n]) != 0)
- {
- delete [] processed;
-
- return -1;
- }
- }
- }
-
- delete [] processed;
-
- return 0;
-}
-
-// End of the portion that needs to be removed.
-#endif /*If 0 */
diff --git a/TAO/tao/IIOP_Endpoint.h b/TAO/tao/IIOP_Endpoint.h
index 7cebcd2cde7..84120ce23f2 100644
--- a/TAO/tao/IIOP_Endpoint.h
+++ b/TAO/tao/IIOP_Endpoint.h
@@ -25,7 +25,6 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/CORBA_String.h"
-
#include "ace/INET_Addr.h"
@@ -105,9 +104,6 @@ public:
/// Set the port number.
CORBA::UShort port (CORBA::UShort p);
- ///
- //TAO_IIOP_Connection_Handler *&hint (void);
-
private:
/// Helper method for setting INET_Addr.
diff --git a/TAO/tao/IIOP_Profile.cpp b/TAO/tao/IIOP_Profile.cpp
index 494316c07f9..6d862330d9c 100644
--- a/TAO/tao/IIOP_Profile.cpp
+++ b/TAO/tao/IIOP_Profile.cpp
@@ -1,7 +1,6 @@
// This may look like C, but it's really -*- C++ -*-
// $Id$
-
#include "IIOP_Profile.h"
#include "CDR.h"
#include "Environment.h"
@@ -34,12 +33,13 @@ TAO_IIOP_Profile::TAO_IIOP_Profile (const ACE_INET_Addr &addr,
const TAO::ObjectKey &object_key,
const TAO_GIOP_Message_Version &version,
TAO_ORB_Core *orb_core)
- : TAO_Profile (IOP::TAG_INTERNET_IOP, orb_core, version),
+ : TAO_Profile (IOP::TAG_INTERNET_IOP,
+ orb_core,
+ object_key,
+ version),
endpoint_ (addr,
orb_core->orb_params ()->use_dotted_decimal_addresses ()),
- count_ (1),
- object_key_ (object_key),
- tagged_profile_ ()
+ count_ (1)
{
}
@@ -49,11 +49,12 @@ TAO_IIOP_Profile::TAO_IIOP_Profile (const char* host,
const ACE_INET_Addr &addr,
const TAO_GIOP_Message_Version &version,
TAO_ORB_Core *orb_core)
- : TAO_Profile (IOP::TAG_INTERNET_IOP, orb_core, version),
+ : TAO_Profile (IOP::TAG_INTERNET_IOP,
+ orb_core,
+ object_key,
+ version),
endpoint_ (host, port, addr),
- count_ (1),
- object_key_ (object_key),
- tagged_profile_ ()
+ count_ (1)
{
}
@@ -62,9 +63,7 @@ TAO_IIOP_Profile::TAO_IIOP_Profile (TAO_ORB_Core *orb_core)
orb_core,
TAO_GIOP_Message_Version (TAO_DEF_GIOP_MAJOR, TAO_DEF_GIOP_MINOR)),
endpoint_ (),
- count_ (1),
- object_key_ (),
- tagged_profile_ ()
+ count_ (1)
{
}
@@ -446,54 +445,6 @@ TAO_IIOP_Profile::encode (TAO_OutputCDR &stream) const
return 1;
}
-
-IOP::TaggedProfile &
-TAO_IIOP_Profile::create_tagged_profile (void)
-{
- // Check whether we have already created the TaggedProfile
- if (this->tagged_profile_.profile_data.get_buffer () == 0)
- {
- // As we have not created we will now create the TaggedProfile
- this->tagged_profile_.tag = IOP::TAG_INTERNET_IOP;
-
- // Create the encapsulation....
- TAO_OutputCDR encap (ACE_CDR::DEFAULT_BUFSIZE,
- TAO_ENCAP_BYTE_ORDER,
- this->orb_core ()->output_cdr_buffer_allocator (),
- this->orb_core ()->output_cdr_dblock_allocator (),
- this->orb_core ()->output_cdr_msgblock_allocator (),
- this->orb_core ()->orb_params ()->cdr_memcpy_tradeoff (),
- TAO_DEF_GIOP_MAJOR,
- TAO_DEF_GIOP_MINOR);
-
- // Create the profile body
- this->create_profile_body (encap);
-
- CORBA::ULong length =
- ACE_static_cast(CORBA::ULong,encap.total_length ());
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- // Place the message block in to the Sequence of Octets that we
- // have
- this->tagged_profile_.profile_data.replace (length,
- encap.begin ());
-#else
- this->tagged_profile_.profile_data.length (length);
- CORBA::Octet *buffer =
- this->tagged_profile_.profile_data.get_buffer ();
- for (const ACE_Message_Block *i = encap.begin ();
- i != encap.end ();
- i = i->next ())
- {
- ACE_OS::memcpy (buffer, i->rd_ptr (), i->length ());
- buffer += i->length ();
- }
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 1 */
- }
-
- return this->tagged_profile_;
-}
-
void
TAO_IIOP_Profile::create_profile_body (TAO_OutputCDR &encap) const
{
@@ -548,27 +499,8 @@ TAO_IIOP_Profile::encode_endpoints (void)
== 0)
|| (out_cdr << endpoints) == 0)
return -1;
- CORBA::ULong length = out_cdr.total_length ();
-
- IOP::TaggedComponent tagged_component;
- tagged_component.tag = TAO_TAG_ENDPOINTS;
- tagged_component.component_data.length (length);
- CORBA::Octet *buf =
- tagged_component.component_data.get_buffer ();
-
- for (const ACE_Message_Block *iterator = out_cdr.begin ();
- iterator != 0;
- iterator = iterator->cont ())
- {
- CORBA::ULong i_length = iterator->length ();
- ACE_OS::memcpy (buf, iterator->rd_ptr (), i_length);
-
- buf += i_length;
- }
- // Add component with encoded endpoint data to this profile's
- // TaggedComponents.
- tagged_components_.set_component (tagged_component);
+ this->set_tagged_components (out_cdr);
return 0;
}
diff --git a/TAO/tao/IIOP_Profile.h b/TAO/tao/IIOP_Profile.h
index 63cc8c5c7ee..0654472a91e 100644
--- a/TAO/tao/IIOP_Profile.h
+++ b/TAO/tao/IIOP_Profile.h
@@ -23,12 +23,8 @@
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/Object_KeyC.h"
#include "tao/IIOP_Endpoint.h"
-#include "ace/Synch.h"
-
// TAO IIOP_Profile concrete Profile definitions
/**
@@ -142,14 +138,10 @@ public:
virtual CORBA::ULong hash (CORBA::ULong max
ACE_ENV_ARG_DECL);
- /// Please refer to Profile.h for the documentation of this
- /// function.
- virtual IOP::TaggedProfile &create_tagged_profile (void);
-
private:
/// Creates an encapsulation of the ProfileBody struct in the <cdr>
- void create_profile_body (TAO_OutputCDR &cdr) const;
+ virtual void create_profile_body (TAO_OutputCDR &cdr) const;
/**
* Helper for <decode>. Decodes endpoints from a tagged component.
@@ -181,14 +173,6 @@ protected:
/// Number of endpoints in the list headed by <endpoint_>.
size_t count_;
-
-private:
-
- /// object_key associated with this profile.
- TAO::ObjectKey object_key_;
-
- /// Our tagged profile
- IOP::TaggedProfile tagged_profile_;
};
#if defined (__ACE_INLINE__)
diff --git a/TAO/tao/IOP.pidl b/TAO/tao/IOP.pidl
index c6278c09f30..697672090cb 100644
--- a/TAO/tao/IOP.pidl
+++ b/TAO/tao/IOP.pidl
@@ -29,115 +29,7 @@
#ifndef TAO_IOP_PIDL
#define TAO_IOP_PIDL
-#include <orb.idl>
-
-#pragma prefix "omg.org"
-
-module IOP
-{
- typedef unsigned long ProfileId;
- const ProfileId TAG_INTERNET_IOP = 0;
- const ProfileId TAG_MULTIPLE_COMPONENTS = 1;
-
- struct TaggedProfile {
- ProfileId tag;
- sequence<octet> profile_data;
- };
-
- struct IOR {
- string type_id;
- sequence<TaggedProfile> profiles;
- };
-
- typedef unsigned long ComponentId;
- struct TaggedComponent {
- ComponentId tag;
- sequence<octet> component_data;
- };
- typedef sequence<TaggedComponent> MultipleComponentProfile;
- typedef sequence<TaggedComponent> TaggedComponentList;
- typedef sequence<TaggedComponent> TaggedComponentSeq;
-
- // @@ All security related tags are located in the Security Service
- // @@ related IDL files, in accordance with the Security Service 1.8
- // @@ specification.
-
- const ComponentId TAG_ORB_TYPE = 0;
- const ComponentId TAG_CODE_SETS = 1;
- const ComponentId TAG_POLICIES = 2;
- const ComponentId TAG_ALTERNATE_IIOP_ADDRESS = 3;
-
- const ComponentId TAG_COMPLETE_OBJECT_KEY = 5;
- const ComponentId TAG_ENDPOINT_ID_POSITION = 6;
- const ComponentId TAG_LOCATION_POLICY = 12;
- const ComponentId TAG_DCE_STRING_BINDING = 100;
- const ComponentId TAG_DCE_BINDING_NAME = 101;
- const ComponentId TAG_DCE_NO_PIPES = 102;
-
- typedef unsigned long ServiceId;
- struct ServiceContext {
- ServiceId context_id;
- sequence <octet> context_data;
- };
- typedef sequence <ServiceContext> ServiceContextList;
-
- const ServiceId TransactionService = 0;
- const ServiceId CodeSets = 1;
- const ServiceId ChainBypassCheck = 2;
- const ServiceId ChainBypassInfo = 3;
- const ServiceId LogicalThreadId = 4;
- const ServiceId BI_DIR_IIOP = 5;
- const ServiceId SendingContextRunTime = 6;
- const ServiceId INVOCATION_POLICIES = 7;
- // const ServiceId FORWARDED_IDENTITY = 8;
- const ServiceId UnknownExceptionInfo = 9;
-
- // The following are defined in CORBA v2.4.2 Chapter 24 (February, 2001):
- const ServiceId RTCorbaPriority = 10;
- const ServiceId RTCorbaPriorityRange = 11;
-
- // The following are defined in the ptc/2000-04-04:
- // Fault Tolerant CORBA Specification, V1.0
- const ComponentId TAG_FT_GROUP = 27;
- const ComponentId TAG_FT_PRIMARY = 28;
- const ComponentId TAG_FT_HEARTBEAT_ENABLED = 29;
- const ServiceId FT_GROUP_VERSION = 12;
- const ServiceId FT_REQUEST = 13;
-
- // The following are not defined yet in the Unreliable Multicast
- // InterORB Protocol (orbos/2001-11-08)
- const ProfileId TAG_UIPMC = 0x54414f0c; // @@ Get real number
- const ComponentId TAG_GROUP = 0x54414f03; // @@ Get real number
- const ComponentId TAG_GROUP_IIOP = 0x54414f04; // @@ Get real number
-
- local interface Codec {
- exception InvalidTypeForEncoding {};
- exception FormatMismatch {};
- exception TypeMismatch {};
-
- CORBA::OctetSeq encode (in any data) raises (InvalidTypeForEncoding);
- any decode (in CORBA::OctetSeq data) raises (FormatMismatch);
- CORBA::OctetSeq encode_value (in any data) raises (InvalidTypeForEncoding);
- any decode_value (in CORBA::OctetSeq data, in CORBA::TypeCode tc)
- raises (FormatMismatch, TypeMismatch);
- };
-
- typedef short EncodingFormat;
- const EncodingFormat ENCODING_CDR_ENCAPS = 0;
-
- struct Encoding {
- EncodingFormat format;
- octet major_version;
- octet minor_version;
- };
-
- local interface CodecFactory {
- exception UnknownEncoding {};
-
- Codec create_codec (in Encoding enc) raises (UnknownEncoding);
- };
-};
-
-#pragma prefix ""
+#include "IOP_IOR.pidl"
+#include "IOP_Codec.pidl"
#endif /* TAO_IOP_PIDL */
diff --git a/TAO/tao/IOPC.cpp b/TAO/tao/IOPC.cpp
index 3efd6649289..4c018e43109 100644
--- a/TAO/tao/IOPC.cpp
+++ b/TAO/tao/IOPC.cpp
@@ -20,7 +20,7 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:314
+// be/be_codegen.cpp:314
#include "IOPC.h"
@@ -35,7 +35,6 @@
#endif /* TAO_HAS_INTERCEPTORS == 1 */
-
#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
#endif /* __BORLANDC__ */
@@ -44,4413 +43,3 @@
#include "IOPC.i"
#endif /* !defined INLINE */
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_ProfileId[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x50726f66),
- ACE_NTOHL (0x696c6549),
- ACE_NTOHL (0x643a312e),
- ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ProfileId:1.0
- 10,
- ACE_NTOHL (0x50726f66),
- ACE_NTOHL (0x696c6549),
- ACE_NTOHL (0x64000000), // name = ProfileId
- CORBA::tk_ulong,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_ProfileId (
- CORBA::tk_alias,
- sizeof (_oc_IOP_ProfileId),
- (char *) &_oc_IOP_ProfileId,
- 0,
- sizeof (IOP::ProfileId)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_ProfileId,
- &_tc_TAO_tc_IOP_ProfileId
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_TaggedProfile[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 34,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x65645072),
- ACE_NTOHL (0x6f66696c),
- ACE_NTOHL (0x653a312e),
- ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/TaggedProfile:1.0
- 14,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x65645072),
- ACE_NTOHL (0x6f66696c),
- ACE_NTOHL (0x65000000), // name = TaggedProfile
- 2, // member count
- 4,
- ACE_NTOHL (0x74616700), // name = tag
- CORBA::tk_alias, // typecode kind for typedefs
- 60, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x50726f66),
- ACE_NTOHL (0x696c6549),
- ACE_NTOHL (0x643a312e),
- ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ProfileId:1.0
- 10,
- ACE_NTOHL (0x50726f66),
- ACE_NTOHL (0x696c6549),
- ACE_NTOHL (0x64000000), // name = ProfileId
- CORBA::tk_ulong,
-
-
- 13,
- ACE_NTOHL (0x70726f66),
- ACE_NTOHL (0x696c655f),
- ACE_NTOHL (0x64617461),
- ACE_NTOHL (0x0), // name = profile_data
- CORBA::tk_sequence, // typecode kind
- 12, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_octet,
-
- 0U,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_TaggedProfile (
- CORBA::tk_struct,
- sizeof (_oc_IOP_TaggedProfile),
- (char *) &_oc_IOP_TaggedProfile,
- 0,
- sizeof (IOP::TaggedProfile)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_TaggedProfile,
- &_tc_TAO_tc_IOP_TaggedProfile
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
-
-void IOP::TaggedProfile::_tao_any_destructor (void *_tao_void_pointer)
-{
- TaggedProfile *tmp = ACE_static_cast (TaggedProfile*, _tao_void_pointer);
- delete tmp;
-}
-
-#if !defined (_IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CS_)
-#define _IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CS_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
-
-// *************************************************************
-// IOP::TaggedProfile::_tao_seq_Octet
-// *************************************************************
-
-IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet (void)
-{}
-
-IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
-{}
-
-IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
- CORBA::Boolean release
- )
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
-{}
-
-IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet (const _tao_seq_Octet &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
-{}
-
-IOP::TaggedProfile::_tao_seq_Octet::~_tao_seq_Octet (void) // dtor
-{}
-
-void IOP::TaggedProfile::_tao_seq_Octet::_tao_any_destructor (void *_tao_void_pointer)
-{
- _tao_seq_Octet *tmp = ACE_static_cast (_tao_seq_Octet*, _tao_void_pointer);
- delete tmp;
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_IOR[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 24,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x494f523a),
- ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/IOR:1.0
- 4,
- ACE_NTOHL (0x494f5200), // name = IOR
- 2, // member count
- 8,
- ACE_NTOHL (0x74797065),
- ACE_NTOHL (0x5f696400), // name = type_id
- CORBA::tk_string,
- 0U, // string length
- 9,
- ACE_NTOHL (0x70726f66),
- ACE_NTOHL (0x696c6573),
- ACE_NTOHL (0x0), // name = profiles
- CORBA::tk_sequence, // typecode kind
- 200, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 184, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 34,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x65645072),
- ACE_NTOHL (0x6f66696c),
- ACE_NTOHL (0x653a312e),
- ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/TaggedProfile:1.0
- 14,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x65645072),
- ACE_NTOHL (0x6f66696c),
- ACE_NTOHL (0x65000000), // name = TaggedProfile
- 2, // member count
- 4,
- ACE_NTOHL (0x74616700), // name = tag
- CORBA::tk_alias, // typecode kind for typedefs
- 60, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x50726f66),
- ACE_NTOHL (0x696c6549),
- ACE_NTOHL (0x643a312e),
- ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ProfileId:1.0
- 10,
- ACE_NTOHL (0x50726f66),
- ACE_NTOHL (0x696c6549),
- ACE_NTOHL (0x64000000), // name = ProfileId
- CORBA::tk_ulong,
-
-
- 13,
- ACE_NTOHL (0x70726f66),
- ACE_NTOHL (0x696c655f),
- ACE_NTOHL (0x64617461),
- ACE_NTOHL (0x0), // name = profile_data
- CORBA::tk_sequence, // typecode kind
- 12, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_octet,
-
- 0U,
-
-
- 0U,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_IOR (
- CORBA::tk_struct,
- sizeof (_oc_IOP_IOR),
- (char *) &_oc_IOP_IOR,
- 0,
- sizeof (IOP::IOR)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_IOR,
- &_tc_TAO_tc_IOP_IOR
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
-
-void IOP::IOR::_tao_any_destructor (void *_tao_void_pointer)
-{
- IOR *tmp = ACE_static_cast (IOR*, _tao_void_pointer);
- delete tmp;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CS_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CS_
-
-void
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_allocate_buffer (CORBA::ULong length)
-{
- IOP::TaggedProfile* tmp = 0;
- tmp = _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (length);
-
- if (this->buffer_ != 0)
- {
- IOP::TaggedProfile *old =
- ACE_reinterpret_cast (IOP::TaggedProfile *, this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp[i] = old[i];
- }
-
- if (this->release_)
- {
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::freebuf (old);
- }
- }
-
- this->buffer_ = tmp;
-}
-
-void
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_deallocate_buffer (void)
-{
- if (this->buffer_ == 0 || this->release_ == 0)
- {
- return;
- }
-
- IOP::TaggedProfile *tmp =
- ACE_reinterpret_cast (IOP::TaggedProfile *, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::freebuf (tmp);
- this->buffer_ = 0;
-}
-
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::~_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void)
-{
- this->_deallocate_buffer ();
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CS_)
-#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CS_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
-
-// *************************************************************
-// IOP::IOR::_tao_seq_TaggedProfile
-// *************************************************************
-
-IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (void)
-{}
-
-IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedProfile>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
-{}
-
-IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::TaggedProfile *buffer,
- CORBA::Boolean release
- )
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedProfile>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
-{}
-
-IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (const _tao_seq_TaggedProfile &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedProfile>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
-{}
-
-IOP::IOR::_tao_seq_TaggedProfile::~_tao_seq_TaggedProfile (void) // dtor
-{}
-
-void IOP::IOR::_tao_seq_TaggedProfile::_tao_any_destructor (void *_tao_void_pointer)
-{
- _tao_seq_TaggedProfile *tmp = ACE_static_cast (_tao_seq_TaggedProfile*, _tao_void_pointer);
- delete tmp;
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_ComponentId[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7449643a),
- ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0
- 12,
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x74496400), // name = ComponentId
- CORBA::tk_ulong,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_ComponentId (
- CORBA::tk_alias,
- sizeof (_oc_IOP_ComponentId),
- (char *) &_oc_IOP_ComponentId,
- 0,
- sizeof (IOP::ComponentId)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_ComponentId,
- &_tc_TAO_tc_IOP_ComponentId
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_TaggedComponent[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 36,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e743a),
- ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0
- 16,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e7400), // name = TaggedComponent
- 2, // member count
- 4,
- ACE_NTOHL (0x74616700), // name = tag
- CORBA::tk_alias, // typecode kind for typedefs
- 60, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7449643a),
- ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0
- 12,
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x74496400), // name = ComponentId
- CORBA::tk_ulong,
-
-
- 15,
- ACE_NTOHL (0x636f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x745f6461),
- ACE_NTOHL (0x74610000), // name = component_data
- CORBA::tk_sequence, // typecode kind
- 12, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_octet,
-
- 0U,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_TaggedComponent (
- CORBA::tk_struct,
- sizeof (_oc_IOP_TaggedComponent),
- (char *) &_oc_IOP_TaggedComponent,
- 0,
- sizeof (IOP::TaggedComponent)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_TaggedComponent,
- &_tc_TAO_tc_IOP_TaggedComponent
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
-
-void IOP::TaggedComponent::_tao_any_destructor (void *_tao_void_pointer)
-{
- TaggedComponent *tmp = ACE_static_cast (TaggedComponent*, _tao_void_pointer);
- delete tmp;
-}
-
-#if !defined (_IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CS_)
-#define _IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CS_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
-
-// *************************************************************
-// IOP::TaggedComponent::_tao_seq_Octet
-// *************************************************************
-
-IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet (void)
-{}
-
-IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
-{}
-
-IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
- CORBA::Boolean release
- )
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
-{}
-
-IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet (const _tao_seq_Octet &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
-{}
-
-IOP::TaggedComponent::_tao_seq_Octet::~_tao_seq_Octet (void) // dtor
-{}
-
-void IOP::TaggedComponent::_tao_seq_Octet::_tao_any_destructor (void *_tao_void_pointer)
-{
- _tao_seq_Octet *tmp = ACE_static_cast (_tao_seq_Octet*, _tao_void_pointer);
- delete tmp;
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CS_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CS_
-
-void
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_allocate_buffer (CORBA::ULong length)
-{
- IOP::TaggedComponent* tmp = 0;
- tmp = _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (length);
-
- if (this->buffer_ != 0)
- {
- IOP::TaggedComponent *old =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp[i] = old[i];
- }
-
- if (this->release_)
- {
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::freebuf (old);
- }
- }
-
- this->buffer_ = tmp;
-}
-
-void
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_deallocate_buffer (void)
-{
- if (this->buffer_ == 0 || this->release_ == 0)
- {
- return;
- }
-
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::freebuf (tmp);
- this->buffer_ = 0;
-}
-
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::~_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void)
-{
- this->_deallocate_buffer ();
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CS_)
-#define _IOP_MULTIPLECOMPONENTPROFILE_CS_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
-
-// *************************************************************
-// IOP::MultipleComponentProfile
-// *************************************************************
-
-IOP::MultipleComponentProfile::MultipleComponentProfile (void)
-{}
-
-IOP::MultipleComponentProfile::MultipleComponentProfile (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
-{}
-
-IOP::MultipleComponentProfile::MultipleComponentProfile (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::TaggedComponent *buffer,
- CORBA::Boolean release
- )
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
-{}
-
-IOP::MultipleComponentProfile::MultipleComponentProfile (const MultipleComponentProfile &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
-{}
-
-IOP::MultipleComponentProfile::~MultipleComponentProfile (void) // dtor
-{}
-
-void IOP::MultipleComponentProfile::_tao_any_destructor (void *_tao_void_pointer)
-{
- MultipleComponentProfile *tmp = ACE_static_cast (MultipleComponentProfile*, _tao_void_pointer);
- delete tmp;
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_MultipleComponentProfile[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 45,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x4d756c74),
- ACE_NTOHL (0x69706c65),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7450726f),
- ACE_NTOHL (0x66696c65),
- ACE_NTOHL (0x3a312e30),
- ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/MultipleComponentProfile:1.0
- 25,
- ACE_NTOHL (0x4d756c74),
- ACE_NTOHL (0x69706c65),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7450726f),
- ACE_NTOHL (0x66696c65),
- ACE_NTOHL (0x0), // name = MultipleComponentProfile
- CORBA::tk_sequence, // typecode kind
- 200, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 184, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 36,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e743a),
- ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0
- 16,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e7400), // name = TaggedComponent
- 2, // member count
- 4,
- ACE_NTOHL (0x74616700), // name = tag
- CORBA::tk_alias, // typecode kind for typedefs
- 60, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7449643a),
- ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0
- 12,
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x74496400), // name = ComponentId
- CORBA::tk_ulong,
-
-
- 15,
- ACE_NTOHL (0x636f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x745f6461),
- ACE_NTOHL (0x74610000), // name = component_data
- CORBA::tk_sequence, // typecode kind
- 12, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_octet,
-
- 0U,
-
-
- 0U,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_MultipleComponentProfile (
- CORBA::tk_alias,
- sizeof (_oc_IOP_MultipleComponentProfile),
- (char *) &_oc_IOP_MultipleComponentProfile,
- 0,
- sizeof (IOP::MultipleComponentProfile)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_MultipleComponentProfile,
- &_tc_TAO_tc_IOP_MultipleComponentProfile
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CS_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CS_
-
-void
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_allocate_buffer (CORBA::ULong length)
-{
- IOP::TaggedComponent* tmp = 0;
- tmp = _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (length);
-
- if (this->buffer_ != 0)
- {
- IOP::TaggedComponent *old =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp[i] = old[i];
- }
-
- if (this->release_)
- {
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::freebuf (old);
- }
- }
-
- this->buffer_ = tmp;
-}
-
-void
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_deallocate_buffer (void)
-{
- if (this->buffer_ == 0 || this->release_ == 0)
- {
- return;
- }
-
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::freebuf (tmp);
- this->buffer_ = 0;
-}
-
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::~_TAO_Unbounded_Sequence_IOP_TaggedComponentList (void)
-{
- this->_deallocate_buffer ();
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_TAGGEDCOMPONENTLIST_CS_)
-#define _IOP_TAGGEDCOMPONENTLIST_CS_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
-
-// *************************************************************
-// IOP::TaggedComponentList
-// *************************************************************
-
-IOP::TaggedComponentList::TaggedComponentList (void)
-{}
-
-IOP::TaggedComponentList::TaggedComponentList (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_TaggedComponentList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
-{}
-
-IOP::TaggedComponentList::TaggedComponentList (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::TaggedComponent *buffer,
- CORBA::Boolean release
- )
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_TaggedComponentList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
-{}
-
-IOP::TaggedComponentList::TaggedComponentList (const TaggedComponentList &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_TaggedComponentList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
-{}
-
-IOP::TaggedComponentList::~TaggedComponentList (void) // dtor
-{}
-
-void IOP::TaggedComponentList::_tao_any_destructor (void *_tao_void_pointer)
-{
- TaggedComponentList *tmp = ACE_static_cast (TaggedComponentList*, _tao_void_pointer);
- delete tmp;
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_TaggedComponentList[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 40,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e744c),
- ACE_NTOHL (0x6973743a),
- ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponentList:1.0
- 20,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e744c),
- ACE_NTOHL (0x69737400), // name = TaggedComponentList
- CORBA::tk_sequence, // typecode kind
- 200, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 184, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 36,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e743a),
- ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0
- 16,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e7400), // name = TaggedComponent
- 2, // member count
- 4,
- ACE_NTOHL (0x74616700), // name = tag
- CORBA::tk_alias, // typecode kind for typedefs
- 60, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7449643a),
- ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0
- 12,
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x74496400), // name = ComponentId
- CORBA::tk_ulong,
-
-
- 15,
- ACE_NTOHL (0x636f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x745f6461),
- ACE_NTOHL (0x74610000), // name = component_data
- CORBA::tk_sequence, // typecode kind
- 12, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_octet,
-
- 0U,
-
-
- 0U,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_TaggedComponentList (
- CORBA::tk_alias,
- sizeof (_oc_IOP_TaggedComponentList),
- (char *) &_oc_IOP_TaggedComponentList,
- 0,
- sizeof (IOP::TaggedComponentList)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_TaggedComponentList,
- &_tc_TAO_tc_IOP_TaggedComponentList
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CS_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CS_
-
-void
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_allocate_buffer (CORBA::ULong length)
-{
- IOP::TaggedComponent* tmp = 0;
- tmp = _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (length);
-
- if (this->buffer_ != 0)
- {
- IOP::TaggedComponent *old =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp[i] = old[i];
- }
-
- if (this->release_)
- {
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::freebuf (old);
- }
- }
-
- this->buffer_ = tmp;
-}
-
-void
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_deallocate_buffer (void)
-{
- if (this->buffer_ == 0 || this->release_ == 0)
- {
- return;
- }
-
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::freebuf (tmp);
- this->buffer_ = 0;
-}
-
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::~_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void)
-{
- this->_deallocate_buffer ();
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_TAGGEDCOMPONENTSEQ_CS_)
-#define _IOP_TAGGEDCOMPONENTSEQ_CS_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
-
-// *************************************************************
-// IOP::TaggedComponentSeq
-// *************************************************************
-
-IOP::TaggedComponentSeq::TaggedComponentSeq (void)
-{}
-
-IOP::TaggedComponentSeq::TaggedComponentSeq (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
-{}
-
-IOP::TaggedComponentSeq::TaggedComponentSeq (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::TaggedComponent *buffer,
- CORBA::Boolean release
- )
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
-{}
-
-IOP::TaggedComponentSeq::TaggedComponentSeq (const TaggedComponentSeq &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
-{}
-
-IOP::TaggedComponentSeq::~TaggedComponentSeq (void) // dtor
-{}
-
-void IOP::TaggedComponentSeq::_tao_any_destructor (void *_tao_void_pointer)
-{
- TaggedComponentSeq *tmp = ACE_static_cast (TaggedComponentSeq*, _tao_void_pointer);
- delete tmp;
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_TaggedComponentSeq[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 39,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e7453),
- ACE_NTOHL (0x65713a31),
- ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/TaggedComponentSeq:1.0
- 19,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e7453),
- ACE_NTOHL (0x65710000), // name = TaggedComponentSeq
- CORBA::tk_sequence, // typecode kind
- 200, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 184, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 36,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e743a),
- ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0
- 16,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e7400), // name = TaggedComponent
- 2, // member count
- 4,
- ACE_NTOHL (0x74616700), // name = tag
- CORBA::tk_alias, // typecode kind for typedefs
- 60, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7449643a),
- ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0
- 12,
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x74496400), // name = ComponentId
- CORBA::tk_ulong,
-
-
- 15,
- ACE_NTOHL (0x636f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x745f6461),
- ACE_NTOHL (0x74610000), // name = component_data
- CORBA::tk_sequence, // typecode kind
- 12, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_octet,
-
- 0U,
-
-
- 0U,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_TaggedComponentSeq (
- CORBA::tk_alias,
- sizeof (_oc_IOP_TaggedComponentSeq),
- (char *) &_oc_IOP_TaggedComponentSeq,
- 0,
- sizeof (IOP::TaggedComponentSeq)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_TaggedComponentSeq,
- &_tc_TAO_tc_IOP_TaggedComponentSeq
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_ServiceId[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636549),
- ACE_NTOHL (0x643a312e),
- ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ServiceId:1.0
- 10,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636549),
- ACE_NTOHL (0x64000000), // name = ServiceId
- CORBA::tk_ulong,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_ServiceId (
- CORBA::tk_alias,
- sizeof (_oc_IOP_ServiceId),
- (char *) &_oc_IOP_ServiceId,
- 0,
- sizeof (IOP::ServiceId)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_ServiceId,
- &_tc_TAO_tc_IOP_ServiceId
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_ServiceContext[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636543),
- ACE_NTOHL (0x6f6e7465),
- ACE_NTOHL (0x78743a31),
- ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/ServiceContext:1.0
- 15,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636543),
- ACE_NTOHL (0x6f6e7465),
- ACE_NTOHL (0x78740000), // name = ServiceContext
- 2, // member count
- 11,
- ACE_NTOHL (0x636f6e74),
- ACE_NTOHL (0x6578745f),
- ACE_NTOHL (0x69640000), // name = context_id
- CORBA::tk_alias, // typecode kind for typedefs
- 60, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636549),
- ACE_NTOHL (0x643a312e),
- ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ServiceId:1.0
- 10,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636549),
- ACE_NTOHL (0x64000000), // name = ServiceId
- CORBA::tk_ulong,
-
-
- 13,
- ACE_NTOHL (0x636f6e74),
- ACE_NTOHL (0x6578745f),
- ACE_NTOHL (0x64617461),
- ACE_NTOHL (0x0), // name = context_data
- CORBA::tk_sequence, // typecode kind
- 12, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_octet,
-
- 0U,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_ServiceContext (
- CORBA::tk_struct,
- sizeof (_oc_IOP_ServiceContext),
- (char *) &_oc_IOP_ServiceContext,
- 0,
- sizeof (IOP::ServiceContext)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_ServiceContext,
- &_tc_TAO_tc_IOP_ServiceContext
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
-
-void IOP::ServiceContext::_tao_any_destructor (void *_tao_void_pointer)
-{
- ServiceContext *tmp = ACE_static_cast (ServiceContext*, _tao_void_pointer);
- delete tmp;
-}
-
-#if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CS_)
-#define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CS_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
-
-// *************************************************************
-// IOP::ServiceContext::_tao_seq_Octet
-// *************************************************************
-
-IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (void)
-{}
-
-IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
-{}
-
-IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
- CORBA::Boolean release
- )
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
-{}
-
-IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (const _tao_seq_Octet &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
-{}
-
-IOP::ServiceContext::_tao_seq_Octet::~_tao_seq_Octet (void) // dtor
-{}
-
-void IOP::ServiceContext::_tao_seq_Octet::_tao_any_destructor (void *_tao_void_pointer)
-{
- _tao_seq_Octet *tmp = ACE_static_cast (_tao_seq_Octet*, _tao_void_pointer);
- delete tmp;
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CS_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CS_
-
-void
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_allocate_buffer (CORBA::ULong length)
-{
- IOP::ServiceContext* tmp = 0;
- tmp = _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (length);
-
- if (this->buffer_ != 0)
- {
- IOP::ServiceContext *old =
- ACE_reinterpret_cast (IOP::ServiceContext *, this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp[i] = old[i];
- }
-
- if (this->release_)
- {
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::freebuf (old);
- }
- }
-
- this->buffer_ = tmp;
-}
-
-void
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_deallocate_buffer (void)
-{
- if (this->buffer_ == 0 || this->release_ == 0)
- {
- return;
- }
-
- IOP::ServiceContext *tmp =
- ACE_reinterpret_cast (IOP::ServiceContext *, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::freebuf (tmp);
- this->buffer_ = 0;
-}
-
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::~_TAO_Unbounded_Sequence_IOP_ServiceContextList (void)
-{
- this->_deallocate_buffer ();
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_SERVICECONTEXTLIST_CS_)
-#define _IOP_SERVICECONTEXTLIST_CS_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
-
-// *************************************************************
-// IOP::ServiceContextList
-// *************************************************************
-
-IOP::ServiceContextList::ServiceContextList (void)
-{}
-
-IOP::ServiceContextList::ServiceContextList (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_ServiceContextList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::ServiceContext>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
-{}
-
-IOP::ServiceContextList::ServiceContextList (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::ServiceContext *buffer,
- CORBA::Boolean release
- )
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_ServiceContextList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::ServiceContext>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
-{}
-
-IOP::ServiceContextList::ServiceContextList (const ServiceContextList &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_ServiceContextList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::ServiceContext>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
-{}
-
-IOP::ServiceContextList::~ServiceContextList (void) // dtor
-{}
-
-void IOP::ServiceContextList::_tao_any_destructor (void *_tao_void_pointer)
-{
- ServiceContextList *tmp = ACE_static_cast (ServiceContextList*, _tao_void_pointer);
- delete tmp;
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_ServiceContextList[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 39,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636543),
- ACE_NTOHL (0x6f6e7465),
- ACE_NTOHL (0x78744c69),
- ACE_NTOHL (0x73743a31),
- ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/ServiceContextList:1.0
- 19,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636543),
- ACE_NTOHL (0x6f6e7465),
- ACE_NTOHL (0x78744c69),
- ACE_NTOHL (0x73740000), // name = ServiceContextList
- CORBA::tk_sequence, // typecode kind
- 208, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 192, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636543),
- ACE_NTOHL (0x6f6e7465),
- ACE_NTOHL (0x78743a31),
- ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/ServiceContext:1.0
- 15,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636543),
- ACE_NTOHL (0x6f6e7465),
- ACE_NTOHL (0x78740000), // name = ServiceContext
- 2, // member count
- 11,
- ACE_NTOHL (0x636f6e74),
- ACE_NTOHL (0x6578745f),
- ACE_NTOHL (0x69640000), // name = context_id
- CORBA::tk_alias, // typecode kind for typedefs
- 60, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636549),
- ACE_NTOHL (0x643a312e),
- ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ServiceId:1.0
- 10,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636549),
- ACE_NTOHL (0x64000000), // name = ServiceId
- CORBA::tk_ulong,
-
-
- 13,
- ACE_NTOHL (0x636f6e74),
- ACE_NTOHL (0x6578745f),
- ACE_NTOHL (0x64617461),
- ACE_NTOHL (0x0), // name = context_data
- CORBA::tk_sequence, // typecode kind
- 12, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_octet,
-
- 0U,
-
-
- 0U,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_ServiceContextList (
- CORBA::tk_alias,
- sizeof (_oc_IOP_ServiceContextList),
- (char *) &_oc_IOP_ServiceContextList,
- 0,
- sizeof (IOP::ServiceContextList)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_ServiceContextList,
- &_tc_TAO_tc_IOP_ServiceContextList
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61
-
-int IOP::Codec::_tao_class_id = 0;
-
-IOP::Codec_ptr
-tao_IOP_Codec_duplicate (
- IOP::Codec_ptr p
- )
-{
- return IOP::Codec::_duplicate (p);
-}
-
-void
-tao_IOP_Codec_release (
- IOP::Codec_ptr p
- )
-{
- CORBA::release (p);
-}
-
-IOP::Codec_ptr
-tao_IOP_Codec_nil (
- void
- )
-{
- return IOP::Codec::_nil ();
-}
-
-IOP::Codec_ptr
-tao_IOP_Codec_narrow (
- CORBA::Object *p
- ACE_ENV_ARG_DECL
- )
-{
- return IOP::Codec::_narrow (p ACE_ENV_ARG_PARAMETER);
-}
-
-CORBA::Object *
-tao_IOP_Codec_upcast (
- void *src
- )
-{
- IOP::Codec **tmp =
- ACE_static_cast (IOP::Codec **, src);
- return *tmp;
-}
-
-CORBA::Boolean
-tao_IOP_Codec_marshal (
- IOP::Codec_ptr p,
- TAO_OutputCDR &strm
- )
-{
- return p->marshal (strm);
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:721
-
-// *************************************************************
-// IOP::Codec_var
-// *************************************************************
-
-IOP::Codec_var::Codec_var (void)
- : ptr_ (Codec::_nil ())
-{}
-
-::IOP::Codec_ptr
-IOP::Codec_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-IOP::Codec_var::Codec_var (const ::IOP::Codec_var &p)
- : TAO_Base_var (),
- ptr_ (Codec::_duplicate (p.ptr ()))
-{}
-
-IOP::Codec_var::~Codec_var (void)
-{
- CORBA::release (this->ptr_);
-}
-
-IOP::Codec_var &
-IOP::Codec_var::operator= (Codec_ptr p)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = p;
- return *this;
-}
-
-IOP::Codec_var &
-IOP::Codec_var::operator= (const ::IOP::Codec_var &p)
-{
- if (this != &p)
- {
- CORBA::release (this->ptr_);
- this->ptr_ = ::IOP::Codec::_duplicate (p.ptr ());
- }
- return *this;
-}
-
-IOP::Codec_var::operator const ::IOP::Codec_ptr &() const // cast
-{
- return this->ptr_;
-}
-
-IOP::Codec_var::operator ::IOP::Codec_ptr &() // cast
-{
- return this->ptr_;
-}
-
-::IOP::Codec_ptr
-IOP::Codec_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-::IOP::Codec_ptr
-IOP::Codec_var::in (void) const
-{
- return this->ptr_;
-}
-
-::IOP::Codec_ptr &
-IOP::Codec_var::inout (void)
-{
- return this->ptr_;
-}
-
-::IOP::Codec_ptr &
-IOP::Codec_var::out (void)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::IOP::Codec::_nil ();
- return this->ptr_;
-}
-
-::IOP::Codec_ptr
-IOP::Codec_var::_retn (void)
-{
- // yield ownership of managed obj reference
- ::IOP::Codec_ptr val = this->ptr_;
- this->ptr_ = ::IOP::Codec::_nil ();
- return val;
-}
-
-::IOP::Codec_ptr
-IOP::Codec_var::tao_duplicate (Codec_ptr p)
-{
- return ::IOP::Codec::_duplicate (p);
-}
-
-void
-IOP::Codec_var::tao_release (Codec_ptr p)
-{
- CORBA::release (p);
-}
-
-::IOP::Codec_ptr
-IOP::Codec_var::tao_nil (void)
-{
- return ::IOP::Codec::_nil ();
-}
-
-::IOP::Codec_ptr
-IOP::Codec_var::tao_narrow (
- CORBA::Object *p
- ACE_ENV_ARG_DECL
- )
-{
- return ::IOP::Codec::_narrow (p ACE_ENV_ARG_PARAMETER);
-}
-
-CORBA::Object *
-IOP::Codec_var::tao_upcast (void *src)
-{
- Codec **tmp =
- ACE_static_cast (Codec **, src);
- return *tmp;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:1030
-
-// *************************************************************
-// IOP::Codec_out
-// *************************************************************
-
-IOP::Codec_out::Codec_out (Codec_ptr &p)
- : ptr_ (p)
-{
- this->ptr_ = ::IOP::Codec::_nil ();
-}
-
-IOP::Codec_out::Codec_out (Codec_var &p)
- : ptr_ (p.out ())
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::IOP::Codec::_nil ();
-}
-
-IOP::Codec_out::Codec_out (const ::IOP::Codec_out &p)
- : ptr_ (ACE_const_cast (Codec_out &, p).ptr_)
-{}
-
-::IOP::Codec_out &
-IOP::Codec_out::operator= (const ::IOP::Codec_out &p)
-{
- this->ptr_ = ACE_const_cast (Codec_out&, p).ptr_;
- return *this;
-}
-
-IOP::Codec_out &
-IOP::Codec_out::operator= (const ::IOP::Codec_var &p)
-{
- this->ptr_ = ::IOP::Codec::_duplicate (p.ptr ());
- return *this;
-}
-
-IOP::Codec_out &
-IOP::Codec_out::operator= (Codec_ptr p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-IOP::Codec_out::operator ::IOP::Codec_ptr &() // cast
-{
- return this->ptr_;
-}
-
-::IOP::Codec_ptr &
-IOP::Codec_out::ptr (void)
-{
- return this->ptr_;
-}
-
-::IOP::Codec_ptr
-IOP::Codec_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:235
-
-IOP::Codec::Codec (void)
-{}
-
-IOP::Codec::~Codec (void)
-{}
-
-void
-IOP::Codec::_tao_any_destructor (void *_tao_void_pointer)
-{
- Codec *tmp = ACE_static_cast (Codec *, _tao_void_pointer);
- CORBA::release (tmp);
-}
-
-IOP::Codec_ptr
-IOP::Codec::_narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL
- )
-{
- return Codec::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER);
-}
-
-IOP::Codec_ptr
-IOP::Codec::_unchecked_narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (CORBA::is_nil (obj))
- {
- return Codec::_nil ();
- }
-
- return
- ACE_reinterpret_cast (
- Codec_ptr,
- obj->_tao_QueryInterface (
- ACE_reinterpret_cast (
- ptr_arith_t,
- &Codec::_tao_class_id
- )
- )
- );
-}
-
-IOP::Codec_ptr
-IOP::Codec::_duplicate (Codec_ptr obj)
-{
- if (! CORBA::is_nil (obj))
- {
- obj->_add_ref ();
- }
-
- return obj;
-}
-
-void *IOP::Codec::_tao_QueryInterface (ptr_arith_t type)
-{
- void *retv = 0;
-
- if (type == ACE_reinterpret_cast (
- ptr_arith_t,
- &ACE_NESTED_CLASS (::IOP, Codec)::_tao_class_id)
- )
- {
- retv = ACE_reinterpret_cast (void*, this);
- }
- else if (type == ACE_reinterpret_cast (
- ptr_arith_t,
- &CORBA::Object::_tao_class_id)
- )
- {
- retv =
- ACE_reinterpret_cast (
- void *,
- ACE_static_cast (CORBA::Object_ptr, this)
- );
- }
-
- if (retv != 0)
- {
- this->_add_ref ();
- }
-
- return retv;
-}
-
-const char* IOP::Codec::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IOP/Codec:1.0";
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
-
-IOP::Codec::InvalidTypeForEncoding::InvalidTypeForEncoding (void)
- : CORBA::UserException (
- "IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0",
- "InvalidTypeForEncoding"
- )
-{
-}
-
-IOP::Codec::InvalidTypeForEncoding::~InvalidTypeForEncoding (void)
-{
-}
-
-IOP::Codec::InvalidTypeForEncoding::InvalidTypeForEncoding (const ::IOP::Codec::InvalidTypeForEncoding &_tao_excp)
- : CORBA::UserException (_tao_excp._rep_id (),
- _tao_excp._name ())
-{
-}
-
-IOP::Codec::InvalidTypeForEncoding&
-IOP::Codec::InvalidTypeForEncoding::operator= (const ::IOP::Codec::InvalidTypeForEncoding &_tao_excp)
-{
- this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
- return *this;
-}
-
-void IOP::Codec::InvalidTypeForEncoding::_tao_any_destructor (void *_tao_void_pointer)
-{
- InvalidTypeForEncoding *tmp = ACE_static_cast (InvalidTypeForEncoding*, _tao_void_pointer);
- delete tmp;
-}
-
-IOP::Codec::InvalidTypeForEncoding *
-IOP::Codec::InvalidTypeForEncoding::_downcast (CORBA::Exception *_tao_excp)
-{
- if (!ACE_OS::strcmp ("IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0", _tao_excp->_rep_id ()))
- {
- return ACE_dynamic_cast (InvalidTypeForEncoding *, _tao_excp);
- }
- else
- {
- return 0;
- }
-}
-
-CORBA::Exception *IOP::Codec::InvalidTypeForEncoding::_alloc (void)
-{
- CORBA::Exception *retval = 0;
- ACE_NEW_RETURN (retval, ::IOP::Codec::InvalidTypeForEncoding, 0);
- return retval;
-}
-
-CORBA::Exception *
-IOP::Codec::InvalidTypeForEncoding::_tao_duplicate (void) const
-{
- CORBA::Exception *result;
- ACE_NEW_RETURN (
- result,
- ::IOP::Codec::InvalidTypeForEncoding (*this),
- 0
- );
- return result;
-}
-
-void IOP::Codec::InvalidTypeForEncoding::_raise (void)
-{
- TAO_RAISE (*this);
-}
-
-void IOP::Codec::InvalidTypeForEncoding::_tao_encode (
- TAO_OutputCDR &
- ACE_ENV_ARG_DECL
- ) const
-{
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void IOP::Codec::InvalidTypeForEncoding::_tao_decode (
- TAO_InputCDR &
- ACE_ENV_ARG_DECL
- )
-{
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-// TAO extension - the virtual _type method.
-CORBA::TypeCode_ptr IOP::Codec::InvalidTypeForEncoding::_type (void) const
-{
- return ::IOP::Codec::_tc_InvalidTypeForEncoding;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_Codec_InvalidTypeForEncoding[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 49,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x632f496e),
- ACE_NTOHL (0x76616c69),
- ACE_NTOHL (0x64547970),
- ACE_NTOHL (0x65466f72),
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x3a312e30),
- ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0
- 23,
- ACE_NTOHL (0x496e7661),
- ACE_NTOHL (0x6c696454),
- ACE_NTOHL (0x79706546),
- ACE_NTOHL (0x6f72456e),
- ACE_NTOHL (0x636f6469),
- ACE_NTOHL (0x6e670000), // name = InvalidTypeForEncoding
- 0, // member count
- };
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_InvalidTypeForEncoding (
- CORBA::tk_except,
- sizeof (_oc_IOP_Codec_InvalidTypeForEncoding),
- (char *) &_oc_IOP_Codec_InvalidTypeForEncoding,
- 0,
- sizeof (IOP::Codec::InvalidTypeForEncoding)
- );
-
-::CORBA::TypeCode_ptr IOP::Codec::_tc_InvalidTypeForEncoding =
- &_tc_TAO_tc_IOP_Codec_InvalidTypeForEncoding;
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
-
-IOP::Codec::FormatMismatch::FormatMismatch (void)
- : CORBA::UserException (
- "IDL:omg.org/IOP/Codec/FormatMismatch:1.0",
- "FormatMismatch"
- )
-{
-}
-
-IOP::Codec::FormatMismatch::~FormatMismatch (void)
-{
-}
-
-IOP::Codec::FormatMismatch::FormatMismatch (const ::IOP::Codec::FormatMismatch &_tao_excp)
- : CORBA::UserException (
- _tao_excp._rep_id (),
- _tao_excp._name ()
- )
-{
-}
-
-IOP::Codec::FormatMismatch&
-IOP::Codec::FormatMismatch::operator= (const ::IOP::Codec::FormatMismatch &_tao_excp)
-{
- this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
- return *this;
-}
-
-void IOP::Codec::FormatMismatch::_tao_any_destructor (void *_tao_void_pointer)
-{
- FormatMismatch *tmp = ACE_static_cast (FormatMismatch*, _tao_void_pointer);
- delete tmp;
-}
-
-IOP::Codec::FormatMismatch *
-IOP::Codec::FormatMismatch::_downcast (CORBA::Exception *_tao_excp)
-{
- if (!ACE_OS::strcmp ("IDL:omg.org/IOP/Codec/FormatMismatch:1.0", _tao_excp->_rep_id ()))
- {
- return ACE_dynamic_cast (FormatMismatch *, _tao_excp);
- }
- else
- {
- return 0;
- }
-}
-
-CORBA::Exception *IOP::Codec::FormatMismatch::_alloc (void)
-{
- CORBA::Exception *retval = 0;
- ACE_NEW_RETURN (retval, ::IOP::Codec::FormatMismatch, 0);
- return retval;
-}
-
-CORBA::Exception *
-IOP::Codec::FormatMismatch::_tao_duplicate (void) const
-{
- CORBA::Exception *result;
- ACE_NEW_RETURN (
- result,
- ::IOP::Codec::FormatMismatch (*this),
- 0
- );
- return result;
-}
-
-void IOP::Codec::FormatMismatch::_raise (void)
-{
- TAO_RAISE (*this);
-}
-
-void IOP::Codec::FormatMismatch::_tao_encode (
- TAO_OutputCDR &
- ACE_ENV_ARG_DECL
- ) const
-{
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void IOP::Codec::FormatMismatch::_tao_decode (
- TAO_InputCDR &
- ACE_ENV_ARG_DECL
- )
-{
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-// TAO extension - the virtual _type method.
-CORBA::TypeCode_ptr IOP::Codec::FormatMismatch::_type (void) const
-{
- return ::IOP::Codec::_tc_FormatMismatch;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_Codec_FormatMismatch[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 41,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x632f466f),
- ACE_NTOHL (0x726d6174),
- ACE_NTOHL (0x4d69736d),
- ACE_NTOHL (0x61746368),
- ACE_NTOHL (0x3a312e30),
- ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/Codec/FormatMismatch:1.0
- 15,
- ACE_NTOHL (0x466f726d),
- ACE_NTOHL (0x61744d69),
- ACE_NTOHL (0x736d6174),
- ACE_NTOHL (0x63680000), // name = FormatMismatch
- 0, // member count
- };
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_FormatMismatch (
- CORBA::tk_except,
- sizeof (_oc_IOP_Codec_FormatMismatch),
- (char *) &_oc_IOP_Codec_FormatMismatch,
- 0,
- sizeof (IOP::Codec::FormatMismatch)
- );
-
-::CORBA::TypeCode_ptr IOP::Codec::_tc_FormatMismatch =
- &_tc_TAO_tc_IOP_Codec_FormatMismatch;
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
-
-IOP::Codec::TypeMismatch::TypeMismatch (void)
- : CORBA::UserException (
- "IDL:omg.org/IOP/Codec/TypeMismatch:1.0",
- "TypeMismatch"
- )
-{
-}
-
-IOP::Codec::TypeMismatch::~TypeMismatch (void)
-{
-}
-
-IOP::Codec::TypeMismatch::TypeMismatch (const ::IOP::Codec::TypeMismatch &_tao_excp)
- : CORBA::UserException (
- _tao_excp._rep_id (),
- _tao_excp._name ()
- )
-{
-}
-
-IOP::Codec::TypeMismatch&
-IOP::Codec::TypeMismatch::operator= (const ::IOP::Codec::TypeMismatch &_tao_excp)
-{
- this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
- return *this;
-}
-
-void IOP::Codec::TypeMismatch::_tao_any_destructor (void *_tao_void_pointer)
-{
- TypeMismatch *tmp = ACE_static_cast (TypeMismatch*, _tao_void_pointer);
- delete tmp;
-}
-
-IOP::Codec::TypeMismatch *
-IOP::Codec::TypeMismatch::_downcast (CORBA::Exception *_tao_excp)
-{
- if (!ACE_OS::strcmp ("IDL:omg.org/IOP/Codec/TypeMismatch:1.0", _tao_excp->_rep_id ()))
- {
- return ACE_dynamic_cast (TypeMismatch *, _tao_excp);
- }
- else
- {
- return 0;
- }
-}
-
-CORBA::Exception *IOP::Codec::TypeMismatch::_alloc (void)
-{
- CORBA::Exception *retval = 0;
- ACE_NEW_RETURN (retval, ::IOP::Codec::TypeMismatch, 0);
- return retval;
-}
-
-CORBA::Exception *
-IOP::Codec::TypeMismatch::_tao_duplicate (void) const
-{
- CORBA::Exception *result;
- ACE_NEW_RETURN (
- result,
- ::IOP::Codec::TypeMismatch (*this),
- 0
- );
- return result;
-}
-
-void IOP::Codec::TypeMismatch::_raise (void)
-{
- TAO_RAISE (*this);
-}
-
-void IOP::Codec::TypeMismatch::_tao_encode (
- TAO_OutputCDR &
- ACE_ENV_ARG_DECL
- ) const
-{
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void IOP::Codec::TypeMismatch::_tao_decode (
- TAO_InputCDR &
- ACE_ENV_ARG_DECL
- )
-{
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-// TAO extension - the virtual _type method.
-CORBA::TypeCode_ptr IOP::Codec::TypeMismatch::_type (void) const
-{
- return ::IOP::Codec::_tc_TypeMismatch;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_Codec_TypeMismatch[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 39,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x632f5479),
- ACE_NTOHL (0x70654d69),
- ACE_NTOHL (0x736d6174),
- ACE_NTOHL (0x63683a31),
- ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/Codec/TypeMismatch:1.0
- 13,
- ACE_NTOHL (0x54797065),
- ACE_NTOHL (0x4d69736d),
- ACE_NTOHL (0x61746368),
- ACE_NTOHL (0x0), // name = TypeMismatch
- 0, // member count
- };
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_TypeMismatch (
- CORBA::tk_except,
- sizeof (_oc_IOP_Codec_TypeMismatch),
- (char *) &_oc_IOP_Codec_TypeMismatch,
- 0,
- sizeof (IOP::Codec::TypeMismatch)
- );
-
-::CORBA::TypeCode_ptr IOP::Codec::_tc_TypeMismatch =
- &_tc_TAO_tc_IOP_Codec_TypeMismatch;
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_Codec[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x633a312e),
- ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/Codec:1.0
- 6,
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x63000000), // name = Codec
- };
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_Codec (
- CORBA::tk_objref,
- sizeof (_oc_IOP_Codec),
- (char *) &_oc_IOP_Codec,
- 0,
- sizeof (IOP::Codec)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_Codec,
- &_tc_TAO_tc_IOP_Codec
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_EncodingFormat[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x466f726d),
- ACE_NTOHL (0x61743a31),
- ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/EncodingFormat:1.0
- 15,
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x466f726d),
- ACE_NTOHL (0x61740000), // name = EncodingFormat
- CORBA::tk_short,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_EncodingFormat (
- CORBA::tk_alias,
- sizeof (_oc_IOP_EncodingFormat),
- (char *) &_oc_IOP_EncodingFormat,
- 0,
- sizeof (IOP::EncodingFormat)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_EncodingFormat,
- &_tc_TAO_tc_IOP_EncodingFormat
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_Encoding[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 29,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x3a312e30),
- ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/Encoding:1.0
- 9,
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x0), // name = Encoding
- 3, // member count
- 7,
- ACE_NTOHL (0x666f726d),
- ACE_NTOHL (0x61740000), // name = format
- CORBA::tk_alias, // typecode kind for typedefs
- 68, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x466f726d),
- ACE_NTOHL (0x61743a31),
- ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/EncodingFormat:1.0
- 15,
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x466f726d),
- ACE_NTOHL (0x61740000), // name = EncodingFormat
- CORBA::tk_short,
-
-
- 14,
- ACE_NTOHL (0x6d616a6f),
- ACE_NTOHL (0x725f7665),
- ACE_NTOHL (0x7273696f),
- ACE_NTOHL (0x6e000000), // name = major_version
- CORBA::tk_octet,
-
- 14,
- ACE_NTOHL (0x6d696e6f),
- ACE_NTOHL (0x725f7665),
- ACE_NTOHL (0x7273696f),
- ACE_NTOHL (0x6e000000), // name = minor_version
- CORBA::tk_octet,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_Encoding (
- CORBA::tk_struct,
- sizeof (_oc_IOP_Encoding),
- (char *) &_oc_IOP_Encoding,
- 0,
- sizeof (IOP::Encoding)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_Encoding,
- &_tc_TAO_tc_IOP_Encoding
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
-
-void IOP::Encoding::_tao_any_destructor (void *_tao_void_pointer)
-{
- Encoding *tmp = ACE_static_cast (Encoding*, _tao_void_pointer);
- delete tmp;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61
-
-int IOP::CodecFactory::_tao_class_id = 0;
-
-IOP::CodecFactory_ptr
-tao_IOP_CodecFactory_duplicate (
- IOP::CodecFactory_ptr p
- )
-{
- return IOP::CodecFactory::_duplicate (p);
-}
-
-void
-tao_IOP_CodecFactory_release (
- IOP::CodecFactory_ptr p
- )
-{
- CORBA::release (p);
-}
-
-IOP::CodecFactory_ptr
-tao_IOP_CodecFactory_nil (
- void
- )
-{
- return IOP::CodecFactory::_nil ();
-}
-
-IOP::CodecFactory_ptr
-tao_IOP_CodecFactory_narrow (
- CORBA::Object *p
- ACE_ENV_ARG_DECL
- )
-{
- return IOP::CodecFactory::_narrow (p ACE_ENV_ARG_PARAMETER);
-}
-
-CORBA::Object *
-tao_IOP_CodecFactory_upcast (
- void *src
- )
-{
- IOP::CodecFactory **tmp =
- ACE_static_cast (IOP::CodecFactory **, src);
- return *tmp;
-}
-
-CORBA::Boolean
-tao_IOP_CodecFactory_marshal (
- IOP::CodecFactory_ptr p,
- TAO_OutputCDR &strm
- )
-{
- return p->marshal (strm);
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:721
-
-// *************************************************************
-// IOP::CodecFactory_var
-// *************************************************************
-
-IOP::CodecFactory_var::CodecFactory_var (void)
- : ptr_ (CodecFactory::_nil ())
-{}
-
-::IOP::CodecFactory_ptr
-IOP::CodecFactory_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-IOP::CodecFactory_var::CodecFactory_var (const ::IOP::CodecFactory_var &p)
- : TAO_Base_var (),
- ptr_ (CodecFactory::_duplicate (p.ptr ()))
-{}
-
-IOP::CodecFactory_var::~CodecFactory_var (void)
-{
- CORBA::release (this->ptr_);
-}
-
-IOP::CodecFactory_var &
-IOP::CodecFactory_var::operator= (CodecFactory_ptr p)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = p;
- return *this;
-}
-
-IOP::CodecFactory_var &
-IOP::CodecFactory_var::operator= (const ::IOP::CodecFactory_var &p)
-{
- if (this != &p)
- {
- CORBA::release (this->ptr_);
- this->ptr_ = ::IOP::CodecFactory::_duplicate (p.ptr ());
- }
- return *this;
-}
-
-IOP::CodecFactory_var::operator const ::IOP::CodecFactory_ptr &() const // cast
-{
- return this->ptr_;
-}
-
-IOP::CodecFactory_var::operator ::IOP::CodecFactory_ptr &() // cast
-{
- return this->ptr_;
-}
-
-::IOP::CodecFactory_ptr
-IOP::CodecFactory_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-::IOP::CodecFactory_ptr
-IOP::CodecFactory_var::in (void) const
-{
- return this->ptr_;
-}
-
-::IOP::CodecFactory_ptr &
-IOP::CodecFactory_var::inout (void)
-{
- return this->ptr_;
-}
-
-::IOP::CodecFactory_ptr &
-IOP::CodecFactory_var::out (void)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::IOP::CodecFactory::_nil ();
- return this->ptr_;
-}
-
-::IOP::CodecFactory_ptr
-IOP::CodecFactory_var::_retn (void)
-{
- // yield ownership of managed obj reference
- ::IOP::CodecFactory_ptr val = this->ptr_;
- this->ptr_ = ::IOP::CodecFactory::_nil ();
- return val;
-}
-
-::IOP::CodecFactory_ptr
-IOP::CodecFactory_var::tao_duplicate (CodecFactory_ptr p)
-{
- return ::IOP::CodecFactory::_duplicate (p);
-}
-
-void
-IOP::CodecFactory_var::tao_release (CodecFactory_ptr p)
-{
- CORBA::release (p);
-}
-
-::IOP::CodecFactory_ptr
-IOP::CodecFactory_var::tao_nil (void)
-{
- return ::IOP::CodecFactory::_nil ();
-}
-
-::IOP::CodecFactory_ptr
-IOP::CodecFactory_var::tao_narrow (
- CORBA::Object *p
- ACE_ENV_ARG_DECL
- )
-{
- return ::IOP::CodecFactory::_narrow (p ACE_ENV_ARG_PARAMETER);
-}
-
-CORBA::Object *
-IOP::CodecFactory_var::tao_upcast (void *src)
-{
- CodecFactory **tmp =
- ACE_static_cast (CodecFactory **, src);
- return *tmp;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:1030
-
-// *************************************************************
-// IOP::CodecFactory_out
-// *************************************************************
-
-IOP::CodecFactory_out::CodecFactory_out (CodecFactory_ptr &p)
- : ptr_ (p)
-{
- this->ptr_ = ::IOP::CodecFactory::_nil ();
-}
-
-IOP::CodecFactory_out::CodecFactory_out (CodecFactory_var &p)
- : ptr_ (p.out ())
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::IOP::CodecFactory::_nil ();
-}
-
-IOP::CodecFactory_out::CodecFactory_out (const ::IOP::CodecFactory_out &p)
- : ptr_ (ACE_const_cast (CodecFactory_out &, p).ptr_)
-{}
-
-::IOP::CodecFactory_out &
-IOP::CodecFactory_out::operator= (const ::IOP::CodecFactory_out &p)
-{
- this->ptr_ = ACE_const_cast (CodecFactory_out&, p).ptr_;
- return *this;
-}
-
-IOP::CodecFactory_out &
-IOP::CodecFactory_out::operator= (const ::IOP::CodecFactory_var &p)
-{
- this->ptr_ = ::IOP::CodecFactory::_duplicate (p.ptr ());
- return *this;
-}
-
-IOP::CodecFactory_out &
-IOP::CodecFactory_out::operator= (CodecFactory_ptr p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-IOP::CodecFactory_out::operator ::IOP::CodecFactory_ptr &() // cast
-{
- return this->ptr_;
-}
-
-::IOP::CodecFactory_ptr &
-IOP::CodecFactory_out::ptr (void)
-{
- return this->ptr_;
-}
-
-::IOP::CodecFactory_ptr
-IOP::CodecFactory_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:235
-
-IOP::CodecFactory::CodecFactory (void)
-{}
-
-IOP::CodecFactory::~CodecFactory (void)
-{}
-
-void
-IOP::CodecFactory::_tao_any_destructor (void *_tao_void_pointer)
-{
- CodecFactory *tmp = ACE_static_cast (CodecFactory *, _tao_void_pointer);
- CORBA::release (tmp);
-}
-
-IOP::CodecFactory_ptr
-IOP::CodecFactory::_narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL
- )
-{
- return CodecFactory::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER);
-}
-
-IOP::CodecFactory_ptr
-IOP::CodecFactory::_unchecked_narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (CORBA::is_nil (obj))
- {
- return CodecFactory::_nil ();
- }
-
- return
- ACE_reinterpret_cast (
- CodecFactory_ptr,
- obj->_tao_QueryInterface (
- ACE_reinterpret_cast (
- ptr_arith_t,
- &CodecFactory::_tao_class_id
- )
- )
- );
-}
-
-IOP::CodecFactory_ptr
-IOP::CodecFactory::_duplicate (CodecFactory_ptr obj)
-{
- if (! CORBA::is_nil (obj))
- {
- obj->_add_ref ();
- }
-
- return obj;
-}
-
-void *IOP::CodecFactory::_tao_QueryInterface (ptr_arith_t type)
-{
- void *retv = 0;
-
- if (type == ACE_reinterpret_cast (
- ptr_arith_t,
- &ACE_NESTED_CLASS (::IOP, CodecFactory)::_tao_class_id)
- )
- {
- retv = ACE_reinterpret_cast (void*, this);
- }
- else if (type == ACE_reinterpret_cast (
- ptr_arith_t,
- &CORBA::Object::_tao_class_id)
- )
- {
- retv =
- ACE_reinterpret_cast (
- void *,
- ACE_static_cast (CORBA::Object_ptr, this)
- );
- }
-
- if (retv != 0)
- {
- this->_add_ref ();
- }
-
- return retv;
-}
-
-const char* IOP::CodecFactory::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IOP/CodecFactory:1.0";
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
-
-IOP::CodecFactory::UnknownEncoding::UnknownEncoding (void)
- : CORBA::UserException (
- "IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0",
- "UnknownEncoding"
- )
-{
-}
-
-IOP::CodecFactory::UnknownEncoding::~UnknownEncoding (void)
-{
-}
-
-IOP::CodecFactory::UnknownEncoding::UnknownEncoding (const ::IOP::CodecFactory::UnknownEncoding &_tao_excp)
- : CORBA::UserException (
- _tao_excp._rep_id (),
- _tao_excp._name ()
- )
-{
-}
-
-IOP::CodecFactory::UnknownEncoding&
-IOP::CodecFactory::UnknownEncoding::operator= (const ::IOP::CodecFactory::UnknownEncoding &_tao_excp)
-{
- this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
- return *this;
-}
-
-void IOP::CodecFactory::UnknownEncoding::_tao_any_destructor (void *_tao_void_pointer)
-{
- UnknownEncoding *tmp = ACE_static_cast (UnknownEncoding*, _tao_void_pointer);
- delete tmp;
-}
-
-IOP::CodecFactory::UnknownEncoding *
-IOP::CodecFactory::UnknownEncoding::_downcast (CORBA::Exception *_tao_excp)
-{
- if (!ACE_OS::strcmp ("IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0", _tao_excp->_rep_id ()))
- {
- return ACE_dynamic_cast (UnknownEncoding *, _tao_excp);
- }
- else
- {
- return 0;
- }
-}
-
-CORBA::Exception *IOP::CodecFactory::UnknownEncoding::_alloc (void)
-{
- CORBA::Exception *retval = 0;
- ACE_NEW_RETURN (retval, ::IOP::CodecFactory::UnknownEncoding, 0);
- return retval;
-}
-
-CORBA::Exception *
-IOP::CodecFactory::UnknownEncoding::_tao_duplicate (void) const
-{
- CORBA::Exception *result;
- ACE_NEW_RETURN (
- result,
- ::IOP::CodecFactory::UnknownEncoding (*this),
- 0
- );
- return result;
-}
-
-void IOP::CodecFactory::UnknownEncoding::_raise (void)
-{
- TAO_RAISE (*this);
-}
-
-void IOP::CodecFactory::UnknownEncoding::_tao_encode (
- TAO_OutputCDR &
- ACE_ENV_ARG_DECL
- ) const
-{
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void IOP::CodecFactory::UnknownEncoding::_tao_decode (
- TAO_InputCDR &
- ACE_ENV_ARG_DECL
- )
-{
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-// TAO extension - the virtual _type method.
-CORBA::TypeCode_ptr IOP::CodecFactory::UnknownEncoding::_type (void) const
-{
- return ::IOP::CodecFactory::_tc_UnknownEncoding;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_CodecFactory_UnknownEncoding[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 49,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x63466163),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f556e6b),
- ACE_NTOHL (0x6e6f776e),
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x3a312e30),
- ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0
- 16,
- ACE_NTOHL (0x556e6b6e),
- ACE_NTOHL (0x6f776e45),
- ACE_NTOHL (0x6e636f64),
- ACE_NTOHL (0x696e6700), // name = UnknownEncoding
- 0, // member count
- };
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_CodecFactory_UnknownEncoding (
- CORBA::tk_except,
- sizeof (_oc_IOP_CodecFactory_UnknownEncoding),
- (char *) &_oc_IOP_CodecFactory_UnknownEncoding,
- 0,
- sizeof (IOP::CodecFactory::UnknownEncoding)
- );
-
-::CORBA::TypeCode_ptr IOP::CodecFactory::_tc_UnknownEncoding =
- &_tc_TAO_tc_IOP_CodecFactory_UnknownEncoding;
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
-
-static const CORBA::Long _oc_IOP_CodecFactory[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 33,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x63466163),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x3a312e30),
- ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/CodecFactory:1.0
- 13,
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x63466163),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x0), // name = CodecFactory
- };
-
-static CORBA::TypeCode _tc_TAO_tc_IOP_CodecFactory (
- CORBA::tk_objref,
- sizeof (_oc_IOP_CodecFactory),
- (char *) &_oc_IOP_CodecFactory,
- 0,
- sizeof (IOP::CodecFactory)
- );
-
-TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (
- ::CORBA::TypeCode_ptr,
- _tc_CodecFactory,
- &_tc_TAO_tc_IOP_CodecFactory
- )
-TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::TaggedProfile &_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::TaggedProfile>::insert_copy (
- _tao_any,
- IOP::TaggedProfile::_tao_any_destructor,
- IOP::_tc_TaggedProfile,
- _tao_elem
- );
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::TaggedProfile *_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::TaggedProfile>::insert (
- _tao_any,
- IOP::TaggedProfile::_tao_any_destructor,
- IOP::_tc_TaggedProfile,
- _tao_elem
- );
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- IOP::TaggedProfile *&_tao_elem
- )
-{
- return _tao_any >>= ACE_const_cast (
- const IOP::TaggedProfile *&,
- _tao_elem
- );
-}
-
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::TaggedProfile *&_tao_elem
- )
-{
- return
- TAO::Any_Dual_Impl_T<IOP::TaggedProfile>::extract (
- _tao_any,
- IOP::TaggedProfile::_tao_any_destructor,
- IOP::_tc_TaggedProfile,
- _tao_elem
- );
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
- defined (ACE_HAS_GNU_REPO)
- template class TAO::Any_Dual_Impl_T<IOP::TaggedProfile>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO::Any_Dual_Impl_T<IOP::TaggedProfile>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::IOR &_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::IOR>::insert_copy (
- _tao_any,
- IOP::IOR::_tao_any_destructor,
- IOP::_tc_IOR,
- _tao_elem
- );
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::IOR *_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::IOR>::insert (
- _tao_any,
- IOP::IOR::_tao_any_destructor,
- IOP::_tc_IOR,
- _tao_elem
- );
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- IOP::IOR *&_tao_elem
- )
-{
- return _tao_any >>= ACE_const_cast (
- const IOP::IOR *&,
- _tao_elem
- );
-}
-
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::IOR *&_tao_elem
- )
-{
- return
- TAO::Any_Dual_Impl_T<IOP::IOR>::extract (
- _tao_any,
- IOP::IOR::_tao_any_destructor,
- IOP::_tc_IOR,
- _tao_elem
- );
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
- defined (ACE_HAS_GNU_REPO)
- template class TAO::Any_Dual_Impl_T<IOP::IOR>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO::Any_Dual_Impl_T<IOP::IOR>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::TaggedComponent &_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::TaggedComponent>::insert_copy (
- _tao_any,
- IOP::TaggedComponent::_tao_any_destructor,
- IOP::_tc_TaggedComponent,
- _tao_elem
- );
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::TaggedComponent *_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::TaggedComponent>::insert (
- _tao_any,
- IOP::TaggedComponent::_tao_any_destructor,
- IOP::_tc_TaggedComponent,
- _tao_elem
- );
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- IOP::TaggedComponent *&_tao_elem
- )
-{
- return _tao_any >>= ACE_const_cast (
- const IOP::TaggedComponent *&,
- _tao_elem
- );
-}
-
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::TaggedComponent *&_tao_elem
- )
-{
- return
- TAO::Any_Dual_Impl_T<IOP::TaggedComponent>::extract (
- _tao_any,
- IOP::TaggedComponent::_tao_any_destructor,
- IOP::_tc_TaggedComponent,
- _tao_elem
- );
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
- defined (ACE_HAS_GNU_REPO)
- template class TAO::Any_Dual_Impl_T<IOP::TaggedComponent>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO::Any_Dual_Impl_T<IOP::TaggedComponent>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::MultipleComponentProfile &_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>::insert_copy (
- _tao_any,
- IOP::MultipleComponentProfile::_tao_any_destructor,
- IOP::_tc_MultipleComponentProfile,
- _tao_elem
- );
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::MultipleComponentProfile *_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>::insert (
- _tao_any,
- IOP::MultipleComponentProfile::_tao_any_destructor,
- IOP::_tc_MultipleComponentProfile,
- _tao_elem
- );
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- IOP::MultipleComponentProfile *&_tao_elem
- )
-{
- return _tao_any >>= ACE_const_cast (
- const IOP::MultipleComponentProfile *&,
- _tao_elem
- );
-}
-
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::MultipleComponentProfile *&_tao_elem
- )
-{
- return
- TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>::extract (
- _tao_any,
- IOP::MultipleComponentProfile::_tao_any_destructor,
- IOP::_tc_MultipleComponentProfile,
- _tao_elem
- );
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
- defined (ACE_HAS_GNU_REPO)
- template class TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::TaggedComponentList &_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>::insert_copy (
- _tao_any,
- IOP::TaggedComponentList::_tao_any_destructor,
- IOP::_tc_TaggedComponentList,
- _tao_elem
- );
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::TaggedComponentList *_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>::insert (
- _tao_any,
- IOP::TaggedComponentList::_tao_any_destructor,
- IOP::_tc_TaggedComponentList,
- _tao_elem
- );
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- IOP::TaggedComponentList *&_tao_elem
- )
-{
- return _tao_any >>= ACE_const_cast (
- const IOP::TaggedComponentList *&,
- _tao_elem
- );
-}
-
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::TaggedComponentList *&_tao_elem
- )
-{
- return
- TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>::extract (
- _tao_any,
- IOP::TaggedComponentList::_tao_any_destructor,
- IOP::_tc_TaggedComponentList,
- _tao_elem
- );
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
- defined (ACE_HAS_GNU_REPO)
- template class TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::TaggedComponentSeq &_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>::insert_copy (
- _tao_any,
- IOP::TaggedComponentSeq::_tao_any_destructor,
- IOP::_tc_TaggedComponentSeq,
- _tao_elem
- );
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::TaggedComponentSeq *_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>::insert (
- _tao_any,
- IOP::TaggedComponentSeq::_tao_any_destructor,
- IOP::_tc_TaggedComponentSeq,
- _tao_elem
- );
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- IOP::TaggedComponentSeq *&_tao_elem
- )
-{
- return _tao_any >>= ACE_const_cast (
- const IOP::TaggedComponentSeq *&,
- _tao_elem
- );
-}
-
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::TaggedComponentSeq *&_tao_elem
- )
-{
- return
- TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>::extract (
- _tao_any,
- IOP::TaggedComponentSeq::_tao_any_destructor,
- IOP::_tc_TaggedComponentSeq,
- _tao_elem
- );
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
- defined (ACE_HAS_GNU_REPO)
- template class TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::ServiceContext &_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::ServiceContext>::insert_copy (
- _tao_any,
- IOP::ServiceContext::_tao_any_destructor,
- IOP::_tc_ServiceContext,
- _tao_elem
- );
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::ServiceContext *_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::ServiceContext>::insert (
- _tao_any,
- IOP::ServiceContext::_tao_any_destructor,
- IOP::_tc_ServiceContext,
- _tao_elem
- );
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- IOP::ServiceContext *&_tao_elem
- )
-{
- return _tao_any >>= ACE_const_cast (
- const IOP::ServiceContext *&,
- _tao_elem
- );
-}
-
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::ServiceContext *&_tao_elem
- )
-{
- return
- TAO::Any_Dual_Impl_T<IOP::ServiceContext>::extract (
- _tao_any,
- IOP::ServiceContext::_tao_any_destructor,
- IOP::_tc_ServiceContext,
- _tao_elem
- );
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
- defined (ACE_HAS_GNU_REPO)
- template class TAO::Any_Dual_Impl_T<IOP::ServiceContext>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO::Any_Dual_Impl_T<IOP::ServiceContext>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::ServiceContextList &_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::ServiceContextList>::insert_copy (
- _tao_any,
- IOP::ServiceContextList::_tao_any_destructor,
- IOP::_tc_ServiceContextList,
- _tao_elem
- );
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::ServiceContextList *_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::ServiceContextList>::insert (
- _tao_any,
- IOP::ServiceContextList::_tao_any_destructor,
- IOP::_tc_ServiceContextList,
- _tao_elem
- );
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- IOP::ServiceContextList *&_tao_elem
- )
-{
- return _tao_any >>= ACE_const_cast (
- const IOP::ServiceContextList *&,
- _tao_elem
- );
-}
-
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::ServiceContextList *&_tao_elem
- )
-{
- return
- TAO::Any_Dual_Impl_T<IOP::ServiceContextList>::extract (
- _tao_any,
- IOP::ServiceContextList::_tao_any_destructor,
- IOP::_tc_ServiceContextList,
- _tao_elem
- );
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
- defined (ACE_HAS_GNU_REPO)
- template class TAO::Any_Dual_Impl_T<IOP::ServiceContextList>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO::Any_Dual_Impl_T<IOP::ServiceContextList>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:52
-
-// Copying insertion.
-void
-operator<<= (
- CORBA::Any &_tao_any,
- IOP::Codec_ptr _tao_elem
- )
-{
- IOP::Codec_ptr _tao_objptr =
- IOP::Codec::_duplicate (_tao_elem);
- _tao_any <<= &_tao_objptr;
-}
-
-// Non-copying insertion.
-void
-operator<<= (
- CORBA::Any &_tao_any,
- IOP::Codec_ptr *_tao_elem
- )
-{
- TAO::Any_Impl_T<IOP::Codec>::insert (
- _tao_any,
- IOP::Codec::_tao_any_destructor,
- IOP::_tc_Codec,
- *_tao_elem
- );
-}
-
-CORBA::Boolean
-operator>>= (
- const CORBA::Any &_tao_any,
- IOP::Codec_ptr &_tao_elem
- )
-{
- return
- TAO::Any_Impl_T<IOP::Codec>::extract (
- _tao_any,
- IOP::Codec::_tao_any_destructor,
- IOP::_tc_Codec,
- _tao_elem
- );
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
- defined (ACE_HAS_GNU_REPO)
- template class TAO_Object_Manager<IOP::Codec,IOP::Codec_var>;
- template class TAO::Any_Impl_T<IOP::Codec>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO_Object_Manager<IOP::Codec, IOP::Codec_var>
-# pragma instantiate TAO::Any_Impl_T<IOP::Codec>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::Encoding &_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::Encoding>::insert_copy (
- _tao_any,
- IOP::Encoding::_tao_any_destructor,
- IOP::_tc_Encoding,
- _tao_elem
- );
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::Encoding *_tao_elem
- )
-{
- TAO::Any_Dual_Impl_T<IOP::Encoding>::insert (
- _tao_any,
- IOP::Encoding::_tao_any_destructor,
- IOP::_tc_Encoding,
- _tao_elem
- );
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- IOP::Encoding *&_tao_elem
- )
-{
- return _tao_any >>= ACE_const_cast (
- const IOP::Encoding *&,
- _tao_elem
- );
-}
-
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::Encoding *&_tao_elem
- )
-{
- return
- TAO::Any_Dual_Impl_T<IOP::Encoding>::extract (
- _tao_any,
- IOP::Encoding::_tao_any_destructor,
- IOP::_tc_Encoding,
- _tao_elem
- );
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
- defined (ACE_HAS_GNU_REPO)
- template class TAO::Any_Dual_Impl_T<IOP::Encoding>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO::Any_Dual_Impl_T<IOP::Encoding>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:52
-
-// Copying insertion.
-void
-operator<<= (
- CORBA::Any &_tao_any,
- IOP::CodecFactory_ptr _tao_elem
- )
-{
- IOP::CodecFactory_ptr _tao_objptr =
- IOP::CodecFactory::_duplicate (_tao_elem);
- _tao_any <<= &_tao_objptr;
-}
-
-// Non-copying insertion.
-void
-operator<<= (
- CORBA::Any &_tao_any,
- IOP::CodecFactory_ptr *_tao_elem
- )
-{
- TAO::Any_Impl_T<IOP::CodecFactory>::insert (
- _tao_any,
- IOP::CodecFactory::_tao_any_destructor,
- IOP::_tc_CodecFactory,
- *_tao_elem
- );
-}
-
-CORBA::Boolean
-operator>>= (
- const CORBA::Any &_tao_any,
- IOP::CodecFactory_ptr &_tao_elem
- )
-{
- return
- TAO::Any_Impl_T<IOP::CodecFactory>::extract (
- _tao_any,
- IOP::CodecFactory::_tao_any_destructor,
- IOP::_tc_CodecFactory,
- _tao_elem
- );
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
- defined (ACE_HAS_GNU_REPO)
- template class TAO_Object_Manager<IOP::CodecFactory,IOP::CodecFactory_var>;
- template class TAO::Any_Impl_T<IOP::CodecFactory>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO_Object_Manager<IOP::CodecFactory, IOP::CodecFactory_var>
-# pragma instantiate TAO::Any_Impl_T<IOP::CodecFactory>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
-
-#if !defined _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_CPP_
-#define _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_CPP_
-
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::TaggedProfile::_tao_seq_Octet &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len = _tao_sequence.length ();
-
- if (strm << _tao_seq_len)
- {
- // Encode all elements.
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- {
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
- ACE_static_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (IOP::TaggedProfile::_tao_seq_Octet *)&_tao_sequence);
- if (oseq->mb ())
- return strm.write_octet_array_mb (oseq->mb ());
- else
- return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
- }
-
-#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
-
- return 0;
-}
-
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::TaggedProfile::_tao_seq_Octet &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len;
-
- if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 58.)
- if (_tao_seq_len > strm.length ())
- {
- return 0;
- }
-
- // Set the length of the sequence.
- _tao_sequence.length (_tao_seq_len);
-
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- {
- return 1;
- }
-
- // Retrieve all the elements.
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- if (ACE_BIT_DISABLED (strm.start ()->flags (),
- ACE_Message_Block::DONT_DELETE))
- {
- TAO_ORB_Core* orb_core = strm.orb_core ();
- if (orb_core != 0 &&
- strm.orb_core ()->resource_factory ()->
- input_cdr_allocator_type_locked () == 1)
- {
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
- ACE_static_cast(TAO_Unbounded_Sequence<CORBA::Octet>*, &_tao_sequence);
- oseq->replace (_tao_seq_len, strm.start ());
- oseq->mb ()->wr_ptr (oseq->mb()->rd_ptr () + _tao_seq_len);
- strm.skip_bytes (_tao_seq_len);
- return 1;
- }
- }
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_seq_len);
-#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
-
- return 0;
-}
-
-#endif /* _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_CPP_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
-
-#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_CPP_
-#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_CPP_
-
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::IOR::_tao_seq_TaggedProfile &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len = _tao_sequence.length ();
-
- if (strm << _tao_seq_len)
- {
- // Encode all elements.
- CORBA::Boolean _tao_marshal_flag = 1;
-
- for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
- {
- _tao_marshal_flag = (strm << _tao_sequence[i]);
- }
-
- return _tao_marshal_flag;
- }
-
- return 0;
-}
-
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::IOR::_tao_seq_TaggedProfile &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len;
-
- if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 58.)
- if (_tao_seq_len > strm.length ())
- {
- return 0;
- }
-
- // Set the length of the sequence.
- _tao_sequence.length (_tao_seq_len);
-
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- {
- return 1;
- }
-
- // Retrieve all the elements.
- CORBA::Boolean _tao_marshal_flag = 1;
-
- for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
- {
- _tao_marshal_flag = (strm >> _tao_sequence[i]);
- }
-
- return _tao_marshal_flag;
- }
-
- return 0;
-}
-
-#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_CPP_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
-
-#if !defined _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_CPP_
-#define _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_CPP_
-
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::TaggedComponent::_tao_seq_Octet &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len = _tao_sequence.length ();
-
- if (strm << _tao_seq_len)
- {
- // Encode all elements.
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- {
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
- ACE_static_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (IOP::TaggedComponent::_tao_seq_Octet *)&_tao_sequence);
- if (oseq->mb ())
- return strm.write_octet_array_mb (oseq->mb ());
- else
- return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
- }
-
-#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
-
- return 0;
-}
-
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::TaggedComponent::_tao_seq_Octet &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len;
-
- if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 58.)
- if (_tao_seq_len > strm.length ())
- {
- return 0;
- }
-
- // Set the length of the sequence.
- _tao_sequence.length (_tao_seq_len);
-
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- {
- return 1;
- }
-
- // Retrieve all the elements.
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- if (ACE_BIT_DISABLED (strm.start ()->flags (),
- ACE_Message_Block::DONT_DELETE))
- {
- TAO_ORB_Core* orb_core = strm.orb_core ();
- if (orb_core != 0 &&
- strm.orb_core ()->resource_factory ()->
- input_cdr_allocator_type_locked () == 1)
- {
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
- ACE_static_cast(TAO_Unbounded_Sequence<CORBA::Octet>*, &_tao_sequence);
- oseq->replace (_tao_seq_len, strm.start ());
- oseq->mb ()->wr_ptr (oseq->mb()->rd_ptr () + _tao_seq_len);
- strm.skip_bytes (_tao_seq_len);
- return 1;
- }
- }
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_seq_len);
-#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
-
- return 0;
-}
-
-#endif /* _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_CPP_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
-
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::MultipleComponentProfile &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len = _tao_sequence.length ();
-
- if (strm << _tao_seq_len)
- {
- // Encode all elements.
- CORBA::Boolean _tao_marshal_flag = 1;
-
- for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
- {
- _tao_marshal_flag = (strm << _tao_sequence[i]);
- }
-
- return _tao_marshal_flag;
- }
-
- return 0;
-}
-
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::MultipleComponentProfile &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len;
-
- if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 58.)
- if (_tao_seq_len > strm.length ())
- {
- return 0;
- }
-
- // Set the length of the sequence.
- _tao_sequence.length (_tao_seq_len);
-
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- {
- return 1;
- }
-
- // Retrieve all the elements.
- CORBA::Boolean _tao_marshal_flag = 1;
-
- for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
- {
- _tao_marshal_flag = (strm >> _tao_sequence[i]);
- }
-
- return _tao_marshal_flag;
- }
-
- return 0;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
-
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::TaggedComponentList &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len = _tao_sequence.length ();
-
- if (strm << _tao_seq_len)
- {
- // Encode all elements.
- CORBA::Boolean _tao_marshal_flag = 1;
-
- for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
- {
- _tao_marshal_flag = (strm << _tao_sequence[i]);
- }
-
- return _tao_marshal_flag;
- }
-
- return 0;
-}
-
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::TaggedComponentList &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len;
-
- if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 58.)
- if (_tao_seq_len > strm.length ())
- {
- return 0;
- }
-
- // Set the length of the sequence.
- _tao_sequence.length (_tao_seq_len);
-
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- {
- return 1;
- }
-
- // Retrieve all the elements.
- CORBA::Boolean _tao_marshal_flag = 1;
-
- for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
- {
- _tao_marshal_flag = (strm >> _tao_sequence[i]);
- }
-
- return _tao_marshal_flag;
- }
-
- return 0;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
-
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::TaggedComponentSeq &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len = _tao_sequence.length ();
-
- if (strm << _tao_seq_len)
- {
- // Encode all elements.
- CORBA::Boolean _tao_marshal_flag = 1;
-
- for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
- {
- _tao_marshal_flag = (strm << _tao_sequence[i]);
- }
-
- return _tao_marshal_flag;
- }
-
- return 0;
-}
-
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::TaggedComponentSeq &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len;
-
- if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 58.)
- if (_tao_seq_len > strm.length ())
- {
- return 0;
- }
-
- // Set the length of the sequence.
- _tao_sequence.length (_tao_seq_len);
-
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- {
- return 1;
- }
-
- // Retrieve all the elements.
- CORBA::Boolean _tao_marshal_flag = 1;
-
- for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
- {
- _tao_marshal_flag = (strm >> _tao_sequence[i]);
- }
-
- return _tao_marshal_flag;
- }
-
- return 0;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
-
-#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_CPP_
-#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_CPP_
-
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::ServiceContext::_tao_seq_Octet &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len = _tao_sequence.length ();
-
- if (strm << _tao_seq_len)
- {
- // Encode all elements.
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- {
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
- ACE_static_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (IOP::ServiceContext::_tao_seq_Octet *)&_tao_sequence);
- if (oseq->mb ())
- return strm.write_octet_array_mb (oseq->mb ());
- else
- return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
- }
-
-#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
-
- return 0;
-}
-
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::ServiceContext::_tao_seq_Octet &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len;
-
- if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 58.)
- if (_tao_seq_len > strm.length ())
- {
- return 0;
- }
-
- // Set the length of the sequence.
- _tao_sequence.length (_tao_seq_len);
-
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- {
- return 1;
- }
-
- // Retrieve all the elements.
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- if (ACE_BIT_DISABLED (strm.start ()->flags (),
- ACE_Message_Block::DONT_DELETE))
- {
- TAO_ORB_Core* orb_core = strm.orb_core ();
- if (orb_core != 0 &&
- strm.orb_core ()->resource_factory ()->
- input_cdr_allocator_type_locked () == 1)
- {
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
- ACE_static_cast(TAO_Unbounded_Sequence<CORBA::Octet>*, &_tao_sequence);
- oseq->replace (_tao_seq_len, strm.start ());
- oseq->mb ()->wr_ptr (oseq->mb()->rd_ptr () + _tao_seq_len);
- strm.skip_bytes (_tao_seq_len);
- return 1;
- }
- }
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_seq_len);
-#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
-
- return 0;
-}
-
-#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_CPP_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
-
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::ServiceContextList &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len = _tao_sequence.length ();
-
- if (strm << _tao_seq_len)
- {
- // Encode all elements.
- CORBA::Boolean _tao_marshal_flag = 1;
-
- for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
- {
- _tao_marshal_flag = (strm << _tao_sequence[i]);
- }
-
- return _tao_marshal_flag;
- }
-
- return 0;
-}
-
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::ServiceContextList &_tao_sequence
- )
-{
- CORBA::ULong _tao_seq_len;
-
- if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 58.)
- if (_tao_seq_len > strm.length ())
- {
- return 0;
- }
-
- // Set the length of the sequence.
- _tao_sequence.length (_tao_seq_len);
-
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- {
- return 1;
- }
-
- // Retrieve all the elements.
- CORBA::Boolean _tao_marshal_flag = 1;
-
- for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
- {
- _tao_marshal_flag = (strm >> _tao_sequence[i]);
- }
-
- return _tao_marshal_flag;
- }
-
- return 0;
-}
-
diff --git a/TAO/tao/IOPC.h b/TAO/tao/IOPC.h
index 21815aa277f..9d4e79b9ff6 100644
--- a/TAO/tao/IOPC.h
+++ b/TAO/tao/IOPC.h
@@ -20,22 +20,23 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:151
+// be/be_codegen.cpp:151
#ifndef _TAO_IDL_ORIG_IOPC_H_
#define _TAO_IDL_ORIG_IOPC_H_
#include "ace/pre.h"
+
#include "tao/corbafwd.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/TAO_Export.h"
-#include "Exception.h"
-#include "Object.h"
-#include "Any_T.h"
+
+#include "TAO_Export.h"
+#include "IOP_IORC.h"
+#include "IOP_CodecC.h"
#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
@@ -61,2385 +62,17 @@
#endif /* __BORLANDC__ */
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48
-
-TAO_NAMESPACE IOP
-{
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334
-
- typedef CORBA::ULong ProfileId;
- typedef CORBA::ULong_out ProfileId_out;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ProfileId;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_INTERNET_IOP = 0U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_MULTIPLE_COMPONENTS = 1U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49
-
- class TaggedProfile_var;
-
- struct TAO_Export TaggedProfile
- {
- typedef TaggedProfile_var _var_type;
-
- static void _tao_any_destructor (void *);
- IOP::ProfileId tag;
-
-
-#if !defined (_IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CH_)
-#define _IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
-
- class _tao_seq_Octet;
-
- // *************************************************************
- // IOP::TaggedProfile::_tao_seq_Octet
- // *************************************************************
-
- class TAO_Export _tao_seq_Octet : public
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- {
- public:
- _tao_seq_Octet (void);
- _tao_seq_Octet (CORBA::ULong max);
- _tao_seq_Octet (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
- CORBA::Boolean release = 0
- );
- _tao_seq_Octet (const _tao_seq_Octet &);
- ~_tao_seq_Octet (void);
-
- static void _tao_any_destructor (void*);
-
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- _tao_seq_Octet (
- CORBA::ULong length,
- const ACE_Message_Block* mb
- )
- : TAO_Unbounded_Sequence<CORBA::Octet> (length, mb) {}
-#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447
-
- typedef _tao_seq_Octet _profile_data_seq;
- _tao_seq_Octet profile_data;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71
-
- class TAO_Export TaggedProfile_var
- {
- public:
- TaggedProfile_var (void);
- TaggedProfile_var (TaggedProfile *);
- TaggedProfile_var (const TaggedProfile_var &);
- ~TaggedProfile_var (void);
-
- TaggedProfile_var &operator= (TaggedProfile *);
- TaggedProfile_var &operator= (const TaggedProfile_var &);
- TaggedProfile *operator-> (void);
- const TaggedProfile *operator-> (void) const;
-
- operator const TaggedProfile &() const;
- operator TaggedProfile &();
- operator TaggedProfile &() const;
-
- // Variable-size types only.
- operator TaggedProfile *&();
-
- // in, inout, out, _retn
- const TaggedProfile &in (void) const;
- TaggedProfile &inout (void);
- TaggedProfile *&out (void);
- TaggedProfile *_retn (void);
- TaggedProfile *ptr (void) const;
-
- private:
- TaggedProfile *ptr_;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445
-
- class TAO_Export TaggedProfile_out
- {
- public:
- TaggedProfile_out (TaggedProfile *&);
- TaggedProfile_out (TaggedProfile_var &);
- TaggedProfile_out (const TaggedProfile_out &);
- TaggedProfile_out &operator= (const TaggedProfile_out &);
- TaggedProfile_out &operator= (TaggedProfile *);
- operator TaggedProfile *&();
- TaggedProfile *&ptr (void);
- TaggedProfile *operator-> (void);
-
- private:
- TaggedProfile *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const TaggedProfile_var &);
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedProfile;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49
-
- class IOR_var;
-
- struct TAO_Export IOR
- {
- typedef IOR_var _var_type;
-
- static void _tao_any_destructor (void *);
- TAO_String_Manager type_id;
-
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_
-
- class TAO_Export _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile
- : public TAO_Unbounded_Base_Sequence
- {
- public:
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void);
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (CORBA::ULong maximum);
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (
- CORBA::ULong maximum,
- CORBA::ULong length,
- ACE_NESTED_CLASS (IOP, TaggedProfile) *data,
- CORBA::Boolean release = 0
- );
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (
- const _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &rhs
- );
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &operator= (
- const _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &rhs
- );
- virtual ~_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void);
-
- // = Accessors.
- ACE_NESTED_CLASS (IOP, TaggedProfile) &operator[] (CORBA::ULong i);
- const ACE_NESTED_CLASS (IOP, TaggedProfile) &operator[] (CORBA::ULong i) const;
-
- // = Static operations.
- static ACE_NESTED_CLASS (IOP, TaggedProfile) *allocbuf (CORBA::ULong size);
- static void freebuf (ACE_NESTED_CLASS (IOP, TaggedProfile) *buffer);
-
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
- virtual void _allocate_buffer (CORBA::ULong length);
- virtual void _deallocate_buffer (void);
- ACE_NESTED_CLASS (IOP, TaggedProfile) *get_buffer (CORBA::Boolean orphan = 0);
- const ACE_NESTED_CLASS (IOP, TaggedProfile) *get_buffer (void) const;
- void replace (
- CORBA::ULong max,
- CORBA::ULong length,
- ACE_NESTED_CLASS (IOP, TaggedProfile) *data,
- CORBA::Boolean release
- );
- };
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_)
-#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
-
- class _tao_seq_TaggedProfile;
-
- // *************************************************************
- // IOP::IOR::_tao_seq_TaggedProfile
- // *************************************************************
-
- class TAO_Export _tao_seq_TaggedProfile : public
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<ACE_NESTED_CLASS (IOP, TaggedProfile)>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- {
- public:
- _tao_seq_TaggedProfile (void);
- _tao_seq_TaggedProfile (CORBA::ULong max);
- _tao_seq_TaggedProfile (
- CORBA::ULong max,
- CORBA::ULong length,
- ACE_NESTED_CLASS (IOP, TaggedProfile) *buffer,
- CORBA::Boolean release = 0
- );
- _tao_seq_TaggedProfile (const _tao_seq_TaggedProfile &);
- ~_tao_seq_TaggedProfile (void);
-
- static void _tao_any_destructor (void*);
-
-
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447
-
- typedef _tao_seq_TaggedProfile _profiles_seq;
- _tao_seq_TaggedProfile profiles;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71
-
- class TAO_Export IOR_var
- {
- public:
- IOR_var (void);
- IOR_var (IOR *);
- IOR_var (const IOR_var &);
- ~IOR_var (void);
-
- IOR_var &operator= (IOR *);
- IOR_var &operator= (const IOR_var &);
- IOR *operator-> (void);
- const IOR *operator-> (void) const;
-
- operator const IOR &() const;
- operator IOR &();
- operator IOR &() const;
-
- // Variable-size types only.
- operator IOR *&();
-
- // in, inout, out, _retn
- const IOR &in (void) const;
- IOR &inout (void);
- IOR *&out (void);
- IOR *_retn (void);
- IOR *ptr (void) const;
-
- private:
- IOR *ptr_;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445
-
- class TAO_Export IOR_out
- {
- public:
- IOR_out (IOR *&);
- IOR_out (IOR_var &);
- IOR_out (const IOR_out &);
- IOR_out &operator= (const IOR_out &);
- IOR_out &operator= (IOR *);
- operator IOR *&();
- IOR *&ptr (void);
- IOR *operator-> (void);
-
- private:
- IOR *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const IOR_var &);
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_IOR;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334
-
- typedef CORBA::ULong ComponentId;
- typedef CORBA::ULong_out ComponentId_out;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ComponentId;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49
-
- class TaggedComponent_var;
-
- struct TAO_Export TaggedComponent
- {
- typedef TaggedComponent_var _var_type;
-
- static void _tao_any_destructor (void *);
- IOP::ComponentId tag;
-
-
-#if !defined (_IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CH_)
-#define _IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
-
- class _tao_seq_Octet;
-
- // *************************************************************
- // IOP::TaggedComponent::_tao_seq_Octet
- // *************************************************************
-
- class TAO_Export _tao_seq_Octet : public
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- {
- public:
- _tao_seq_Octet (void);
- _tao_seq_Octet (CORBA::ULong max);
- _tao_seq_Octet (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
- CORBA::Boolean release = 0
- );
- _tao_seq_Octet (const _tao_seq_Octet &);
- ~_tao_seq_Octet (void);
-
- static void _tao_any_destructor (void*);
-
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- _tao_seq_Octet (
- CORBA::ULong length,
- const ACE_Message_Block* mb
- )
- : TAO_Unbounded_Sequence<CORBA::Octet> (length, mb) {}
-#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447
-
- typedef _tao_seq_Octet _component_data_seq;
- _tao_seq_Octet component_data;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71
-
- class TAO_Export TaggedComponent_var
- {
- public:
- TaggedComponent_var (void);
- TaggedComponent_var (TaggedComponent *);
- TaggedComponent_var (const TaggedComponent_var &);
- ~TaggedComponent_var (void);
-
- TaggedComponent_var &operator= (TaggedComponent *);
- TaggedComponent_var &operator= (const TaggedComponent_var &);
- TaggedComponent *operator-> (void);
- const TaggedComponent *operator-> (void) const;
-
- operator const TaggedComponent &() const;
- operator TaggedComponent &();
- operator TaggedComponent &() const;
-
- // Variable-size types only.
- operator TaggedComponent *&();
-
- // in, inout, out, _retn
- const TaggedComponent &in (void) const;
- TaggedComponent &inout (void);
- TaggedComponent *&out (void);
- TaggedComponent *_retn (void);
- TaggedComponent *ptr (void) const;
-
- private:
- TaggedComponent *ptr_;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445
-
- class TAO_Export TaggedComponent_out
- {
- public:
- TaggedComponent_out (TaggedComponent *&);
- TaggedComponent_out (TaggedComponent_var &);
- TaggedComponent_out (const TaggedComponent_out &);
- TaggedComponent_out &operator= (const TaggedComponent_out &);
- TaggedComponent_out &operator= (TaggedComponent *);
- operator TaggedComponent *&();
- TaggedComponent *&ptr (void);
- TaggedComponent *operator-> (void);
-
- private:
- TaggedComponent *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const TaggedComponent_var &);
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponent;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CH_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CH_
-
- class TAO_Export _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile
- : public TAO_Unbounded_Base_Sequence
- {
- public:
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void);
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum);
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (
- CORBA::ULong maximum,
- CORBA::ULong length,
- TaggedComponent *data,
- CORBA::Boolean release = 0
- );
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (
- const _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &rhs
- );
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &operator= (
- const _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &rhs
- );
- virtual ~_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void);
-
- // = Accessors.
- TaggedComponent &operator[] (CORBA::ULong i);
- const TaggedComponent &operator[] (CORBA::ULong i) const;
-
- // = Static operations.
- static TaggedComponent *allocbuf (CORBA::ULong size);
- static void freebuf (TaggedComponent *buffer);
-
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
- virtual void _allocate_buffer (CORBA::ULong length);
- virtual void _deallocate_buffer (void);
- TaggedComponent *get_buffer (CORBA::Boolean orphan = 0);
- const TaggedComponent *get_buffer (void) const;
- void replace (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *data,
- CORBA::Boolean release
- );
- };
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CH_)
-#define _IOP_MULTIPLECOMPONENTPROFILE_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
-
- class MultipleComponentProfile;
- class MultipleComponentProfile_var;
-
- // *************************************************************
- // IOP::MultipleComponentProfile
- // *************************************************************
-
- class TAO_Export MultipleComponentProfile : public
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- {
- public:
- MultipleComponentProfile (void);
- MultipleComponentProfile (CORBA::ULong max);
- MultipleComponentProfile (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *buffer,
- CORBA::Boolean release = 0
- );
- MultipleComponentProfile (const MultipleComponentProfile &);
- ~MultipleComponentProfile (void);
-
- static void _tao_any_destructor (void*);
-
- typedef MultipleComponentProfile_var _var_type;
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_IOP_MULTIPLECOMPONENTPROFILE___VAR_CH_)
-#define _IOP_MULTIPLECOMPONENTPROFILE___VAR_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549
-
- // *************************************************************
- // class IOP::MultipleComponentProfile_var
- // *************************************************************
-
- class TAO_Export MultipleComponentProfile_var
- {
- public:
- MultipleComponentProfile_var (void);
- MultipleComponentProfile_var (MultipleComponentProfile *);
- MultipleComponentProfile_var (const MultipleComponentProfile_var &);
- ~MultipleComponentProfile_var (void);
-
- MultipleComponentProfile_var &operator= (MultipleComponentProfile *);
- MultipleComponentProfile_var &operator= (const MultipleComponentProfile_var &);
- MultipleComponentProfile *operator-> (void);
- const MultipleComponentProfile *operator-> (void) const;
-
- operator const MultipleComponentProfile &() const;
- operator MultipleComponentProfile &();
- operator MultipleComponentProfile &() const;
-
- // Variable-size base types only.
- operator MultipleComponentProfile *&();
-
- TaggedComponent & operator[] (CORBA::ULong index);
- const TaggedComponent & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
- const MultipleComponentProfile &in (void) const;
- MultipleComponentProfile &inout (void);
- MultipleComponentProfile *&out (void);
- MultipleComponentProfile *_retn (void);
- MultipleComponentProfile *ptr (void) const;
-
- private:
- MultipleComponentProfile *ptr_;
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_IOP_MULTIPLECOMPONENTPROFILE___OUT_CH_)
-#define _IOP_MULTIPLECOMPONENTPROFILE___OUT_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753
-
- class TAO_Export MultipleComponentProfile_out
- {
- public:
- MultipleComponentProfile_out (MultipleComponentProfile *&);
- MultipleComponentProfile_out (MultipleComponentProfile_var &);
- MultipleComponentProfile_out (const MultipleComponentProfile_out &);
- MultipleComponentProfile_out &operator= (const MultipleComponentProfile_out &);
- MultipleComponentProfile_out &operator= (MultipleComponentProfile *);
- operator MultipleComponentProfile *&();
- MultipleComponentProfile *&ptr (void);
- MultipleComponentProfile *operator-> (void);
- TaggedComponent & operator[] (CORBA::ULong index);
-
- private:
- MultipleComponentProfile *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const MultipleComponentProfile_var &);
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_MultipleComponentProfile;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CH_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CH_
-
- class TAO_Export _TAO_Unbounded_Sequence_IOP_TaggedComponentList
- : public TAO_Unbounded_Base_Sequence
- {
- public:
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList (void);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList (
- CORBA::ULong maximum,
- CORBA::ULong length,
- TaggedComponent *data,
- CORBA::Boolean release = 0
- );
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentList &rhs
- );
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList &operator= (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentList &rhs
- );
- virtual ~_TAO_Unbounded_Sequence_IOP_TaggedComponentList (void);
-
- // = Accessors.
- TaggedComponent &operator[] (CORBA::ULong i);
- const TaggedComponent &operator[] (CORBA::ULong i) const;
-
- // = Static operations.
- static TaggedComponent *allocbuf (CORBA::ULong size);
- static void freebuf (TaggedComponent *buffer);
-
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
- virtual void _allocate_buffer (CORBA::ULong length);
- virtual void _deallocate_buffer (void);
- TaggedComponent *get_buffer (CORBA::Boolean orphan = 0);
- const TaggedComponent *get_buffer (void) const;
- void replace (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *data,
- CORBA::Boolean release
- );
- };
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_TAGGEDCOMPONENTLIST_CH_)
-#define _IOP_TAGGEDCOMPONENTLIST_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
-
- class TaggedComponentList;
- class TaggedComponentList_var;
-
- // *************************************************************
- // IOP::TaggedComponentList
- // *************************************************************
-
- class TAO_Export TaggedComponentList : public
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- {
- public:
- TaggedComponentList (void);
- TaggedComponentList (CORBA::ULong max);
- TaggedComponentList (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *buffer,
- CORBA::Boolean release = 0
- );
- TaggedComponentList (const TaggedComponentList &);
- ~TaggedComponentList (void);
-
- static void _tao_any_destructor (void*);
-
- typedef TaggedComponentList_var _var_type;
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_IOP_TAGGEDCOMPONENTLIST___VAR_CH_)
-#define _IOP_TAGGEDCOMPONENTLIST___VAR_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549
-
- // *************************************************************
- // class IOP::TaggedComponentList_var
- // *************************************************************
-
- class TAO_Export TaggedComponentList_var
- {
- public:
- TaggedComponentList_var (void);
- TaggedComponentList_var (TaggedComponentList *);
- TaggedComponentList_var (const TaggedComponentList_var &);
- ~TaggedComponentList_var (void);
-
- TaggedComponentList_var &operator= (TaggedComponentList *);
- TaggedComponentList_var &operator= (const TaggedComponentList_var &);
- TaggedComponentList *operator-> (void);
- const TaggedComponentList *operator-> (void) const;
-
- operator const TaggedComponentList &() const;
- operator TaggedComponentList &();
- operator TaggedComponentList &() const;
-
- // Variable-size base types only.
- operator TaggedComponentList *&();
-
- TaggedComponent & operator[] (CORBA::ULong index);
- const TaggedComponent & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
- const TaggedComponentList &in (void) const;
- TaggedComponentList &inout (void);
- TaggedComponentList *&out (void);
- TaggedComponentList *_retn (void);
- TaggedComponentList *ptr (void) const;
-
- private:
- TaggedComponentList *ptr_;
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_IOP_TAGGEDCOMPONENTLIST___OUT_CH_)
-#define _IOP_TAGGEDCOMPONENTLIST___OUT_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753
-
- class TAO_Export TaggedComponentList_out
- {
- public:
- TaggedComponentList_out (TaggedComponentList *&);
- TaggedComponentList_out (TaggedComponentList_var &);
- TaggedComponentList_out (const TaggedComponentList_out &);
- TaggedComponentList_out &operator= (const TaggedComponentList_out &);
- TaggedComponentList_out &operator= (TaggedComponentList *);
- operator TaggedComponentList *&();
- TaggedComponentList *&ptr (void);
- TaggedComponentList *operator-> (void);
- TaggedComponent & operator[] (CORBA::ULong index);
-
- private:
- TaggedComponentList *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const TaggedComponentList_var &);
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponentList;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CH_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CH_
-
- class TAO_Export _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq
- : public TAO_Unbounded_Base_Sequence
- {
- public:
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (CORBA::ULong maximum);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (
- CORBA::ULong maximum,
- CORBA::ULong length,
- TaggedComponent *data,
- CORBA::Boolean release = 0
- );
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &rhs
- );
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &operator= (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &rhs
- );
- virtual ~_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void);
-
- // = Accessors.
- TaggedComponent &operator[] (CORBA::ULong i);
- const TaggedComponent &operator[] (CORBA::ULong i) const;
-
- // = Static operations.
- static TaggedComponent *allocbuf (CORBA::ULong size);
- static void freebuf (TaggedComponent *buffer);
-
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
- virtual void _allocate_buffer (CORBA::ULong length);
- virtual void _deallocate_buffer (void);
- TaggedComponent *get_buffer (CORBA::Boolean orphan = 0);
- const TaggedComponent *get_buffer (void) const;
- void replace (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *data,
- CORBA::Boolean release
- );
- };
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_TAGGEDCOMPONENTSEQ_CH_)
-#define _IOP_TAGGEDCOMPONENTSEQ_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
-
- class TaggedComponentSeq;
- class TaggedComponentSeq_var;
-
- // *************************************************************
- // IOP::TaggedComponentSeq
- // *************************************************************
-
- class TAO_Export TaggedComponentSeq : public
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- {
- public:
- TaggedComponentSeq (void);
- TaggedComponentSeq (CORBA::ULong max);
- TaggedComponentSeq (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *buffer,
- CORBA::Boolean release = 0
- );
- TaggedComponentSeq (const TaggedComponentSeq &);
- ~TaggedComponentSeq (void);
-
- static void _tao_any_destructor (void*);
-
- typedef TaggedComponentSeq_var _var_type;
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_IOP_TAGGEDCOMPONENTSEQ___VAR_CH_)
-#define _IOP_TAGGEDCOMPONENTSEQ___VAR_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549
-
- // *************************************************************
- // class IOP::TaggedComponentSeq_var
- // *************************************************************
-
- class TAO_Export TaggedComponentSeq_var
- {
- public:
- TaggedComponentSeq_var (void);
- TaggedComponentSeq_var (TaggedComponentSeq *);
- TaggedComponentSeq_var (const TaggedComponentSeq_var &);
- ~TaggedComponentSeq_var (void);
-
- TaggedComponentSeq_var &operator= (TaggedComponentSeq *);
- TaggedComponentSeq_var &operator= (const TaggedComponentSeq_var &);
- TaggedComponentSeq *operator-> (void);
- const TaggedComponentSeq *operator-> (void) const;
-
- operator const TaggedComponentSeq &() const;
- operator TaggedComponentSeq &();
- operator TaggedComponentSeq &() const;
-
- // Variable-size base types only.
- operator TaggedComponentSeq *&();
-
- TaggedComponent & operator[] (CORBA::ULong index);
- const TaggedComponent & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
- const TaggedComponentSeq &in (void) const;
- TaggedComponentSeq &inout (void);
- TaggedComponentSeq *&out (void);
- TaggedComponentSeq *_retn (void);
- TaggedComponentSeq *ptr (void) const;
-
- private:
- TaggedComponentSeq *ptr_;
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_IOP_TAGGEDCOMPONENTSEQ___OUT_CH_)
-#define _IOP_TAGGEDCOMPONENTSEQ___OUT_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753
-
- class TAO_Export TaggedComponentSeq_out
- {
- public:
- TaggedComponentSeq_out (TaggedComponentSeq *&);
- TaggedComponentSeq_out (TaggedComponentSeq_var &);
- TaggedComponentSeq_out (const TaggedComponentSeq_out &);
- TaggedComponentSeq_out &operator= (const TaggedComponentSeq_out &);
- TaggedComponentSeq_out &operator= (TaggedComponentSeq *);
- operator TaggedComponentSeq *&();
- TaggedComponentSeq *&ptr (void);
- TaggedComponentSeq *operator-> (void);
- TaggedComponent & operator[] (CORBA::ULong index);
-
- private:
- TaggedComponentSeq *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const TaggedComponentSeq_var &);
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponentSeq;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_ORB_TYPE = 0U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_CODE_SETS = 1U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_POLICIES = 2U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_ALTERNATE_IIOP_ADDRESS = 3U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_COMPLETE_OBJECT_KEY = 5U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_ENDPOINT_ID_POSITION = 6U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_LOCATION_POLICY = 12U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_DCE_STRING_BINDING = 100U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_DCE_BINDING_NAME = 101U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_DCE_NO_PIPES = 102U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334
-
- typedef CORBA::ULong ServiceId;
- typedef CORBA::ULong_out ServiceId_out;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceId;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49
-
- class ServiceContext_var;
-
- struct TAO_Export ServiceContext
- {
- typedef ServiceContext_var _var_type;
-
- static void _tao_any_destructor (void *);
- IOP::ServiceId context_id;
-
-
-#if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CH_)
-#define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
-
- class _tao_seq_Octet;
-
- // *************************************************************
- // IOP::ServiceContext::_tao_seq_Octet
- // *************************************************************
-
- class TAO_Export _tao_seq_Octet : public
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- {
- public:
- _tao_seq_Octet (void);
- _tao_seq_Octet (CORBA::ULong max);
- _tao_seq_Octet (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
- CORBA::Boolean release = 0
- );
- _tao_seq_Octet (const _tao_seq_Octet &);
- ~_tao_seq_Octet (void);
-
- static void _tao_any_destructor (void*);
-
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- _tao_seq_Octet (
- CORBA::ULong length,
- const ACE_Message_Block* mb
- )
- : TAO_Unbounded_Sequence<CORBA::Octet> (length, mb) {}
-#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447
-
- typedef _tao_seq_Octet _context_data_seq;
- _tao_seq_Octet context_data;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71
-
- class TAO_Export ServiceContext_var
- {
- public:
- ServiceContext_var (void);
- ServiceContext_var (ServiceContext *);
- ServiceContext_var (const ServiceContext_var &);
- ~ServiceContext_var (void);
-
- ServiceContext_var &operator= (ServiceContext *);
- ServiceContext_var &operator= (const ServiceContext_var &);
- ServiceContext *operator-> (void);
- const ServiceContext *operator-> (void) const;
-
- operator const ServiceContext &() const;
- operator ServiceContext &();
- operator ServiceContext &() const;
-
- // Variable-size types only.
- operator ServiceContext *&();
-
- // in, inout, out, _retn
- const ServiceContext &in (void) const;
- ServiceContext &inout (void);
- ServiceContext *&out (void);
- ServiceContext *_retn (void);
- ServiceContext *ptr (void) const;
-
- private:
- ServiceContext *ptr_;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445
-
- class TAO_Export ServiceContext_out
- {
- public:
- ServiceContext_out (ServiceContext *&);
- ServiceContext_out (ServiceContext_var &);
- ServiceContext_out (const ServiceContext_out &);
- ServiceContext_out &operator= (const ServiceContext_out &);
- ServiceContext_out &operator= (ServiceContext *);
- operator ServiceContext *&();
- ServiceContext *&ptr (void);
- ServiceContext *operator-> (void);
-
- private:
- ServiceContext *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const ServiceContext_var &);
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceContext;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CH_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CH_
-
- class TAO_Export _TAO_Unbounded_Sequence_IOP_ServiceContextList
- : public TAO_Unbounded_Base_Sequence
- {
- public:
- _TAO_Unbounded_Sequence_IOP_ServiceContextList (void);
- _TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum);
- _TAO_Unbounded_Sequence_IOP_ServiceContextList (
- CORBA::ULong maximum,
- CORBA::ULong length,
- ServiceContext *data,
- CORBA::Boolean release = 0
- );
- _TAO_Unbounded_Sequence_IOP_ServiceContextList (
- const _TAO_Unbounded_Sequence_IOP_ServiceContextList &rhs
- );
- _TAO_Unbounded_Sequence_IOP_ServiceContextList &operator= (
- const _TAO_Unbounded_Sequence_IOP_ServiceContextList &rhs
- );
- virtual ~_TAO_Unbounded_Sequence_IOP_ServiceContextList (void);
-
- // = Accessors.
- ServiceContext &operator[] (CORBA::ULong i);
- const ServiceContext &operator[] (CORBA::ULong i) const;
-
- // = Static operations.
- static ServiceContext *allocbuf (CORBA::ULong size);
- static void freebuf (ServiceContext *buffer);
-
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
- virtual void _allocate_buffer (CORBA::ULong length);
- virtual void _deallocate_buffer (void);
- ServiceContext *get_buffer (CORBA::Boolean orphan = 0);
- const ServiceContext *get_buffer (void) const;
- void replace (
- CORBA::ULong max,
- CORBA::ULong length,
- ServiceContext *data,
- CORBA::Boolean release
- );
- };
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_SERVICECONTEXTLIST_CH_)
-#define _IOP_SERVICECONTEXTLIST_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
-
- class ServiceContextList;
- class ServiceContextList_var;
-
- // *************************************************************
- // IOP::ServiceContextList
- // *************************************************************
-
- class TAO_Export ServiceContextList : public
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_IOP_ServiceContextList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<ServiceContext>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- {
- public:
- ServiceContextList (void);
- ServiceContextList (CORBA::ULong max);
- ServiceContextList (
- CORBA::ULong max,
- CORBA::ULong length,
- ServiceContext *buffer,
- CORBA::Boolean release = 0
- );
- ServiceContextList (const ServiceContextList &);
- ~ServiceContextList (void);
-
- static void _tao_any_destructor (void*);
-
- typedef ServiceContextList_var _var_type;
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_IOP_SERVICECONTEXTLIST___VAR_CH_)
-#define _IOP_SERVICECONTEXTLIST___VAR_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549
-
- // *************************************************************
- // class IOP::ServiceContextList_var
- // *************************************************************
-
- class TAO_Export ServiceContextList_var
- {
- public:
- ServiceContextList_var (void);
- ServiceContextList_var (ServiceContextList *);
- ServiceContextList_var (const ServiceContextList_var &);
- ~ServiceContextList_var (void);
-
- ServiceContextList_var &operator= (ServiceContextList *);
- ServiceContextList_var &operator= (const ServiceContextList_var &);
- ServiceContextList *operator-> (void);
- const ServiceContextList *operator-> (void) const;
-
- operator const ServiceContextList &() const;
- operator ServiceContextList &();
- operator ServiceContextList &() const;
-
- // Variable-size base types only.
- operator ServiceContextList *&();
-
- ServiceContext & operator[] (CORBA::ULong index);
- const ServiceContext & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
- const ServiceContextList &in (void) const;
- ServiceContextList &inout (void);
- ServiceContextList *&out (void);
- ServiceContextList *_retn (void);
- ServiceContextList *ptr (void) const;
-
- private:
- ServiceContextList *ptr_;
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_IOP_SERVICECONTEXTLIST___OUT_CH_)
-#define _IOP_SERVICECONTEXTLIST___OUT_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753
-
- class TAO_Export ServiceContextList_out
- {
- public:
- ServiceContextList_out (ServiceContextList *&);
- ServiceContextList_out (ServiceContextList_var &);
- ServiceContextList_out (const ServiceContextList_out &);
- ServiceContextList_out &operator= (const ServiceContextList_out &);
- ServiceContextList_out &operator= (ServiceContextList *);
- operator ServiceContextList *&();
- ServiceContextList *&ptr (void);
- ServiceContextList *operator-> (void);
- ServiceContext & operator[] (CORBA::ULong index);
-
- private:
- ServiceContextList *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const ServiceContextList_var &);
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceContextList;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TransactionService = 0U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong CodeSets = 1U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong ChainBypassCheck = 2U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong ChainBypassInfo = 3U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong LogicalThreadId = 4U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong BI_DIR_IIOP = 5U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong SendingContextRunTime = 6U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong INVOCATION_POLICIES = 7U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong UnknownExceptionInfo = 9U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong RTCorbaPriority = 10U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong RTCorbaPriorityRange = 11U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_FT_GROUP = 27U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_FT_PRIMARY = 28U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_FT_HEARTBEAT_ENABLED = 29U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong FT_GROUP_VERSION = 12U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong FT_REQUEST = 13U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_UIPMC = 1413566220U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_GROUP = 1413566211U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::ULong TAG_GROUP_IIOP = 1413566212U;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52
-
-#if !defined (_IOP_CODEC___PTR_CH_)
-#define _IOP_CODEC___PTR_CH_
-
- class Codec;
- typedef Codec *Codec_ptr;
-
-#endif /* end #if !defined */
-
-#if !defined (_IOP_CODEC___VAR_CH_)
-#define _IOP_CODEC___VAR_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:571
-
- class TAO_Export Codec_var : public TAO_Base_var
- {
- public:
- Codec_var (void); // default constructor
- Codec_var (Codec_ptr p) : ptr_ (p) {}
- Codec_var (const Codec_var &); // copy constructor
- ~Codec_var (void); // destructor
-
- Codec_var &operator= (Codec_ptr);
- Codec_var &operator= (const Codec_var &);
- Codec_ptr operator-> (void) const;
-
- operator const Codec_ptr &() const;
- operator Codec_ptr &();
- // in, inout, out, _retn
- Codec_ptr in (void) const;
- Codec_ptr &inout (void);
- Codec_ptr &out (void);
- Codec_ptr _retn (void);
- Codec_ptr ptr (void) const;
-
- // Hooks used by template sequence and object manager classes
- // for non-defined forward declared interfaces.
- static Codec_ptr tao_duplicate (Codec_ptr);
- static void tao_release (Codec_ptr);
- static Codec_ptr tao_nil (void);
- static Codec_ptr tao_narrow (
- CORBA::Object *
- ACE_ENV_ARG_DECL_NOT_USED
- );
- static CORBA::Object * tao_upcast (void *);
-
- private:
- Codec_ptr ptr_;
- // Unimplemented - prevents widening assignment.
- Codec_var (const TAO_Base_var &rhs);
- Codec_var &operator= (const TAO_Base_var &rhs);
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_IOP_CODEC___OUT_CH_)
-#define _IOP_CODEC___OUT_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:946
-
- class TAO_Export Codec_out
- {
- public:
- Codec_out (Codec_ptr &);
- Codec_out (Codec_var &);
- Codec_out (const Codec_out &);
- Codec_out &operator= (const Codec_out &);
- Codec_out &operator= (const Codec_var &);
- Codec_out &operator= (Codec_ptr);
- operator Codec_ptr &();
- Codec_ptr &ptr (void);
- Codec_ptr operator-> (void);
-
- private:
- Codec_ptr &ptr_;
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110
-
-#if !defined (_IOP_CODEC_CH_)
-#define _IOP_CODEC_CH_
-
- class TAO_Export Codec
- : public virtual CORBA::Object
- {
- public:
- typedef Codec_ptr _ptr_type;
- typedef Codec_var _var_type;
- static int _tao_class_id;
-
- // The static operations.
- static Codec_ptr _duplicate (Codec_ptr obj);
-
- static Codec_ptr _narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- static Codec_ptr _unchecked_narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- static Codec_ptr _nil (void)
- {
- return (Codec_ptr)0;
- }
-
- static void _tao_any_destructor (void *);
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
-
-#if !defined (_IOP_CODEC_INVALIDTYPEFORENCODING_CH_)
-#define _IOP_CODEC_INVALIDTYPEFORENCODING_CH_
-
- class TAO_Export InvalidTypeForEncoding : public CORBA::UserException
- {
- public:
-
- InvalidTypeForEncoding (void);
- InvalidTypeForEncoding (const InvalidTypeForEncoding &);
- ~InvalidTypeForEncoding (void);
-
- InvalidTypeForEncoding &operator= (const InvalidTypeForEncoding &);
-
- static void _tao_any_destructor (void *);
-
- static InvalidTypeForEncoding *_downcast (CORBA::Exception *);
- static CORBA::Exception *_alloc (void);
-
- virtual CORBA::Exception *_tao_duplicate (void) const;
-
- virtual void _raise (void);
-
- virtual void _tao_encode (
- TAO_OutputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
- ) const;
-
- virtual void _tao_decode (
- TAO_InputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
- );
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
-
- virtual CORBA::TypeCode_ptr _type (void) const;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- static ::CORBA::TypeCode_ptr _tc_InvalidTypeForEncoding;
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
-
-#if !defined (_IOP_CODEC_FORMATMISMATCH_CH_)
-#define _IOP_CODEC_FORMATMISMATCH_CH_
-
- class TAO_Export FormatMismatch : public CORBA::UserException
- {
- public:
-
- FormatMismatch (void);
- FormatMismatch (const FormatMismatch &);
- ~FormatMismatch (void);
-
- FormatMismatch &operator= (const FormatMismatch &);
-
- static void _tao_any_destructor (void *);
-
- static FormatMismatch *_downcast (CORBA::Exception *);
- static CORBA::Exception *_alloc (void);
-
- virtual CORBA::Exception *_tao_duplicate (void) const;
-
- virtual void _raise (void);
-
- virtual void _tao_encode (
- TAO_OutputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
- ) const;
-
- virtual void _tao_decode (
- TAO_InputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
- );
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
-
- virtual CORBA::TypeCode_ptr _type (void) const;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- static ::CORBA::TypeCode_ptr _tc_FormatMismatch;
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
-
-#if !defined (_IOP_CODEC_TYPEMISMATCH_CH_)
-#define _IOP_CODEC_TYPEMISMATCH_CH_
-
- class TAO_Export TypeMismatch : public CORBA::UserException
- {
- public:
-
- TypeMismatch (void);
- TypeMismatch (const TypeMismatch &);
- ~TypeMismatch (void);
-
- TypeMismatch &operator= (const TypeMismatch &);
-
- static void _tao_any_destructor (void *);
-
- static TypeMismatch *_downcast (CORBA::Exception *);
- static CORBA::Exception *_alloc (void);
-
- virtual CORBA::Exception *_tao_duplicate (void) const;
-
- virtual void _raise (void);
-
- virtual void _tao_encode (
- TAO_OutputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
- ) const;
-
- virtual void _tao_decode (
- TAO_InputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
- );
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
-
- virtual CORBA::TypeCode_ptr _type (void) const;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
-
- virtual ::CORBA::OctetSeq * encode (
- const CORBA::Any & data
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- , IOP::Codec::InvalidTypeForEncoding
- )) = 0;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
-
- virtual CORBA::Any * decode (
- const CORBA::OctetSeq & data
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- , IOP::Codec::FormatMismatch
- )) = 0;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
-
- virtual ::CORBA::OctetSeq * encode_value (
- const CORBA::Any & data
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- , IOP::Codec::InvalidTypeForEncoding
- )) = 0;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
-
- virtual CORBA::Any * decode_value (
- const CORBA::OctetSeq & data,
- CORBA::TypeCode_ptr tc
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- , IOP::Codec::FormatMismatch
- , IOP::Codec::TypeMismatch
- )) = 0;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267
-
- virtual void *_tao_QueryInterface (ptr_arith_t type);
-
- virtual const char* _interface_repository_id (void) const;
- virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
-
- protected:
- Codec (void);
- virtual ~Codec (void);
-
- private:
- Codec (const Codec &);
- void operator= (const Codec &);
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Codec;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334
-
- typedef CORBA::Short EncodingFormat;
- typedef CORBA::Short_out EncodingFormat_out;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_EncodingFormat;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
-
- const CORBA::Short ENCODING_CDR_ENCAPS = 0;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49
-
- class Encoding_var;
-
- struct TAO_Export Encoding
- {
- typedef Encoding_var _var_type;
-
- static void _tao_any_destructor (void *);
- IOP::EncodingFormat format;
- CORBA::Octet major_version;
- CORBA::Octet minor_version;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71
-
- class TAO_Export Encoding_var
- {
- public:
- Encoding_var (void);
- Encoding_var (Encoding *);
- Encoding_var (const Encoding_var &);
- // Fixed-size types only.
- Encoding_var (const Encoding &);
- ~Encoding_var (void);
-
- Encoding_var &operator= (Encoding *);
- Encoding_var &operator= (const Encoding_var &);
-
- // Fixed-size types only.
- Encoding_var &operator= (const Encoding &);
-
- Encoding *operator-> (void);
- const Encoding *operator-> (void) const;
-
- operator const Encoding &() const;
- operator Encoding &();
- operator Encoding &() const;
-
- // in, inout, out, _retn
- const Encoding &in (void) const;
- Encoding &inout (void);
- Encoding &out (void);
- Encoding _retn (void);
- Encoding *ptr (void) const;
-
- private:
- Encoding *ptr_;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:105
-
- typedef Encoding &Encoding_out;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Encoding;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52
-
-#if !defined (_IOP_CODECFACTORY___PTR_CH_)
-#define _IOP_CODECFACTORY___PTR_CH_
-
- class CodecFactory;
- typedef CodecFactory *CodecFactory_ptr;
-
-#endif /* end #if !defined */
-
-#if !defined (_IOP_CODECFACTORY___VAR_CH_)
-#define _IOP_CODECFACTORY___VAR_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:571
-
- class TAO_Export CodecFactory_var : public TAO_Base_var
- {
- public:
- CodecFactory_var (void); // default constructor
- CodecFactory_var (CodecFactory_ptr p) : ptr_ (p) {}
- CodecFactory_var (const CodecFactory_var &); // copy constructor
- ~CodecFactory_var (void); // destructor
-
- CodecFactory_var &operator= (CodecFactory_ptr);
- CodecFactory_var &operator= (const CodecFactory_var &);
- CodecFactory_ptr operator-> (void) const;
-
- operator const CodecFactory_ptr &() const;
- operator CodecFactory_ptr &();
- // in, inout, out, _retn
- CodecFactory_ptr in (void) const;
- CodecFactory_ptr &inout (void);
- CodecFactory_ptr &out (void);
- CodecFactory_ptr _retn (void);
- CodecFactory_ptr ptr (void) const;
-
- // Hooks used by template sequence and object manager classes
- // for non-defined forward declared interfaces.
- static CodecFactory_ptr tao_duplicate (CodecFactory_ptr);
- static void tao_release (CodecFactory_ptr);
- static CodecFactory_ptr tao_nil (void);
- static CodecFactory_ptr tao_narrow (
- CORBA::Object *
- ACE_ENV_ARG_DECL_NOT_USED
- );
- static CORBA::Object * tao_upcast (void *);
-
- private:
- CodecFactory_ptr ptr_;
- // Unimplemented - prevents widening assignment.
- CodecFactory_var (const TAO_Base_var &rhs);
- CodecFactory_var &operator= (const TAO_Base_var &rhs);
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_IOP_CODECFACTORY___OUT_CH_)
-#define _IOP_CODECFACTORY___OUT_CH_
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:946
-
- class TAO_Export CodecFactory_out
- {
- public:
- CodecFactory_out (CodecFactory_ptr &);
- CodecFactory_out (CodecFactory_var &);
- CodecFactory_out (const CodecFactory_out &);
- CodecFactory_out &operator= (const CodecFactory_out &);
- CodecFactory_out &operator= (const CodecFactory_var &);
- CodecFactory_out &operator= (CodecFactory_ptr);
- operator CodecFactory_ptr &();
- CodecFactory_ptr &ptr (void);
- CodecFactory_ptr operator-> (void);
-
- private:
- CodecFactory_ptr &ptr_;
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110
-
-#if !defined (_IOP_CODECFACTORY_CH_)
-#define _IOP_CODECFACTORY_CH_
-
- class TAO_Export CodecFactory
- : public virtual CORBA::Object
- {
- public:
- typedef CodecFactory_ptr _ptr_type;
- typedef CodecFactory_var _var_type;
- static int _tao_class_id;
-
- // The static operations.
- static CodecFactory_ptr _duplicate (CodecFactory_ptr obj);
-
- static CodecFactory_ptr _narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- static CodecFactory_ptr _unchecked_narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- static CodecFactory_ptr _nil (void)
- {
- return (CodecFactory_ptr)0;
- }
-
- static void _tao_any_destructor (void *);
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
-
-#if !defined (_IOP_CODECFACTORY_UNKNOWNENCODING_CH_)
-#define _IOP_CODECFACTORY_UNKNOWNENCODING_CH_
-
- class TAO_Export UnknownEncoding : public CORBA::UserException
- {
- public:
-
- UnknownEncoding (void);
- UnknownEncoding (const UnknownEncoding &);
- ~UnknownEncoding (void);
-
- UnknownEncoding &operator= (const UnknownEncoding &);
-
- static void _tao_any_destructor (void *);
-
- static UnknownEncoding *_downcast (CORBA::Exception *);
- static CORBA::Exception *_alloc (void);
-
- virtual CORBA::Exception *_tao_duplicate (void) const;
-
- virtual void _raise (void);
-
- virtual void _tao_encode (
- TAO_OutputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
- ) const;
-
- virtual void _tao_decode (
- TAO_InputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
- );
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
-
- virtual CORBA::TypeCode_ptr _type (void) const;
- };
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- static ::CORBA::TypeCode_ptr _tc_UnknownEncoding;
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
-
- virtual ::IOP::Codec_ptr create_codec (
- const IOP::Encoding & enc
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- , IOP::CodecFactory::UnknownEncoding
- )) = 0;
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267
-
- virtual void *_tao_QueryInterface (ptr_arith_t type);
-
- virtual const char* _interface_repository_id (void) const;
- virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
-
- protected:
- CodecFactory (void);
- virtual ~CodecFactory (void);
-
- friend class _TAO_CodecFactory_Remote_Proxy_Impl;
- friend class _TAO_CodecFactory_ThruPOA_Proxy_Impl;
- friend class _TAO_CodecFactory_Direct_Proxy_Impl;
-
- private:
- CodecFactory (const CodecFactory &);
- void operator= (const CodecFactory &);
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_CodecFactory;
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:67
-
-}
-TAO_NAMESPACE_CLOSE // module IOP
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedProfile &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedProfile*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedProfile *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedProfile *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::IOR &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::IOR*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::IOR *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::IOR *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponent &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponent*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponent *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponent *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::MultipleComponentProfile &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::MultipleComponentProfile*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::MultipleComponentProfile *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::MultipleComponentProfile *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponentList &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponentList*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponentList *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponentList *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponentSeq &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponentSeq*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponentSeq *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponentSeq *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::ServiceContext &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::ServiceContext*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::ServiceContext *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::ServiceContext *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::ServiceContextList &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::ServiceContextList*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::ServiceContextList *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::ServiceContextList *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, IOP::Codec_ptr); // copying
-TAO_Export void operator<<= (CORBA::Any &, IOP::Codec_ptr *); // non-copying
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec_ptr &);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::Codec::InvalidTypeForEncoding &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::Codec::InvalidTypeForEncoding*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec::InvalidTypeForEncoding *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Codec::InvalidTypeForEncoding *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::Codec::FormatMismatch &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::Codec::FormatMismatch*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec::FormatMismatch *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Codec::FormatMismatch *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::Codec::TypeMismatch &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::Codec::TypeMismatch*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec::TypeMismatch *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Codec::TypeMismatch *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::Encoding &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::Encoding*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Encoding *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Encoding *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, IOP::CodecFactory_ptr); // copying
-TAO_Export void operator<<= (CORBA::Any &, IOP::CodecFactory_ptr *); // non-copying
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::CodecFactory_ptr &);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
-
-TAO_Export void operator<<= (CORBA::Any &, const IOP::CodecFactory::UnknownEncoding &); // copying version
-TAO_Export void operator<<= (CORBA::Any &, IOP::CodecFactory::UnknownEncoding*); // noncopying version
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::CodecFactory::UnknownEncoding *&); // deprecated
-TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::CodecFactory::UnknownEncoding *&);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:48
+// be/be_visitor_root/cdr_op.cpp:48
#ifndef __ACE_INLINE__
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54
-
-TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::TaggedProfile &);
-TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::TaggedProfile &);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
-
-#if !defined _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_H_
-#define _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_H_
-
-TAO_Export CORBA::Boolean operator<< (
- TAO_OutputCDR &,
- const IOP::TaggedProfile::_tao_seq_Octet &
- );
-TAO_Export CORBA::Boolean operator>> (
- TAO_InputCDR &,
- IOP::TaggedProfile::_tao_seq_Octet &
- );
-
-#endif /* _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_H_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54
-
-TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::IOR &);
-TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::IOR &);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
-
-#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_
-#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_
-
-TAO_Export CORBA::Boolean operator<< (
- TAO_OutputCDR &,
- const IOP::IOR::_tao_seq_TaggedProfile &
- );
-TAO_Export CORBA::Boolean operator>> (
- TAO_InputCDR &,
- IOP::IOR::_tao_seq_TaggedProfile &
- );
-
-#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54
-
-TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::TaggedComponent &);
-TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::TaggedComponent &);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
-
-#if !defined _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_H_
-#define _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_H_
-
-TAO_Export CORBA::Boolean operator<< (
- TAO_OutputCDR &,
- const IOP::TaggedComponent::_tao_seq_Octet &
- );
-TAO_Export CORBA::Boolean operator>> (
- TAO_InputCDR &,
- IOP::TaggedComponent::_tao_seq_Octet &
- );
-
-#endif /* _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_H_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
-
-#if !defined _TAO_CDR_OP_IOP_MultipleComponentProfile_H_
-#define _TAO_CDR_OP_IOP_MultipleComponentProfile_H_
-
-TAO_Export CORBA::Boolean operator<< (
- TAO_OutputCDR &,
- const IOP::MultipleComponentProfile &
- );
-TAO_Export CORBA::Boolean operator>> (
- TAO_InputCDR &,
- IOP::MultipleComponentProfile &
- );
-
-#endif /* _TAO_CDR_OP_IOP_MultipleComponentProfile_H_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
-
-#if !defined _TAO_CDR_OP_IOP_TaggedComponentList_H_
-#define _TAO_CDR_OP_IOP_TaggedComponentList_H_
-
-TAO_Export CORBA::Boolean operator<< (
- TAO_OutputCDR &,
- const IOP::TaggedComponentList &
- );
-TAO_Export CORBA::Boolean operator>> (
- TAO_InputCDR &,
- IOP::TaggedComponentList &
- );
-
-#endif /* _TAO_CDR_OP_IOP_TaggedComponentList_H_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
-
-#if !defined _TAO_CDR_OP_IOP_TaggedComponentSeq_H_
-#define _TAO_CDR_OP_IOP_TaggedComponentSeq_H_
-
-TAO_Export CORBA::Boolean operator<< (
- TAO_OutputCDR &,
- const IOP::TaggedComponentSeq &
- );
-TAO_Export CORBA::Boolean operator>> (
- TAO_InputCDR &,
- IOP::TaggedComponentSeq &
- );
-
-#endif /* _TAO_CDR_OP_IOP_TaggedComponentSeq_H_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54
-
-TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::ServiceContext &);
-TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::ServiceContext &);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
-
-#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_
-#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_
-
-TAO_Export CORBA::Boolean operator<< (
- TAO_OutputCDR &,
- const IOP::ServiceContext::_tao_seq_Octet &
- );
-TAO_Export CORBA::Boolean operator>> (
- TAO_InputCDR &,
- IOP::ServiceContext::_tao_seq_Octet &
- );
-
-#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
-
-#if !defined _TAO_CDR_OP_IOP_ServiceContextList_H_
-#define _TAO_CDR_OP_IOP_ServiceContextList_H_
-
-TAO_Export CORBA::Boolean operator<< (
- TAO_OutputCDR &,
- const IOP::ServiceContextList &
- );
-TAO_Export CORBA::Boolean operator>> (
- TAO_InputCDR &,
- IOP::ServiceContextList &
- );
-
-#endif /* _TAO_CDR_OP_IOP_ServiceContextList_H_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54
-
-TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::Encoding &);
-TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::Encoding &);
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:64
+// be/be_visitor_root/cdr_op.cpp:64
#endif /* __ACE_INLINE__ */
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:1009
+// be/be_codegen.cpp:1018
#if defined (__ACE_INLINE__)
#include "IOPC.i"
diff --git a/TAO/tao/IOPC.i b/TAO/tao/IOPC.i
index 6279d6c2d4b..e86a7e25a26 100644
--- a/TAO/tao/IOPC.i
+++ b/TAO/tao/IOPC.i
@@ -20,3490 +20,3 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
-
-// *************************************************************
-// Inline operations for class IOP::TaggedProfile_var
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedProfile_var::TaggedProfile_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::TaggedProfile_var::TaggedProfile_var (TaggedProfile *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::TaggedProfile_var::TaggedProfile_var (const ::IOP::TaggedProfile_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::TaggedProfile (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::TaggedProfile_var::~TaggedProfile_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_var &
-IOP::TaggedProfile_var::operator= (TaggedProfile *_tao_struct_var)
-{
- delete this->ptr_;
- this->ptr_ = _tao_struct_var;
- return *this;
-}
-
-ACE_INLINE
-::IOP::TaggedProfile_var &
-IOP::TaggedProfile_var::operator= (const ::IOP::TaggedProfile_var &_tao_struct_var)
-{
- if (this != &_tao_struct_var)
- {
- if (_tao_struct_var.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- TaggedProfile *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- TaggedProfile (*_tao_struct_var.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- TaggedProfile *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE const ::IOP::TaggedProfile *
-IOP::TaggedProfile_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile *
-IOP::TaggedProfile_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_var::operator const ::IOP::TaggedProfile &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_var::operator ::IOP::TaggedProfile &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_var::operator ::IOP::TaggedProfile &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::TaggedProfile_var::operator ::IOP::TaggedProfile *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE const ::IOP::TaggedProfile &
-IOP::TaggedProfile_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile &
-IOP::TaggedProfile_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// Mapping for variable size.
-ACE_INLINE ::IOP::TaggedProfile *&
-IOP::TaggedProfile_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile *
-IOP::TaggedProfile_var::_retn (void)
-{
- ::IOP::TaggedProfile *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::IOP::TaggedProfile *
-IOP::TaggedProfile_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523
-
-// *************************************************************
-// Inline operations for class IOP::TaggedProfile_out
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedProfile_out::TaggedProfile_out (::IOP::TaggedProfile *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_out::TaggedProfile_out (TaggedProfile_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_out::TaggedProfile_out (const ::IOP::TaggedProfile_out &p)
- : ptr_ (ACE_const_cast (TaggedProfile_out&, p).ptr_)
-{}
-
-ACE_INLINE
-IOP::TaggedProfile_out &
-IOP::TaggedProfile_out::operator= (const ::IOP::TaggedProfile_out &p)
-{
- this->ptr_ = ACE_const_cast (TaggedProfile_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_out &
-IOP::TaggedProfile_out::operator= (TaggedProfile *_tao_struct_out)
-{
- this->ptr_ = _tao_struct_out;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_out::operator ::IOP::TaggedProfile *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile *&
-IOP::TaggedProfile_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile *
-IOP::TaggedProfile_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
-
-// *************************************************************
-// Inline operations for class IOP::IOR_var
-// *************************************************************
-
-ACE_INLINE
-IOP::IOR_var::IOR_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::IOR_var::IOR_var (IOR *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::IOR_var::IOR_var (const ::IOP::IOR_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::IOR (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::IOR_var::~IOR_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::IOR_var &
-IOP::IOR_var::operator= (IOR *_tao_struct_var)
-{
- delete this->ptr_;
- this->ptr_ = _tao_struct_var;
- return *this;
-}
-
-ACE_INLINE
-::IOP::IOR_var &
-IOP::IOR_var::operator= (const ::IOP::IOR_var &_tao_struct_var)
-{
- if (this != &_tao_struct_var)
- {
- if (_tao_struct_var.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- IOR *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- IOR (*_tao_struct_var.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- IOR *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE const ::IOP::IOR *
-IOP::IOR_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR *
-IOP::IOR_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::IOR_var::operator const ::IOP::IOR &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::IOR_var::operator ::IOP::IOR &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::IOR_var::operator ::IOP::IOR &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::IOR_var::operator ::IOP::IOR *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE const ::IOP::IOR &
-IOP::IOR_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR &
-IOP::IOR_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// Mapping for variable size.
-ACE_INLINE ::IOP::IOR *&
-IOP::IOR_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR *
-IOP::IOR_var::_retn (void)
-{
- ::IOP::IOR *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::IOP::IOR *
-IOP::IOR_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523
-
-// *************************************************************
-// Inline operations for class IOP::IOR_out
-// *************************************************************
-
-ACE_INLINE
-IOP::IOR_out::IOR_out (::IOP::IOR *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::IOR_out::IOR_out (IOR_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::IOR_out::IOR_out (const ::IOP::IOR_out &p)
- : ptr_ (ACE_const_cast (IOR_out&, p).ptr_)
-{}
-
-ACE_INLINE
-IOP::IOR_out &
-IOP::IOR_out::operator= (const ::IOP::IOR_out &p)
-{
- this->ptr_ = ACE_const_cast (IOR_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-IOP::IOR_out &
-IOP::IOR_out::operator= (IOR *_tao_struct_out)
-{
- this->ptr_ = _tao_struct_out;
- return *this;
-}
-
-ACE_INLINE
-IOP::IOR_out::operator ::IOP::IOR *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR *&
-IOP::IOR_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR *
-IOP::IOR_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CI_
-
-ACE_INLINE
-IOP::TaggedProfile *
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (CORBA::ULong size)
-{
- IOP::TaggedProfile *retval = 0;
- ACE_NEW_RETURN (retval, IOP::TaggedProfile[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::freebuf (IOP::TaggedProfile *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void)
-{
-}
-
-ACE_INLINE
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (
- CORBA::ULong maximum,
- CORBA::ULong length,
- IOP::TaggedProfile *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (
- const _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- IOP::TaggedProfile *tmp1 =
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (this->maximum_);
- IOP::TaggedProfile * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedProfile * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- this->buffer_ = tmp1;
- }
- else
- {
- this->buffer_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::operator= (
- const _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- IOP::TaggedProfile *tmp =
- ACE_reinterpret_cast (IOP::TaggedProfile *, this->buffer_);
-
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- IOP::TaggedProfile *tmp1 =
- ACE_reinterpret_cast (IOP::TaggedProfile *, this->buffer_);
- IOP::TaggedProfile * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedProfile * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-IOP::TaggedProfile &
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedProfile* tmp =
- ACE_reinterpret_cast (IOP::TaggedProfile*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const IOP::TaggedProfile &
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedProfile * const tmp =
- ACE_reinterpret_cast (IOP::TaggedProfile* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-IOP::TaggedProfile *
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::get_buffer (CORBA::Boolean orphan)
-{
- IOP::TaggedProfile *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (IOP::TaggedProfile*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(IOP::TaggedProfile*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const IOP::TaggedProfile *
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const IOP::TaggedProfile * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::TaggedProfile *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- IOP::TaggedProfile *tmp =
- ACE_reinterpret_cast (IOP::TaggedProfile*, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponent_var
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponent_var::TaggedComponent_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::TaggedComponent_var::TaggedComponent_var (TaggedComponent *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::TaggedComponent_var::TaggedComponent_var (const ::IOP::TaggedComponent_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::TaggedComponent (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::TaggedComponent_var::~TaggedComponent_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_var &
-IOP::TaggedComponent_var::operator= (TaggedComponent *_tao_struct_var)
-{
- delete this->ptr_;
- this->ptr_ = _tao_struct_var;
- return *this;
-}
-
-ACE_INLINE
-::IOP::TaggedComponent_var &
-IOP::TaggedComponent_var::operator= (const ::IOP::TaggedComponent_var &_tao_struct_var)
-{
- if (this != &_tao_struct_var)
- {
- if (_tao_struct_var.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- TaggedComponent *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- TaggedComponent (*_tao_struct_var.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- TaggedComponent *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE const ::IOP::TaggedComponent *
-IOP::TaggedComponent_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent *
-IOP::TaggedComponent_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_var::operator const ::IOP::TaggedComponent &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_var::operator ::IOP::TaggedComponent &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_var::operator ::IOP::TaggedComponent &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::TaggedComponent_var::operator ::IOP::TaggedComponent *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE const ::IOP::TaggedComponent &
-IOP::TaggedComponent_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent &
-IOP::TaggedComponent_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// Mapping for variable size.
-ACE_INLINE ::IOP::TaggedComponent *&
-IOP::TaggedComponent_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent *
-IOP::TaggedComponent_var::_retn (void)
-{
- ::IOP::TaggedComponent *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::IOP::TaggedComponent *
-IOP::TaggedComponent_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponent_out
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponent_out::TaggedComponent_out (::IOP::TaggedComponent *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_out::TaggedComponent_out (TaggedComponent_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_out::TaggedComponent_out (const ::IOP::TaggedComponent_out &p)
- : ptr_ (ACE_const_cast (TaggedComponent_out&, p).ptr_)
-{}
-
-ACE_INLINE
-IOP::TaggedComponent_out &
-IOP::TaggedComponent_out::operator= (const ::IOP::TaggedComponent_out &p)
-{
- this->ptr_ = ACE_const_cast (TaggedComponent_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_out &
-IOP::TaggedComponent_out::operator= (TaggedComponent *_tao_struct_out)
-{
- this->ptr_ = _tao_struct_out;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_out::operator ::IOP::TaggedComponent *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent *&
-IOP::TaggedComponent_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent *
-IOP::TaggedComponent_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CI_
-
-ACE_INLINE
-IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (CORBA::ULong size)
-{
- IOP::TaggedComponent *retval = 0;
- ACE_NEW_RETURN (retval, IOP::TaggedComponent[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::freebuf (IOP::TaggedComponent *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (
- CORBA::ULong maximum,
- CORBA::ULong length,
- IOP::TaggedComponent *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (
- const _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- IOP::TaggedComponent *tmp1 =
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (this->maximum_);
- IOP::TaggedComponent * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- this->buffer_ = tmp1;
- }
- else
- {
- this->buffer_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::operator= (
- const _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
-
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- IOP::TaggedComponent *tmp1 =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
- IOP::TaggedComponent * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent* tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const IOP::TaggedComponent &
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent * const tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::get_buffer (CORBA::Boolean orphan)
-{
- IOP::TaggedComponent *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const IOP::TaggedComponent * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::TaggedComponent *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CI_)
-#define _IOP_MULTIPLECOMPONENTPROFILE_CI_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
-
-// *************************************************************
-// Inline operations for class IOP::MultipleComponentProfile_var
-// *************************************************************
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::MultipleComponentProfile_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::MultipleComponentProfile_var (MultipleComponentProfile *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::MultipleComponentProfile_var (const ::IOP::MultipleComponentProfile_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::MultipleComponentProfile (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::~MultipleComponentProfile_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var &
-IOP::MultipleComponentProfile_var::operator= (MultipleComponentProfile *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile_var &
-IOP::MultipleComponentProfile_var::operator= (const ::IOP::MultipleComponentProfile_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- MultipleComponentProfile *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- MultipleComponentProfile (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- MultipleComponentProfile *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::IOP::MultipleComponentProfile *
-IOP::MultipleComponentProfile_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile *
-IOP::MultipleComponentProfile_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::operator const ::IOP::MultipleComponentProfile &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::MultipleComponentProfile_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const IOP::TaggedComponent &
-IOP::MultipleComponentProfile_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const IOP::TaggedComponent &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::IOP::MultipleComponentProfile &
-IOP::MultipleComponentProfile_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile &
-IOP::MultipleComponentProfile_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile *&
-IOP::MultipleComponentProfile_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile *
-IOP::MultipleComponentProfile_var::_retn (void)
-{
- ::IOP::MultipleComponentProfile *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile *
-IOP::MultipleComponentProfile_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567
-
-// *************************************************************
-// Inline operations for class IOP::MultipleComponentProfile_out
-// *************************************************************
-
-ACE_INLINE
-IOP::MultipleComponentProfile_out::MultipleComponentProfile_out (MultipleComponentProfile *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_out::MultipleComponentProfile_out (MultipleComponentProfile_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_out::MultipleComponentProfile_out (const ::IOP::MultipleComponentProfile_out &p)
- : ptr_ (ACE_const_cast (MultipleComponentProfile_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile_out &
-IOP::MultipleComponentProfile_out::operator= (const ::IOP::MultipleComponentProfile_out &p)
-{
- this->ptr_ = ACE_const_cast (MultipleComponentProfile_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile_out &
-IOP::MultipleComponentProfile_out::operator= (MultipleComponentProfile *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_out::operator ::IOP::MultipleComponentProfile *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile *&
-IOP::MultipleComponentProfile_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile *
-IOP::MultipleComponentProfile_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CI_
-
-ACE_INLINE
-IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (CORBA::ULong size)
-{
- IOP::TaggedComponent *retval = 0;
- ACE_NEW_RETURN (retval, IOP::TaggedComponent[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::freebuf (IOP::TaggedComponent *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_TAO_Unbounded_Sequence_IOP_TaggedComponentList (void)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_TAO_Unbounded_Sequence_IOP_TaggedComponentList (
- CORBA::ULong maximum,
- CORBA::ULong length,
- IOP::TaggedComponent *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_TAO_Unbounded_Sequence_IOP_TaggedComponentList (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentList &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- IOP::TaggedComponent *tmp1 =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (this->maximum_);
- IOP::TaggedComponent * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- this->buffer_ = tmp1;
- }
- else
- {
- this->buffer_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList &
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::operator= (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentList &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
-
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- IOP::TaggedComponent *tmp1 =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
- IOP::TaggedComponent * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent* tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const IOP::TaggedComponent &
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent * const tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::get_buffer (CORBA::Boolean orphan)
-{
- IOP::TaggedComponent *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const IOP::TaggedComponent * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::TaggedComponent *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_TAGGEDCOMPONENTLIST_CI_)
-#define _IOP_TAGGEDCOMPONENTLIST_CI_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponentList_var
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponentList_var::TaggedComponentList_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::TaggedComponentList_var::TaggedComponentList_var (TaggedComponentList *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::TaggedComponentList_var::TaggedComponentList_var (const ::IOP::TaggedComponentList_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::TaggedComponentList (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_var::~TaggedComponentList_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_var &
-IOP::TaggedComponentList_var::operator= (TaggedComponentList *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList_var &
-IOP::TaggedComponentList_var::operator= (const ::IOP::TaggedComponentList_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- TaggedComponentList *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- TaggedComponentList (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- TaggedComponentList *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::IOP::TaggedComponentList *
-IOP::TaggedComponentList_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList *
-IOP::TaggedComponentList_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_var::operator const ::IOP::TaggedComponentList &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::TaggedComponentList_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const IOP::TaggedComponent &
-IOP::TaggedComponentList_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const IOP::TaggedComponent &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::IOP::TaggedComponentList &
-IOP::TaggedComponentList_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList &
-IOP::TaggedComponentList_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList *&
-IOP::TaggedComponentList_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList *
-IOP::TaggedComponentList_var::_retn (void)
-{
- ::IOP::TaggedComponentList *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList *
-IOP::TaggedComponentList_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponentList_out
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponentList_out::TaggedComponentList_out (TaggedComponentList *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_out::TaggedComponentList_out (TaggedComponentList_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_out::TaggedComponentList_out (const ::IOP::TaggedComponentList_out &p)
- : ptr_ (ACE_const_cast (TaggedComponentList_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::IOP::TaggedComponentList_out &
-IOP::TaggedComponentList_out::operator= (const ::IOP::TaggedComponentList_out &p)
-{
- this->ptr_ = ACE_const_cast (TaggedComponentList_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList_out &
-IOP::TaggedComponentList_out::operator= (TaggedComponentList *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_out::operator ::IOP::TaggedComponentList *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList *&
-IOP::TaggedComponentList_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList *
-IOP::TaggedComponentList_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CI_
-
-ACE_INLINE
-IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (CORBA::ULong size)
-{
- IOP::TaggedComponent *retval = 0;
- ACE_NEW_RETURN (retval, IOP::TaggedComponent[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::freebuf (IOP::TaggedComponent *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (
- CORBA::ULong maximum,
- CORBA::ULong length,
- IOP::TaggedComponent *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- IOP::TaggedComponent *tmp1 =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (this->maximum_);
- IOP::TaggedComponent * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- this->buffer_ = tmp1;
- }
- else
- {
- this->buffer_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::operator= (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
-
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- IOP::TaggedComponent *tmp1 =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
- IOP::TaggedComponent * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent* tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const IOP::TaggedComponent &
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent * const tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::get_buffer (CORBA::Boolean orphan)
-{
- IOP::TaggedComponent *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const IOP::TaggedComponent * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::TaggedComponent *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_TAGGEDCOMPONENTSEQ_CI_)
-#define _IOP_TAGGEDCOMPONENTSEQ_CI_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponentSeq_var
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::TaggedComponentSeq_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::TaggedComponentSeq_var (TaggedComponentSeq *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::TaggedComponentSeq_var (const ::IOP::TaggedComponentSeq_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::TaggedComponentSeq (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::~TaggedComponentSeq_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var &
-IOP::TaggedComponentSeq_var::operator= (TaggedComponentSeq *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq_var &
-IOP::TaggedComponentSeq_var::operator= (const ::IOP::TaggedComponentSeq_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- TaggedComponentSeq *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- TaggedComponentSeq (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- TaggedComponentSeq *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::IOP::TaggedComponentSeq *
-IOP::TaggedComponentSeq_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq *
-IOP::TaggedComponentSeq_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::operator const ::IOP::TaggedComponentSeq &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::TaggedComponentSeq_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const IOP::TaggedComponent &
-IOP::TaggedComponentSeq_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const IOP::TaggedComponent &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::IOP::TaggedComponentSeq &
-IOP::TaggedComponentSeq_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq &
-IOP::TaggedComponentSeq_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq *&
-IOP::TaggedComponentSeq_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq *
-IOP::TaggedComponentSeq_var::_retn (void)
-{
- ::IOP::TaggedComponentSeq *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq *
-IOP::TaggedComponentSeq_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponentSeq_out
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponentSeq_out::TaggedComponentSeq_out (TaggedComponentSeq *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_out::TaggedComponentSeq_out (TaggedComponentSeq_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_out::TaggedComponentSeq_out (const ::IOP::TaggedComponentSeq_out &p)
- : ptr_ (ACE_const_cast (TaggedComponentSeq_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq_out &
-IOP::TaggedComponentSeq_out::operator= (const ::IOP::TaggedComponentSeq_out &p)
-{
- this->ptr_ = ACE_const_cast (TaggedComponentSeq_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq_out &
-IOP::TaggedComponentSeq_out::operator= (TaggedComponentSeq *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_out::operator ::IOP::TaggedComponentSeq *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq *&
-IOP::TaggedComponentSeq_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq *
-IOP::TaggedComponentSeq_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::TaggedComponentSeq_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
-
-// *************************************************************
-// Inline operations for class IOP::ServiceContext_var
-// *************************************************************
-
-ACE_INLINE
-IOP::ServiceContext_var::ServiceContext_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::ServiceContext_var::ServiceContext_var (ServiceContext *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::ServiceContext_var::ServiceContext_var (const ::IOP::ServiceContext_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::ServiceContext (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::ServiceContext_var::~ServiceContext_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext_var &
-IOP::ServiceContext_var::operator= (ServiceContext *_tao_struct_var)
-{
- delete this->ptr_;
- this->ptr_ = _tao_struct_var;
- return *this;
-}
-
-ACE_INLINE
-::IOP::ServiceContext_var &
-IOP::ServiceContext_var::operator= (const ::IOP::ServiceContext_var &_tao_struct_var)
-{
- if (this != &_tao_struct_var)
- {
- if (_tao_struct_var.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- ServiceContext *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- ServiceContext (*_tao_struct_var.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- ServiceContext *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE const ::IOP::ServiceContext *
-IOP::ServiceContext_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext *
-IOP::ServiceContext_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext_var::operator const ::IOP::ServiceContext &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext_var::operator ::IOP::ServiceContext &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext_var::operator ::IOP::ServiceContext &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::ServiceContext_var::operator ::IOP::ServiceContext *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE const ::IOP::ServiceContext &
-IOP::ServiceContext_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext &
-IOP::ServiceContext_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// Mapping for variable size.
-ACE_INLINE ::IOP::ServiceContext *&
-IOP::ServiceContext_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext *
-IOP::ServiceContext_var::_retn (void)
-{
- ::IOP::ServiceContext *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::IOP::ServiceContext *
-IOP::ServiceContext_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523
-
-// *************************************************************
-// Inline operations for class IOP::ServiceContext_out
-// *************************************************************
-
-ACE_INLINE
-IOP::ServiceContext_out::ServiceContext_out (::IOP::ServiceContext *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::ServiceContext_out::ServiceContext_out (ServiceContext_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::ServiceContext_out::ServiceContext_out (const ::IOP::ServiceContext_out &p)
- : ptr_ (ACE_const_cast (ServiceContext_out&, p).ptr_)
-{}
-
-ACE_INLINE
-IOP::ServiceContext_out &
-IOP::ServiceContext_out::operator= (const ::IOP::ServiceContext_out &p)
-{
- this->ptr_ = ACE_const_cast (ServiceContext_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-IOP::ServiceContext_out &
-IOP::ServiceContext_out::operator= (ServiceContext *_tao_struct_out)
-{
- this->ptr_ = _tao_struct_out;
- return *this;
-}
-
-ACE_INLINE
-IOP::ServiceContext_out::operator ::IOP::ServiceContext *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext *&
-IOP::ServiceContext_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext *
-IOP::ServiceContext_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CI_
-
-ACE_INLINE
-IOP::ServiceContext *
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (CORBA::ULong size)
-{
- IOP::ServiceContext *retval = 0;
- ACE_NEW_RETURN (retval, IOP::ServiceContext[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::freebuf (IOP::ServiceContext *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_TAO_Unbounded_Sequence_IOP_ServiceContextList (void)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_TAO_Unbounded_Sequence_IOP_ServiceContextList (
- CORBA::ULong maximum,
- CORBA::ULong length,
- IOP::ServiceContext *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_TAO_Unbounded_Sequence_IOP_ServiceContextList (
- const _TAO_Unbounded_Sequence_IOP_ServiceContextList &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- IOP::ServiceContext *tmp1 =
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (this->maximum_);
- IOP::ServiceContext * const tmp2 =
- ACE_reinterpret_cast (IOP::ServiceContext * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- this->buffer_ = tmp1;
- }
- else
- {
- this->buffer_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList &
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::operator= (
- const _TAO_Unbounded_Sequence_IOP_ServiceContextList &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- IOP::ServiceContext *tmp =
- ACE_reinterpret_cast (IOP::ServiceContext *, this->buffer_);
-
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- IOP::ServiceContext *tmp1 =
- ACE_reinterpret_cast (IOP::ServiceContext *, this->buffer_);
- IOP::ServiceContext * const tmp2 =
- ACE_reinterpret_cast (IOP::ServiceContext * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-IOP::ServiceContext &
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::ServiceContext* tmp =
- ACE_reinterpret_cast (IOP::ServiceContext*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const IOP::ServiceContext &
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::ServiceContext * const tmp =
- ACE_reinterpret_cast (IOP::ServiceContext* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-IOP::ServiceContext *
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::get_buffer (CORBA::Boolean orphan)
-{
- IOP::ServiceContext *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (IOP::ServiceContext*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(IOP::ServiceContext*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const IOP::ServiceContext *
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const IOP::ServiceContext * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::ServiceContext *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- IOP::ServiceContext *tmp =
- ACE_reinterpret_cast (IOP::ServiceContext*, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_SERVICECONTEXTLIST_CI_)
-#define _IOP_SERVICECONTEXTLIST_CI_
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
-
-// *************************************************************
-// Inline operations for class IOP::ServiceContextList_var
-// *************************************************************
-
-ACE_INLINE
-IOP::ServiceContextList_var::ServiceContextList_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::ServiceContextList_var::ServiceContextList_var (ServiceContextList *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::ServiceContextList_var::ServiceContextList_var (const ::IOP::ServiceContextList_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::ServiceContextList (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::ServiceContextList_var::~ServiceContextList_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_var &
-IOP::ServiceContextList_var::operator= (ServiceContextList *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList_var &
-IOP::ServiceContextList_var::operator= (const ::IOP::ServiceContextList_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- ServiceContextList *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- ServiceContextList (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- ServiceContextList *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::IOP::ServiceContextList *
-IOP::ServiceContextList_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList *
-IOP::ServiceContextList_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_var::operator const ::IOP::ServiceContextList &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_var::operator ::IOP::ServiceContextList &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_var::operator ::IOP::ServiceContextList &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::ServiceContextList_var::operator ::IOP::ServiceContextList *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext &
-IOP::ServiceContextList_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const IOP::ServiceContext &
-IOP::ServiceContextList_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const IOP::ServiceContext &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::IOP::ServiceContextList &
-IOP::ServiceContextList_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList &
-IOP::ServiceContextList_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList *&
-IOP::ServiceContextList_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList *
-IOP::ServiceContextList_var::_retn (void)
-{
- ::IOP::ServiceContextList *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList *
-IOP::ServiceContextList_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567
-
-// *************************************************************
-// Inline operations for class IOP::ServiceContextList_out
-// *************************************************************
-
-ACE_INLINE
-IOP::ServiceContextList_out::ServiceContextList_out (ServiceContextList *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_out::ServiceContextList_out (ServiceContextList_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_out::ServiceContextList_out (const ::IOP::ServiceContextList_out &p)
- : ptr_ (ACE_const_cast (ServiceContextList_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::IOP::ServiceContextList_out &
-IOP::ServiceContextList_out::operator= (const ::IOP::ServiceContextList_out &p)
-{
- this->ptr_ = ACE_const_cast (ServiceContextList_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList_out &
-IOP::ServiceContextList_out::operator= (ServiceContextList *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_out::operator ::IOP::ServiceContextList *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList *&
-IOP::ServiceContextList_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList *
-IOP::ServiceContextList_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext &
-IOP::ServiceContextList_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
-
-#if !defined (_IOP_CODEC___CI_)
-#define _IOP_CODEC___CI_
-
-ACE_INLINE
-CORBA::Boolean
-IOP::Codec::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
-template<>
-ACE_INLINE
-CORBA::Boolean
-TAO::Any_Impl_T<IOP::Codec>::to_object (
- CORBA::Object_ptr &_tao_elem
- ) const
-{
- _tao_elem = CORBA::Object::_duplicate (this->value_);
- return 1;
-}
-
-template<>
-ACE_INLINE
-CORBA::Boolean
-TAO::Any_Impl_T<IOP::Codec>::marshal_value (TAO_OutputCDR &)
-{
- return 0;
-}
-
-template<>
-ACE_INLINE
-CORBA::Boolean
-TAO::Any_Impl_T<IOP::Codec>::demarshal_value (TAO_InputCDR &)
-{
- return 0;
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
-
-// *************************************************************
-// Inline operations for class IOP::Encoding_var
-// *************************************************************
-
-ACE_INLINE
-IOP::Encoding_var::Encoding_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::Encoding_var::Encoding_var (Encoding *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::Encoding_var::Encoding_var (const ::IOP::Encoding_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::Encoding (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-// Fixed-size types only.
-ACE_INLINE
-IOP::Encoding_var::Encoding_var (const ::IOP::Encoding &p)
-{
- ACE_NEW (this->ptr_, ::IOP::Encoding (p));
-}
-
-ACE_INLINE
-IOP::Encoding_var::~Encoding_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::Encoding_var &
-IOP::Encoding_var::operator= (Encoding *_tao_struct_var)
-{
- delete this->ptr_;
- this->ptr_ = _tao_struct_var;
- return *this;
-}
-
-ACE_INLINE
-::IOP::Encoding_var &
-IOP::Encoding_var::operator= (const ::IOP::Encoding_var &_tao_struct_var)
-{
- if (this != &_tao_struct_var)
- {
- if (_tao_struct_var.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- Encoding *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- Encoding (*_tao_struct_var.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- Encoding *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-// fixed-size types only
-ACE_INLINE IOP::Encoding_var &
-IOP::Encoding_var::operator= (const ::IOP::Encoding &p)
-{
- if (this->ptr_ != &p)
- {
- delete this->ptr_;
- ACE_NEW_RETURN (
- this->ptr_,
- ::IOP::Encoding (p),
- *this
- );
- }
-
- return *this;
-}
-
-ACE_INLINE const ::IOP::Encoding *
-IOP::Encoding_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::Encoding *
-IOP::Encoding_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::Encoding_var::operator const ::IOP::Encoding &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::Encoding_var::operator ::IOP::Encoding &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::Encoding_var::operator ::IOP::Encoding &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE const ::IOP::Encoding &
-IOP::Encoding_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::Encoding &
-IOP::Encoding_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// mapping for fixed size
-ACE_INLINE ::IOP::Encoding &
-IOP::Encoding_var::out (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::Encoding
-IOP::Encoding_var::_retn (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::Encoding *
-IOP::Encoding_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
-
-#if !defined (_IOP_CODECFACTORY___CI_)
-#define _IOP_CODECFACTORY___CI_
-
-ACE_INLINE
-CORBA::Boolean
-IOP::CodecFactory::marshal (TAO_OutputCDR &)
-{
- return 0;
-}
-
-template<>
-ACE_INLINE
-CORBA::Boolean
-TAO::Any_Impl_T<IOP::CodecFactory>::to_object (
- CORBA::Object_ptr &_tao_elem
- ) const
-{
- _tao_elem = CORBA::Object::_duplicate (this->value_);
- return 1;
-}
-
-template<>
-ACE_INLINE
-CORBA::Boolean
-TAO::Any_Impl_T<IOP::CodecFactory>::marshal_value (TAO_OutputCDR &)
-{
- return 0;
-}
-
-template<>
-ACE_INLINE
-CORBA::Boolean
-TAO::Any_Impl_T<IOP::CodecFactory>::demarshal_value (TAO_InputCDR &)
-{
- return 0;
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
-
-#if !defined _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_I_
-#define _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_I_
-
-CORBA::Boolean TAO_Export operator<< (
- TAO_OutputCDR &,
- const IOP::TaggedProfile::_tao_seq_Octet &
- );
-
-CORBA::Boolean TAO_Export operator>> (
- TAO_InputCDR &,
- IOP::TaggedProfile::_tao_seq_Octet &
- );
-
-#endif /* _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_I_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103
-
-ACE_INLINE
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::TaggedProfile &_tao_aggregate
- )
-{
- if (
- (strm << _tao_aggregate.tag) &&
- (strm << _tao_aggregate.profile_data)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
-}
-
-ACE_INLINE
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::TaggedProfile &_tao_aggregate
- )
-{
- if (
- (strm >> _tao_aggregate.tag) &&
- (strm >> _tao_aggregate.profile_data)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
-
-#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_I_
-#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_I_
-
-CORBA::Boolean TAO_Export operator<< (
- TAO_OutputCDR &,
- const IOP::IOR::_tao_seq_TaggedProfile &
- );
-
-CORBA::Boolean TAO_Export operator>> (
- TAO_InputCDR &,
- IOP::IOR::_tao_seq_TaggedProfile &
- );
-
-#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_I_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103
-
-ACE_INLINE
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::IOR &_tao_aggregate
- )
-{
- if (
- (strm << _tao_aggregate.type_id.in ()) &&
- (strm << _tao_aggregate.profiles)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
-}
-
-ACE_INLINE
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::IOR &_tao_aggregate
- )
-{
- if (
- (strm >> _tao_aggregate.type_id.out ()) &&
- (strm >> _tao_aggregate.profiles)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
-
-#if !defined _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_I_
-#define _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_I_
-
-CORBA::Boolean TAO_Export operator<< (
- TAO_OutputCDR &,
- const IOP::TaggedComponent::_tao_seq_Octet &
- );
-
-CORBA::Boolean TAO_Export operator>> (
- TAO_InputCDR &,
- IOP::TaggedComponent::_tao_seq_Octet &
- );
-
-#endif /* _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_I_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103
-
-ACE_INLINE
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::TaggedComponent &_tao_aggregate
- )
-{
- if (
- (strm << _tao_aggregate.tag) &&
- (strm << _tao_aggregate.component_data)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
-}
-
-ACE_INLINE
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::TaggedComponent &_tao_aggregate
- )
-{
- if (
- (strm >> _tao_aggregate.tag) &&
- (strm >> _tao_aggregate.component_data)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
-
-#if !defined _TAO_CDR_OP_IOP_MultipleComponentProfile_I_
-#define _TAO_CDR_OP_IOP_MultipleComponentProfile_I_
-
-CORBA::Boolean TAO_Export operator<< (
- TAO_OutputCDR &,
- const IOP::MultipleComponentProfile &
- );
-
-CORBA::Boolean TAO_Export operator>> (
- TAO_InputCDR &,
- IOP::MultipleComponentProfile &
- );
-
-#endif /* _TAO_CDR_OP_IOP_MultipleComponentProfile_I_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
-
-#if !defined _TAO_CDR_OP_IOP_TaggedComponentList_I_
-#define _TAO_CDR_OP_IOP_TaggedComponentList_I_
-
-CORBA::Boolean TAO_Export operator<< (
- TAO_OutputCDR &,
- const IOP::TaggedComponentList &
- );
-
-CORBA::Boolean TAO_Export operator>> (
- TAO_InputCDR &,
- IOP::TaggedComponentList &
- );
-
-#endif /* _TAO_CDR_OP_IOP_TaggedComponentList_I_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
-
-#if !defined _TAO_CDR_OP_IOP_TaggedComponentSeq_I_
-#define _TAO_CDR_OP_IOP_TaggedComponentSeq_I_
-
-CORBA::Boolean TAO_Export operator<< (
- TAO_OutputCDR &,
- const IOP::TaggedComponentSeq &
- );
-
-CORBA::Boolean TAO_Export operator>> (
- TAO_InputCDR &,
- IOP::TaggedComponentSeq &
- );
-
-#endif /* _TAO_CDR_OP_IOP_TaggedComponentSeq_I_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
-
-#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_I_
-#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_I_
-
-CORBA::Boolean TAO_Export operator<< (
- TAO_OutputCDR &,
- const IOP::ServiceContext::_tao_seq_Octet &
- );
-
-CORBA::Boolean TAO_Export operator>> (
- TAO_InputCDR &,
- IOP::ServiceContext::_tao_seq_Octet &
- );
-
-#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_I_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103
-
-ACE_INLINE
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::ServiceContext &_tao_aggregate
- )
-{
- if (
- (strm << _tao_aggregate.context_id) &&
- (strm << _tao_aggregate.context_data)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
-}
-
-ACE_INLINE
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::ServiceContext &_tao_aggregate
- )
-{
- if (
- (strm >> _tao_aggregate.context_id) &&
- (strm >> _tao_aggregate.context_data)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
-
-#if !defined _TAO_CDR_OP_IOP_ServiceContextList_I_
-#define _TAO_CDR_OP_IOP_ServiceContextList_I_
-
-CORBA::Boolean TAO_Export operator<< (
- TAO_OutputCDR &,
- const IOP::ServiceContextList &
- );
-
-CORBA::Boolean TAO_Export operator>> (
- TAO_InputCDR &,
- IOP::ServiceContextList &
- );
-
-#endif /* _TAO_CDR_OP_IOP_ServiceContextList_I_ */
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103
-
-ACE_INLINE
-CORBA::Boolean operator<< (
- TAO_OutputCDR &strm,
- const IOP::Encoding &_tao_aggregate
- )
-{
- if (
- (strm << _tao_aggregate.format) &&
- (strm << CORBA::Any::from_octet (_tao_aggregate.major_version)) &&
- (strm << CORBA::Any::from_octet (_tao_aggregate.minor_version))
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
-}
-
-ACE_INLINE
-CORBA::Boolean operator>> (
- TAO_InputCDR &strm,
- IOP::Encoding &_tao_aggregate
- )
-{
- if (
- (strm >> _tao_aggregate.format) &&
- (strm >> CORBA::Any::to_octet (_tao_aggregate.major_version)) &&
- (strm >> CORBA::Any::to_octet (_tao_aggregate.minor_version))
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
-}
-
diff --git a/TAO/tao/IORTable/Table_Adapter.cpp b/TAO/tao/IORTable/Table_Adapter.cpp
index dca1b689107..b7baeca068e 100644
--- a/TAO/tao/IORTable/Table_Adapter.cpp
+++ b/TAO/tao/IORTable/Table_Adapter.cpp
@@ -12,8 +12,8 @@
#include "tao/ORB_Core.h"
#include "tao/Object.h"
-ACE_RCSID (IORTable,
- Table_Adapter,
+ACE_RCSID (IORTable,
+ Table_Adapter,
"$Id$")
TAO_Table_Adapter::TAO_Table_Adapter (TAO_ORB_Core *orb_core)
@@ -102,6 +102,12 @@ TAO_Table_Adapter::create_collocated_object (TAO_Stub *stub,
return new CORBA::Object (stub);
}
+CORBA::Long
+TAO_Table_Adapter::initialize_collocated_object (TAO_Stub *,
+ CORBA::Object_ptr )
+{
+ return 0;
+}
// ****************************************************************
TAO_Table_Adapter_Factory::TAO_Table_Adapter_Factory (void)
diff --git a/TAO/tao/IORTable/Table_Adapter.h b/TAO/tao/IORTable/Table_Adapter.h
index 350e0bc5cf0..11c38600ea6 100644
--- a/TAO/tao/IORTable/Table_Adapter.h
+++ b/TAO/tao/IORTable/Table_Adapter.h
@@ -53,6 +53,8 @@ public:
virtual CORBA::Object_ptr create_collocated_object (TAO_Stub *,
const TAO_MProfile &);
+ virtual CORBA::Long initialize_collocated_object (TAO_Stub *,
+ CORBA::Object_ptr);
private:
/// The ORB Core we belong to
TAO_ORB_Core *orb_core_;
diff --git a/TAO/tao/Invocation.cpp b/TAO/tao/Invocation.cpp
index a24fa3e9ddf..95e38590eb3 100644
--- a/TAO/tao/Invocation.cpp
+++ b/TAO/tao/Invocation.cpp
@@ -347,6 +347,7 @@ TAO_GIOP_Invocation::prepare_header (CORBA::Octet response_flags
ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
+
// Set the target specification mode
switch (this->profile_->addressing_mode ())
{
@@ -356,10 +357,14 @@ TAO_GIOP_Invocation::prepare_header (CORBA::Octet response_flags
break;
case TAO_Target_Specification::Profile_Addr:
- this->target_spec_.target_specifier (
- this->profile_->create_tagged_profile ()
- );
- break;
+ {
+ IOP::TaggedProfile *tp =
+ this->profile_->create_tagged_profile ();
+
+ if (tp)
+ this->target_spec_.target_specifier (*tp);
+ }
+ break;
case TAO_Target_Specification::Reference_Addr:
// We need to call the method seperately. If there is no
diff --git a/TAO/tao/LocalObject.i b/TAO/tao/LocalObject.i
index dc1e3061de5..6e0ac9a0b18 100644
--- a/TAO/tao/LocalObject.i
+++ b/TAO/tao/LocalObject.i
@@ -228,4 +228,3 @@ TAO_Local_RefCounted_Object::TAO_Local_RefCounted_Object (void)
refcount_ (1)
{
}
-
diff --git a/TAO/tao/Makefile.tao b/TAO/tao/Makefile.tao
index ccefb4e314c..ebf2568f7ac 100644
--- a/TAO/tao/Makefile.tao
+++ b/TAO/tao/Makefile.tao
@@ -237,6 +237,8 @@ ORB_CORE_FILES = \
Synch_Reply_Dispatcher \
Synch_Refcountable \
Asynch_Reply_Dispatcher_Base \
+ IOP_IORC \
+ IOP_CodecC \
IOPC \
PollableC \
CONV_FRAMEC \
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index ac12d170218..407d1d89af2 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -1633,6 +1633,37 @@ TAO_ORB_Core::create_object (TAO_Stub *stub)
return x;
}
+CORBA::Long
+TAO_ORB_Core::initialize_object (TAO_Stub *stub,
+ CORBA::Object_ptr obj)
+{
+ {
+ // @@ Ossama: maybe we need another lock for the table, to
+ // reduce contention on the Static_Object_Lock below, if so
+ // then we need to use that lock in the ORB_init() function.
+ ACE_MT (ACE_GUARD_RETURN (TAO_SYNCH_RECURSIVE_MUTEX, guard,
+ *ACE_Static_Object_Lock::instance (),
+ 0));
+
+ TAO_ORB_Table *table = TAO_ORB_Table::instance ();
+ TAO_ORB_Table::Iterator end = table->end ();
+ for (TAO_ORB_Table::Iterator i = table->begin ();
+ i != end;
+ ++i)
+ {
+ TAO_ORB_Core *other_core = (*i).int_id_;
+ CORBA::Long retval =
+ this->initialize_collocated_object (stub,
+ other_core,
+ obj);
+ if (retval != -1)
+ return 1;
+ }
+ }
+
+ return 0;
+}
+
CORBA::Object_ptr
TAO_ORB_Core::create_collocated_object (TAO_Stub *stub,
TAO_ORB_Core *orb_core,
@@ -1654,6 +1685,31 @@ TAO_ORB_Core::create_collocated_object (TAO_Stub *stub,
mprofile);
}
+
+CORBA::Long
+TAO_ORB_Core::initialize_collocated_object (TAO_Stub *stub,
+ TAO_ORB_Core *orb_core,
+ CORBA::Object_ptr obj)
+{
+ // @@ What about forwarding. With this approach we are never forwarded
+ // when we use collocation!
+ const TAO_MProfile &mprofile = stub->base_profiles ();
+
+ if (!orb_core->optimize_collocation_objects ())
+ return -1;
+
+ if (!orb_core->use_global_collocation () && orb_core != this)
+ return -1;
+
+ if (!orb_core->is_collocated (mprofile))
+ return -1;
+
+ // OK, the target ORB and the mprofile match, use the Adapter
+ // Registry of each ORB to find the right one.
+ return orb_core->adapter_registry ()->initialize_collocated_object (stub,
+ obj);
+}
+
int
TAO_ORB_Core::is_collocated (const TAO_MProfile& mprofile)
{
diff --git a/TAO/tao/ORB_Core.h b/TAO/tao/ORB_Core.h
index 9819b009388..a1bcfc7e8e4 100644
--- a/TAO/tao/ORB_Core.h
+++ b/TAO/tao/ORB_Core.h
@@ -707,6 +707,16 @@ public:
/// object.
CORBA::Object_ptr create_object (TAO_Stub *the_stub);
+ /// Initialize a new object, use the adapter registry to initialize a
+ /// collocated object, if not possible then initialize a regular
+ /// object.
+ /// NOTE: Why would this method be required? The answer is if the
+ /// user decides to use lazy initialization of CORBA object, then
+ /// this is the route that we have to take to do the
+ /// initialization.
+ CORBA::Long initialize_object (TAO_Stub *the_stub,
+ CORBA::Object_ptr obj);
+
/// Return ORBid string.
const char *orbid (void) const;
@@ -1009,6 +1019,11 @@ private:
TAO_ORB_Core *other_orb,
const TAO_MProfile &mprofile);
+ /// Try to initialize a new collocated object, using <other_orb> as the
+ /// target ORB. If not possible return -1.
+ CORBA::Long initialize_collocated_object (TAO_Stub *the_stub,
+ TAO_ORB_Core *other_orb,
+ CORBA::Object_ptr obj);
protected:
/// Synchronize internal state...
diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp
index 2b7a2cf7a2b..ea98387c755 100644
--- a/TAO/tao/Object.cpp
+++ b/TAO/tao/Object.cpp
@@ -16,7 +16,6 @@
#include "tao/Remote_Object_Proxy_Broker.h"
#include "tao/Dynamic_Adapter.h"
#include "tao/IFR_Client_Adapter.h"
-
#include "ace/Dynamic_Service.h"
#if !defined (__ACE_INLINE__)
@@ -39,62 +38,106 @@ CORBA::Object::~Object (void)
CORBA::Object::Object (TAO_Stub * protocol_proxy,
CORBA::Boolean collocated,
- TAO_Abstract_ServantBase * servant)
- : is_collocated_ (collocated),
- servant_ (servant),
- is_local_ (protocol_proxy == 0 ? 1 : 0),
- proxy_broker_ (0),
- protocol_proxy_ (protocol_proxy),
- refcount_ (1),
- refcount_lock_ (0)
-{
- if (protocol_proxy != 0)
- {
- // Only instantiate a lock if the object is unconstrained.
- // Locality-constrained objects have no-op reference counting by
- // default. Furthermore locality-constrained objects may be
- // instantiated in the critical path. Instantiating a lock for
- // unconstrained objects alone optimizes instantiation of such
- // locality-constrained objects.
- ACE_NEW (this->refcount_lock_, TAO_SYNCH_MUTEX);
-
- // If the object is collocated then set the broker using the
- // factory otherwise use the remote proxy broker.
- if (this->is_collocated_ &&
- _TAO_collocation_Object_Proxy_Broker_Factory_function_pointer != 0)
- this->proxy_broker_ = _TAO_collocation_Object_Proxy_Broker_Factory_function_pointer (this);
- else
- this->proxy_broker_ = the_tao_remote_object_proxy_broker ();
- }
+ TAO_Abstract_ServantBase * servant,
+ TAO_ORB_Core *orb_core)
+ : servant_ (servant)
+ , is_collocated_ (collocated)
+ , is_local_ (0)
+ , proxy_broker_ (0)
+ , is_evaluated_ (1)
+ , ior_ (0)
+ , orb_core_ (orb_core)
+ , protocol_proxy_ (protocol_proxy)
+ , refcount_ (1)
+ , refcount_lock_ (0)
+{
+ /// This constructor should not be called when the protocol proxy is
+ /// null ie. when the object is a LocalObject. Assert that
+ /// requirement.
+ ACE_ASSERT (this->protocol_proxy_ != 0);
+
+ if (this->orb_core_ == 0)
+ this->orb_core_ = this->protocol_proxy_->orb_core ();
+
+ this->refcount_lock_ =
+ this->orb_core_->resource_factory ()->create_corba_object_lock ();
+
+ // If the object is collocated then set the broker using the
+ // factory otherwise use the remote proxy broker.
+ if (this->is_collocated_ &&
+ _TAO_collocation_Object_Proxy_Broker_Factory_function_pointer != 0)
+ this->proxy_broker_ =
+ _TAO_collocation_Object_Proxy_Broker_Factory_function_pointer (this);
+ else
+ this->proxy_broker_ =
+ the_tao_remote_object_proxy_broker ();
+}
+
+CORBA::Object::Object (IOP::IOR *ior,
+ TAO_ORB_Core *orb_core)
+ : servant_ (0)
+ , is_collocated_ (0)
+ , is_local_ (0)
+ , proxy_broker_ (0)
+ , is_evaluated_ (0)
+ , ior_ (ior)
+ , orb_core_ (orb_core)
+ , protocol_proxy_ (0)
+ , refcount_ (1)
+ , refcount_lock_ (0)
+{
+ this->refcount_lock_ =
+ this->orb_core_->resource_factory ()->create_corba_object_lock ();
+
+
}
+// Too tired to do this check in every method properly!
+#define TAO_OBJECT_IOR_EVALUATE \
+if (!this->is_evaluated_) \
+ { \
+ ACE_GUARD (ACE_Lock , mon, *this->refcount_lock_); \
+ CORBA::Object::tao_object_initialize (this); \
+ }
+
+#define TAO_OBJECT_IOR_EVALUATE_RETURN \
+if (!this->is_evaluated_) \
+ { \
+ ACE_GUARD_RETURN (ACE_Lock , mon, *this->refcount_lock_, 0); \
+ CORBA::Object::tao_object_initialize (this); \
+ }
+
void
CORBA::Object::_add_ref (void)
{
- if (this->refcount_lock_ != 0)
- {
- ACE_GUARD (TAO_SYNCH_MUTEX, mon, *this->refcount_lock_);
+ ACE_ASSERT (this->refcount_lock_ != 0);
- this->refcount_++;
- }
+ ACE_GUARD (ACE_Lock ,
+ mon,
+ *this->refcount_lock_);
+
+ this->refcount_++;
}
void
CORBA::Object::_remove_ref (void)
{
- if (this->refcount_lock_ != 0)
- {
- {
- ACE_GUARD (TAO_SYNCH_MUTEX, mon, *this->refcount_lock_);
+ ACE_ASSERT (this->refcount_lock_ != 0);
- this->refcount_--;
+ {
+ ACE_GUARD (ACE_Lock,
+ mon,
+ *this->refcount_lock_);
- if (this->refcount_ != 0)
- return;
- }
+ this->refcount_--;
- delete this;
- }
+ if (this->refcount_ != 0)
+ return;
+ }
+
+ ACE_ASSERT (this->refcount_ == 0);
+
+ delete this;
}
void
@@ -117,6 +160,8 @@ CORBA::Boolean
CORBA::Object::_is_a (const char *type_id
ACE_ENV_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
+
// NOTE: if istub->type_id is nonzero and we have local knowledge of
// it, we can answer this question without a costly remote call.
//
@@ -173,10 +218,19 @@ CORBA::Object::_is_local (void) const
return this->is_local_;
}
+TAO_Stub *
+CORBA::Object::_stubobj (void)
+{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
+ return this->protocol_proxy_;
+}
+
CORBA::ULong
CORBA::Object::_hash (CORBA::ULong maximum
ACE_ENV_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
+
if (this->protocol_proxy_ != 0)
return this->protocol_proxy_->hash (maximum ACE_ENV_ARG_PARAMETER);
else
@@ -203,6 +257,8 @@ CORBA::Object::_is_equivalent (CORBA::Object_ptr other_obj
return 1;
}
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
+
if (this->protocol_proxy_ != 0)
return this->protocol_proxy_->is_equivalent (other_obj);
@@ -214,6 +270,8 @@ CORBA::Object::_is_equivalent (CORBA::Object_ptr other_obj
TAO::ObjectKey *
CORBA::Object::_key (ACE_ENV_SINGLE_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
+
if (this->_stubobj () && this->_stubobj ()->profile_in_use ())
return this->_stubobj ()->profile_in_use ()->_key ();
@@ -230,12 +288,6 @@ CORBA::Object::_key (ACE_ENV_SINGLE_ARG_DECL)
0);
}
-const TAO::ObjectKey &
-CORBA::Object::_object_key (void)
-{
- return this->_stubobj ()->profile_in_use ()->object_key ();
-}
-
void *
CORBA::Object::_tao_QueryInterface (ptr_arith_t type)
{
@@ -267,14 +319,16 @@ CORBA::Boolean
CORBA::Object::is_nil_i (CORBA::Object_ptr obj)
{
// To accomodate new definitions.
- if (obj->_stubobj ())
+ if (obj->orb_core_)
{
- return obj->_stubobj ()->orb_core ()->object_is_nil (obj);
+ return obj->orb_core_->object_is_nil (obj);
}
return 0;
}
+
+
#if (TAO_HAS_MINIMUM_CORBA == 0)
void
@@ -286,6 +340,8 @@ CORBA::Object::_create_request (CORBA::Context_ptr ctx,
CORBA::Flags req_flags
ACE_ENV_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE;
+
// Since we don't really support Context, anything but a null pointer
// is a no-no.
// Neither can we create a request object from locality constrained
@@ -324,6 +380,8 @@ CORBA::Object::_create_request (CORBA::Context_ptr ctx,
CORBA::Flags req_flags
ACE_ENV_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE;
+
// Since we don't really support Context, anything but a null pointer
// is a no-no.
// Neither can we create a request object from locality constrained
@@ -355,6 +413,7 @@ CORBA::Request_ptr
CORBA::Object::_request (const char *operation
ACE_ENV_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
if (this->protocol_proxy_)
{
TAO_Dynamic_Adapter *dynamic_adapter =
@@ -383,6 +442,8 @@ CORBA::Object::_request (const char *operation
CORBA::Boolean
CORBA::Object::_non_existent (ACE_ENV_SINGLE_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
+
CORBA::Boolean _tao_retval = 0;
// Get the right Proxy.
@@ -403,6 +464,8 @@ CORBA::Object::_non_existent (ACE_ENV_SINGLE_ARG_DECL)
CORBA::InterfaceDef_ptr
CORBA::Object::_get_interface (ACE_ENV_SINGLE_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
+
// Get the right Proxy.
TAO_Object_Proxy_Impl &the_proxy =
this->proxy_broker_->select_proxy (this
@@ -423,6 +486,8 @@ CORBA::Object::_get_implementation (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
CORBA::Object_ptr
CORBA::Object::_get_component (ACE_ENV_SINGLE_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
+
// Get the right Proxy.
TAO_Object_Proxy_Impl &the_proxy =
this->proxy_broker_->select_proxy (this
@@ -450,6 +515,8 @@ CORBA::Object::_get_policy (
CORBA::PolicyType type
ACE_ENV_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
+
if (this->protocol_proxy_)
return this->protocol_proxy_->get_policy (type
ACE_ENV_ARG_PARAMETER);
@@ -462,6 +529,8 @@ CORBA::Object::_get_client_policy (
CORBA::PolicyType type
ACE_ENV_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
+
if (this->protocol_proxy_)
return this->_stubobj ()->get_client_policy (type
ACE_ENV_ARG_PARAMETER);
@@ -475,6 +544,8 @@ CORBA::Object::_set_policy_overrides (
CORBA::SetOverrideType set_add
ACE_ENV_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
+
if (!this->protocol_proxy_)
ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (), CORBA::Policy::_nil ());
@@ -507,6 +578,7 @@ CORBA::PolicyList *
CORBA::Object::_get_policy_overrides (const CORBA::PolicyTypeSeq & types
ACE_ENV_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
if (this->protocol_proxy_)
return this->protocol_proxy_->get_policy_overrides (types
ACE_ENV_ARG_PARAMETER);
@@ -519,6 +591,8 @@ CORBA::Object::_validate_connection (
CORBA::PolicyList_out inconsistent_policies
ACE_ENV_ARG_DECL)
{
+ TAO_OBJECT_IOR_EVALUATE_RETURN;
+
inconsistent_policies = 0;
#if (TAO_HAS_MINIMUM_CORBA == 1)
@@ -543,7 +617,9 @@ CORBA::Object::_validate_connection (
#endif /* TAO_HAS_CORBA_MESSAGING == 1 */
-// ****************************************************************
+/*****************************************************************
+ * Global Functions
+ ****************************************************************/
CORBA::Boolean
operator<< (TAO_OutputCDR& cdr, const CORBA::Object* x)
@@ -583,42 +659,39 @@ operator<< (TAO_OutputCDR& cdr, const CORBA::Object* x)
return (CORBA::Boolean) cdr.good_bit ();
}
-CORBA::Boolean
-operator>> (TAO_InputCDR& cdr, CORBA::Object*& x)
+/*static*/ void
+CORBA::Object::tao_object_initialize (CORBA::Object *obj)
{
- CORBA::String_var type_hint;
+ // Check if already evaluated..
+ if (obj->is_evaluated_)
+ return;
- if ((cdr >> type_hint.inout ()) == 0)
- return 0;
- CORBA::ULong profile_count;
- if ((cdr >> profile_count) == 0)
- return 0;
+ CORBA::ULong profile_count =
+ obj->ior_->profiles.length ();
+ // Assumption is that after calling this method, folks should test
+ // for protocol_proxy_ or whatever to make sure that things have
+ // been initialized!
if (profile_count == 0)
- {
- x = CORBA::Object::_nil ();
- return (CORBA::Boolean) cdr.good_bit ();
- }
+ return;
// get a profile container to store all profiles in the IOR.
TAO_MProfile mp (profile_count);
- TAO_ORB_Core *orb_core = cdr.orb_core ();
+ TAO_ORB_Core *&orb_core = obj->orb_core_;
if (orb_core == 0)
{
orb_core = TAO_ORB_Core_instance ();
if (TAO_debug_level > 0)
{
ACE_DEBUG ((LM_WARNING,
- ACE_LIB_TEXT ("TAO (%P|%t) WARNING: extracting object from ")
+ ACE_LIB_TEXT ("TAO (%P|%t) - Object::tao_object_initialize ")
+ ACE_LIB_TEXT ("WARNING: extracting object from ")
ACE_LIB_TEXT ("default ORB_Core\n")));
}
}
- // Ownership of type_hint is given to TAO_Stub
- // TAO_Stub will make a copy of mp!
-
TAO_Stub *objdata = 0;
ACE_DECLARE_NEW_CORBA_ENV;
@@ -628,10 +701,27 @@ operator>> (TAO_InputCDR& cdr, CORBA::Object*& x)
orb_core->connector_registry (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
- for (CORBA::ULong i = 0; i != profile_count && cdr.good_bit (); ++i)
+ for (CORBA::ULong i = 0; i != profile_count; ++i)
{
+ IOP::TaggedProfile &tpfile =
+ obj->ior_->profiles[i];
+
+ // NOTE: This is a place for optimizations. Here we have an
+ // 2 allocations and 2 copies. Future optimizations should
+ // target this place.
+ TAO_OutputCDR o_cdr;
+
+ o_cdr << tpfile;
+
+ TAO_InputCDR cdr (o_cdr,
+ orb_core->input_cdr_buffer_allocator (),
+ orb_core->input_cdr_dblock_allocator (),
+ orb_core->input_cdr_msgblock_allocator (),
+ orb_core);
+
TAO_Profile *pfile =
connector_registry->create_profile (cdr);
+
if (pfile != 0)
mp.give_profile (pfile);
}
@@ -641,18 +731,18 @@ operator>> (TAO_InputCDR& cdr, CORBA::Object*& x)
{
// @@ This occurs when profile creation fails when decoding the
// profile from the IOR.
- ACE_ERROR_RETURN ((LM_ERROR,
- ACE_LIB_TEXT ("TAO (%P|%t) ERROR: Could not create all ")
- ACE_LIB_TEXT ("profiles while extracting object\n")
- ACE_LIB_TEXT ("TAO (%P|%t) ERROR: reference from the ")
- ACE_LIB_TEXT ("CDR stream.\n")),
- 0);
+ ACE_ERROR ((LM_ERROR,
+ ACE_LIB_TEXT ("TAO (%P|%t) ERROR: XXXXX Could not create all ")
+ ACE_LIB_TEXT ("profiles while extracting object\n")
+ ACE_LIB_TEXT ("TAO (%P|%t) ERROR: reference from the ")
+ ACE_LIB_TEXT ("CDR stream.\n")));
}
- objdata = orb_core->create_stub (type_hint.in (),
- mp
- ACE_ENV_ARG_PARAMETER);
+ objdata =
+ orb_core->create_stub (obj->ior_->type_id.in (),
+ mp
+ ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCHANY
@@ -663,19 +753,172 @@ operator>> (TAO_InputCDR& cdr, CORBA::Object*& x)
ACE_LIB_TEXT ("object when demarshaling object ")
ACE_LIB_TEXT ("reference.\n"));
- return 0;
+ return;
}
ACE_ENDTRY;
- ACE_CHECK_RETURN (0);
+ ACE_CHECK;
TAO_Stub_Auto_Ptr safe_objdata (objdata);
- x = orb_core->create_object (safe_objdata.get ());
- if (x == 0)
- return 0;
+ // No hope. What happens if this fails or returns an error? No
+ // chance to initialize the object again. Just give up. We will throw
+ // an exception when someone tries to access something..
+ (void) orb_core->initialize_object (safe_objdata.get (),
+ obj);
+ obj->protocol_proxy_ = objdata;
+
+ // If the object is collocated then set the broker using the
+ // factory otherwise use the remote proxy broker.
+ if (obj->is_collocated_ &&
+ _TAO_collocation_Object_Proxy_Broker_Factory_function_pointer != 0)
+ obj->proxy_broker_ =
+ _TAO_collocation_Object_Proxy_Broker_Factory_function_pointer (obj);
+ else
+ obj->proxy_broker_ = the_tao_remote_object_proxy_broker ();
+
+ obj->is_evaluated_ = 1;
+
+ // Release the contents of the ior to keep memory consumption down.
+ obj->ior_ = 0;
// Transfer ownership to the CORBA::Object
(void) safe_objdata.release ();
+ return;
+}
+
+CORBA::Boolean
+operator>> (TAO_InputCDR& cdr, CORBA::Object*& x)
+{
+ int lazy_strategy = 0;
+ TAO_ORB_Core *orb_core = cdr.orb_core ();
+
+ if (orb_core == 0)
+ {
+ orb_core = TAO_ORB_Core_instance ();
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_WARNING,
+ ACE_LIB_TEXT ("TAO (%P|%t) WARNING: extracting object from ")
+ ACE_LIB_TEXT ("default ORB_Core\n")));
+ }
+ }
+ else
+ {
+ if (orb_core->resource_factory ()->resource_usage_strategy () ==
+ TAO_Resource_Factory::TAO_LAZY)
+ lazy_strategy = 1;
+ }
+
+ if (!lazy_strategy)
+ {
+ // If the user has set up a eager strategy..
+ CORBA::String_var type_hint;
+
+ if ((cdr >> type_hint.inout ()) == 0)
+ return 0;
+
+ CORBA::ULong profile_count;
+ if ((cdr >> profile_count) == 0)
+ return 0;
+
+ if (profile_count == 0)
+ {
+ x = CORBA::Object::_nil ();
+ return (CORBA::Boolean) cdr.good_bit ();
+ }
+
+ // get a profile container to store all profiles in the IOR.
+ TAO_MProfile mp (profile_count);
+
+ TAO_ORB_Core *orb_core = cdr.orb_core ();
+ if (orb_core == 0)
+ {
+ orb_core = TAO_ORB_Core_instance ();
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_WARNING,
+ ACE_LIB_TEXT ("TAO (%P|%t) - Object::tao_object_initialize ")
+ ACE_LIB_TEXT ("WARNING: extracting object from ")
+ ACE_LIB_TEXT ("default ORB_Core\n")));
+ }
+ }
+
+ // Ownership of type_hint is given to TAO_Stub
+ // TAO_Stub will make a copy of mp!
+
+ TAO_Stub *objdata = 0;
+
+ ACE_DECLARE_NEW_CORBA_ENV;
+ ACE_TRY
+ {
+ TAO_Connector_Registry *connector_registry =
+ orb_core->connector_registry (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+
+ for (CORBA::ULong i = 0; i != profile_count && cdr.good_bit (); ++i)
+ {
+ TAO_Profile *pfile =
+ connector_registry->create_profile (cdr);
+ if (pfile != 0)
+ mp.give_profile (pfile);
+ }
+
+ // Make sure we got some profiles!
+ if (mp.profile_count () != profile_count)
+ {
+ // @@ This occurs when profile creation fails when decoding the
+ // profile from the IOR.
+ ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_LIB_TEXT ("TAO (%P|%t) ERROR: Could not create all ")
+ ACE_LIB_TEXT ("profiles while extracting object\n")
+ ACE_LIB_TEXT ("TAO (%P|%t) ERROR: reference from the ")
+ ACE_LIB_TEXT ("CDR stream.\n")),
+ 0);
+ }
+
+
+ objdata = orb_core->create_stub (type_hint.in (),
+ mp
+ ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ if (TAO_debug_level > 0)
+ ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,
+ ACE_LIB_TEXT ("TAO (%P|%t) ERROR creating stub ")
+ ACE_LIB_TEXT ("object when demarshaling object ")
+ ACE_LIB_TEXT ("reference.\n"));
+
+ return 0;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK_RETURN (0);
+
+ TAO_Stub_Auto_Ptr safe_objdata (objdata);
+
+ x = orb_core->create_object (safe_objdata.get ());
+ if (x == 0)
+ return 0;
+
+ // Transfer ownership to the CORBA::Object
+ (void) safe_objdata.release ();
+ }
+ else
+ {
+ // Lazy strategy!
+ IOP::IOR *ior = 0;
+
+ ACE_NEW_RETURN (ior,
+ IOP::IOR (),
+ 0);
+
+ cdr >> *ior;
+ ACE_NEW_RETURN (x,
+ CORBA::Object (ior,
+ orb_core),
+ 0);
+ }
return (CORBA::Boolean) cdr.good_bit ();
}
diff --git a/TAO/tao/Object.h b/TAO/tao/Object.h
index 5c5dc1ad498..a4d700862aa 100644
--- a/TAO/tao/Object.h
+++ b/TAO/tao/Object.h
@@ -30,11 +30,13 @@
#include "tao/Policy_ForwardC.h"
#include "tao/Object_KeyC.h"
#include "ace/Synch.h"
+#include "tao/IOP_IORC.h"
class TAO_Stub;
class TAO_Abstract_ServantBase;
class TAO_Object_Proxy_Broker;
class TAO_ObjectKey;
+class TAO_ORB_Core;
namespace CORBA
{
@@ -57,9 +59,13 @@ namespace CORBA
/// Destructor.
virtual ~Object (void);
- /// Address of this variable used in _unchecked_narrow().
- static int _tao_class_id;
-
+ /**
+ * @name Spec defined methods
+ *
+ * These methods are defined here since they are required by the
+ * CORBA spec in a form specified by the C++ mapping.
+ */
+ //@{
/// Increment the ref count.
static CORBA::Object_ptr _duplicate (CORBA::Object_ptr obj);
@@ -73,12 +79,6 @@ namespace CORBA
static CORBA::Object_ptr _unchecked_narrow (Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS);
- /// Used in the implementation of CORBA::Any
- static void _tao_any_destructor (void*);
-
- /// Uninlined part of the now-inlined CORBA::is_nil().
- static CORBA::Boolean is_nil_i (CORBA::Object_ptr obj);
-
// These calls correspond to over-the-wire operations, or at least
// do so in many common cases. The normal implementation assumes a
// particular simple, efficient, protocol-neutral interface for
@@ -93,13 +93,26 @@ namespace CORBA
/// implementation method and does no remote invocations!
virtual const char* _interface_repository_id (void) const;
- /// Is this object collocated with the servant?
- virtual CORBA::Boolean _is_collocated (void) const;
- /// Is this a local object?
- virtual CORBA::Boolean _is_local (void) const;
+ /**
+ * Return a (potentially non-unique) hash value for this object.
+ * This method relies on the representation of the object
+ * reference's private state. Since that changes easily (when
+ * different ORB protocols are in use) there is no default
+ * implementation.
+ */
+ virtual CORBA::ULong _hash (CORBA::ULong maximum
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS);
- virtual TAO_Abstract_ServantBase *_servant (void) const;
+ /**
+ * Try to determine if this object is the same as other_obj. This
+ * method relies on the representation of the object reference's
+ * private state. Since that changes easily (when different ORB
+ * protocols are in use) there is no default implementation.
+ */
+ virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC (());
#if (TAO_HAS_MINIMUM_CORBA == 0)
@@ -163,8 +176,7 @@ namespace CORBA
CORBA::Policy_ptr _get_policy (CORBA::PolicyType type
ACE_ENV_ARG_DECL_WITH_DEFAULTS);
- CORBA::Policy_ptr _get_client_policy (CORBA::PolicyType type
- ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+
CORBA::Object_ptr _set_policy_overrides (
const CORBA::PolicyList & policies,
@@ -182,65 +194,83 @@ namespace CORBA
#endif /* TAO_HAS_CORBA_MESSAGING == 1 */
/**
- * Return a (potentially non-unique) hash value for this object.
- * This method relies on the representation of the object
- * reference's private state. Since that changes easily (when
- * different ORB protocols are in use) there is no default
- * implementation.
+ * @name Reference Count Managment
+ *
+ * These are the standard CORBA object reference count manipulations
+ * methods.
*/
- virtual CORBA::ULong _hash (CORBA::ULong maximum
- ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+ //@{
+ /// Increment the reference count.
+ virtual void _add_ref (void);
+
+ /// Decrement the reference count.
+ virtual void _remove_ref (void);
+ //@}
+
+ // Useful for template programming.
+#if !defined(__GNUC__) || __GNUC__ > 2 || __GNUC_MINOR__ >= 8
+ typedef Object_ptr _ptr_type;
+ typedef Object_var _var_type;
+#endif /* __GNUC__ */
+
+ //@} End of CORBA specific methods
+
/**
- * Try to determine if this object is the same as other_obj. This
- * method relies on the representation of the object reference's
- * private state. Since that changes easily (when different ORB
- * protocols are in use) there is no default implementation.
+ * @name Methods that are TAO specific.
+ *
+ * These methods are defined here as helper functions to be used
+ * by other parts of TAO. Theoretically they shold all start with
+ * tao_. But we have deviated from that principle.
*/
- virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
- ACE_THROW_SPEC (());
+
+ //@{
+ /// Address of this variable used in _unchecked_narrow().
+ static int _tao_class_id;
+
+ virtual TAO_Abstract_ServantBase *_servant (void) const;
+
+ /// Is this object collocated with the servant?
+ virtual CORBA::Boolean _is_collocated (void) const;
+
+ /// Is this a local object?
+ virtual CORBA::Boolean _is_local (void) const;
+
+ /// Used in the implementation of CORBA::Any
+ static void _tao_any_destructor (void*);
+
+ /// Uninlined part of the now-inlined CORBA::is_nil().
+ static CORBA::Boolean is_nil_i (CORBA::Object_ptr obj);
+
+ /// Helper function for reading contents of an IOR
+ static void tao_object_initialize (Object *);
/// Return the object key as an out parameter. Caller should release
/// return value when finished with it.
virtual TAO::ObjectKey *_key (ACE_ENV_SINGLE_ARG_DECL);
- /**
- * Return a reference to the object key of profile in-use.
- * If there's no in-use profile, then the program will
- * probably crash. This method does not create a new copy.
- */
- virtual const TAO::ObjectKey &_object_key (void);
-
/// Downcasting this object pointer to some other derived class.
/// This QueryInterface stuff only work for local object.
virtual void * _tao_QueryInterface (ptr_arith_t type);
- // Useful for template programming.
- typedef Object_ptr _ptr_type;
- typedef Object_var _var_type;
-
- /**
- * @name Reference Count Managment
- *
- * These are the standard CORBA object reference count manipulations
- * methods.
- */
- //@{
- /// Increment the reference count.
- virtual void _add_ref (void);
+#if (TAO_HAS_CORBA_MESSAGING == 1)
- /// Decrement the reference count.
- virtual void _remove_ref (void);
- //@}
+ CORBA::Policy_ptr _get_client_policy (CORBA::PolicyType type
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS);
+#endif /*TAO_HAS_CORBA_MESSAGING*/
/// Constructor
- Object (TAO_Stub *p = 0,
+ Object (TAO_Stub *p,
CORBA::Boolean collocated = 0,
- TAO_Abstract_ServantBase *servant = 0);
+ TAO_Abstract_ServantBase *servant = 0,
+ TAO_ORB_Core *orb_core = 0);
+
+ Object (IOP::IOR *ior,
+ TAO_ORB_Core *orb_core = 0);
/// Get the underlying stub object.
virtual TAO_Stub *_stubobj (void) const;
+ virtual TAO_Stub *_stubobj (void);
/// Set the proxy broker.
virtual void _proxy_broker (TAO_Object_Proxy_Broker *proxy_broker);
@@ -251,10 +281,37 @@ namespace CORBA
/// Allows us to forbid marshaling of local interfaces.
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
+ /// Accessor to the flag..
+ CORBA::Boolean is_evaluated (void) const;
+
+ /// Mutator for setting the servant in collocated cases.
+ /**
+ * This is used by the Object_Adapter to set the servant for
+ * collocated cases and only when the object is initialized. The
+ * object initialization takes place when IOR's are lazily
+ * evaluated.
+ */
+ void set_collocated_servant (TAO_Abstract_ServantBase *);
+
+ /// Accessor for the ORB_Core..
+ TAO_ORB_Core *orb_core (void) const;
+
+ /// Accessors for the underlying IOP::IOR's.
+ /**
+ * The steal_ior () call basically relinquishes the ownership of
+ * the IOR. This is useful for cases when one wants to initialize
+ * a new CORBA Object
+ */
+ IOP::IOR *steal_ior (void);
+
+ const IOP::IOR &ior (void) const;
+
+ //@} End of TAO-specific methods..
+
protected:
/// Initializing a local object.
- Object (int dummy);
+ Object (int dummy = 0);
private:
@@ -264,13 +321,15 @@ namespace CORBA
protected:
+ /// Servant pointer. It is 0 except for collocated objects.
+ TAO_Abstract_ServantBase *servant_;
+
+ private:
+
/// Flag to indicate collocation. It is 0 except for collocated
/// objects.
CORBA::Boolean is_collocated_;
- /// Servant pointer. It is 0 except for collocated objects.
- TAO_Abstract_ServantBase *servant_;
-
/// Specify whether this is a local object or not.
CORBA::Boolean is_local_;
@@ -278,7 +337,15 @@ namespace CORBA
/// getting the right proxy for performing a given call.
TAO_Object_Proxy_Broker *proxy_broker_;
- private:
+ /// Flag to indicate whether the IOP::IOR has been evaluated fully.
+ Boolean is_evaluated_;
+
+ /// If the IOR hasnt been evaluated fully, then the contents of
+ /// the IOR that we received should be in here!
+ IOP::IOR_var ior_;
+
+ /// Cached pointer of our ORB_Core
+ TAO_ORB_Core *orb_core_;
/**
* Pointer to the protocol-specific "object" containing important
@@ -297,12 +364,8 @@ namespace CORBA
* reason for this is that locality-constrained objects that do
* not require reference counting (the default) may be
* instantiated in the critical path.
- *
- * @note This assumes that unconstrained objects will not be
- * instantiated in the critical path.
*/
- TAO_SYNCH_MUTEX * refcount_lock_;
-
+ ACE_Lock * refcount_lock_;
};
/**
diff --git a/TAO/tao/Object.i b/TAO/tao/Object.i
index 72ca365f31a..3a3d03cfcf8 100644
--- a/TAO/tao/Object.i
+++ b/TAO/tao/Object.i
@@ -1,21 +1,24 @@
// -*- C++ -*-
//
// $Id$
-
// ****************************************************************
ACE_INLINE
CORBA::Object::Object (int)
- : is_collocated_ (0),
- servant_ (0),
+ : servant_ (0),
+ is_collocated_ (0),
is_local_ (1),
proxy_broker_ (0),
+ is_evaluated_ (1),
+ ior_ (),
+ orb_core_ (0),
protocol_proxy_ (0),
refcount_ (1),
refcount_lock_ (0)
{
}
+
ACE_INLINE CORBA::Object_ptr
CORBA::Object::_duplicate (CORBA::Object_ptr obj)
{
@@ -92,6 +95,37 @@ CORBA::Object::marshal (TAO_OutputCDR &cdr)
return (cdr << this);
}
+ACE_INLINE CORBA::Boolean
+CORBA::Object::is_evaluated (void) const
+{
+ return this->is_evaluated_;
+}
+
+ACE_INLINE void
+CORBA::Object::set_collocated_servant (TAO_Abstract_ServantBase *b)
+{
+ this->servant_ = b;
+ this->is_collocated_ = 1;
+}
+
+ACE_INLINE TAO_ORB_Core *
+CORBA::Object::orb_core (void) const
+{
+ return this->orb_core_;
+}
+
+ACE_INLINE IOP::IOR *
+CORBA::Object::steal_ior (void)
+{
+ return this->ior_._retn ();
+}
+
+ACE_INLINE const IOP::IOR &
+CORBA::Object::ior (void) const
+{
+ return this->ior_.in ();
+}
+
// *************************************************************
// Inline operations for class CORBA::Object_var
// *************************************************************
diff --git a/TAO/tao/Object_KeyC.h b/TAO/tao/Object_KeyC.h
index fb1c2043991..3344f315aaf 100644
--- a/TAO/tao/Object_KeyC.h
+++ b/TAO/tao/Object_KeyC.h
@@ -64,20 +64,20 @@ namespace TAO
#if !defined (_TAO_OBJECTKEY_CH_)
#define _TAO_OBJECTKEY_CH_
-
+
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
-
+
class ObjectKey;
class ObjectKey_var;
-
+
// *************************************************************
// TAO::ObjectKey
// *************************************************************
-
- class TAO_Export ObjectKey : public
-
- // TAO_IDL - Generated from
+
+ class TAO_Export ObjectKey : public
+
+ // TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
@@ -85,15 +85,15 @@ namespace TAO
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<CORBA::Octet>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
ObjectKey (void);
ObjectKey (CORBA::ULong max);
ObjectKey (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::Octet *buffer,
CORBA::Boolean release = 0
);
ObjectKey (const ObjectKey &);
@@ -109,48 +109,48 @@ namespace TAO
#if !defined (_TAO_OBJECTKEY___VAR_CH_)
#define _TAO_OBJECTKEY___VAR_CH_
-
+
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549
-
+
// *************************************************************
// class TAO::ObjectKey_var
// *************************************************************
-
+
class TAO_Export ObjectKey_var
{
public:
ObjectKey_var (void);
ObjectKey_var (ObjectKey *);
ObjectKey_var (const ObjectKey_var &);
-
+
// Fixed-size base types only.
ObjectKey_var (const ObjectKey &);
-
+
~ObjectKey_var (void);
-
+
ObjectKey_var &operator= (ObjectKey *);
ObjectKey_var &operator= (const ObjectKey_var &);
-
+
// Fixed-size base types only.
ObjectKey_var &operator= (const ObjectKey &);
-
+
ObjectKey *operator-> (void);
const ObjectKey *operator-> (void) const;
-
+
operator const ObjectKey &() const;
operator ObjectKey &();
operator ObjectKey &() const;
CORBA::Octet & operator[] (CORBA::ULong index);
const CORBA::Octet & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const ObjectKey &in (void) const;
ObjectKey &inout (void);
ObjectKey *&out (void);
ObjectKey *_retn (void);
ObjectKey *ptr (void) const;
-
+
private:
ObjectKey *ptr_;
};
@@ -159,10 +159,10 @@ namespace TAO
#if !defined (_TAO_OBJECTKEY___OUT_CH_)
#define _TAO_OBJECTKEY___OUT_CH_
-
+
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753
-
+
class TAO_Export ObjectKey_out
{
public:
@@ -175,7 +175,7 @@ namespace TAO
ObjectKey *&ptr (void);
ObjectKey *operator-> (void);
CORBA::Octet & operator[] (CORBA::ULong index);
-
+
private:
ObjectKey *&ptr_;
// Assignment from T_var not allowed.
@@ -183,7 +183,7 @@ namespace TAO
};
#endif /* end #if !defined */
-
+
}
TAO_NAMESPACE_CLOSE // module TAO
@@ -231,4 +231,3 @@ TAO_Export CORBA::Boolean operator>> (
#include "ace/post.h"
#endif /* ifndef */
-
diff --git a/TAO/tao/PortableServer/Collocated_Object.cpp b/TAO/tao/PortableServer/Collocated_Object.cpp
index 0fa5d53e912..516bbd60135 100644
--- a/TAO/tao/PortableServer/Collocated_Object.cpp
+++ b/TAO/tao/PortableServer/Collocated_Object.cpp
@@ -6,6 +6,7 @@
#include "tao/ORB_Core.h"
#include "tao/Stub.h"
+#include "tao/Profile.h"
#if !defined (__ACE_INLINE__)
# include "Collocated_Object.i"
@@ -62,7 +63,7 @@ TAO_Collocated_Object::_is_a (const CORBA::Char *logical_type_id
);
CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (this->_object_key (),
+ servant_upcall.prepare_for_upcall (stub->profile_in_use ()->object_key (),
"_is_a",
forward_to.out ()
ACE_ENV_ARG_PARAMETER);
@@ -76,7 +77,8 @@ TAO_Collocated_Object::_is_a (const CORBA::Char *logical_type_id
// Direct collocation strategy is used.
if (this->servant_ != 0)
- return this->servant_->_is_a (logical_type_id ACE_ENV_ARG_PARAMETER);
+ return this->_servant ()->_is_a (logical_type_id
+ ACE_ENV_ARG_PARAMETER);
// @@ Maybe we want to change this exception...
ACE_THROW_RETURN (CORBA::INV_OBJREF (), 0);
@@ -132,7 +134,7 @@ TAO_Collocated_Object::_non_existent (ACE_ENV_SINGLE_ARG_DECL)
);
CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (this->_object_key (),
+ servant_upcall.prepare_for_upcall (stub->profile_in_use ()->object_key (),
"_non_existent",
forward_to.out ()
ACE_ENV_ARG_PARAMETER);
@@ -184,7 +186,7 @@ TAO_Collocated_Object::_get_component (ACE_ENV_SINGLE_ARG_DECL)
);
CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (this->_object_key (),
+ servant_upcall.prepare_for_upcall (stub->profile_in_use ()->object_key (),
"_component",
forward_to.out ()
ACE_ENV_ARG_PARAMETER);
diff --git a/TAO/tao/PortableServer/ImR_LocatorS.cpp b/TAO/tao/PortableServer/ImR_LocatorS.cpp
index 6f3467feb50..ee72904af26 100644
--- a/TAO/tao/PortableServer/ImR_LocatorS.cpp
+++ b/TAO/tao/PortableServer/ImR_LocatorS.cpp
@@ -20,7 +20,7 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:670
#ifndef _TAO_IDL_ORIG_IMR_LOCATORS_CPP_
@@ -35,6 +35,7 @@
#include "tao/Stub.h"
#include "tao/IFR_Client_Adapter.h"
#include "tao/PortableInterceptor.h"
+#include "tao/Profile.h"
#if TAO_HAS_INTERCEPTORS == 1
#include "tao/RequestInfo_Util.h"
#include "tao/PICurrent.h"
@@ -136,41 +137,41 @@ TAO_ImplementationRepository_Locator_Perfect_Hash_OpTable::lookup (const char *s
static const class TAO_operation_db_entry wordlist[] =
{
{"",0},{"",0},{"",0},{"",0},
- {"list", &POA_ImplementationRepository::Locator::list_skel},
+ {"list", &POA_ImplementationRepository::Locator::list_skel},
{"",0},{"",0},{"",0},{"",0},
- {"find", &POA_ImplementationRepository::Locator::find_skel},
+ {"find", &POA_ImplementationRepository::Locator::find_skel},
{"",0},{"",0},{"",0},
- {"remove_server", &POA_ImplementationRepository::Locator::remove_server_skel},
+ {"remove_server", &POA_ImplementationRepository::Locator::remove_server_skel},
{"",0},
- {"register_server", &POA_ImplementationRepository::Locator::register_server_skel},
+ {"register_server", &POA_ImplementationRepository::Locator::register_server_skel},
{"",0},
- {"reregister_server", &POA_ImplementationRepository::Locator::reregister_server_skel},
- {"register_activator", &POA_ImplementationRepository::Locator::register_activator_skel},
+ {"reregister_server", &POA_ImplementationRepository::Locator::reregister_server_skel},
+ {"register_activator", &POA_ImplementationRepository::Locator::register_activator_skel},
{"",0},
- {"shutdown_server", &POA_ImplementationRepository::Locator::shutdown_server_skel},
+ {"shutdown_server", &POA_ImplementationRepository::Locator::shutdown_server_skel},
{"",0},
- {"server_is_running", &POA_ImplementationRepository::Locator::server_is_running_skel},
+ {"server_is_running", &POA_ImplementationRepository::Locator::server_is_running_skel},
{"",0},{"",0},
- {"remove_server_in_location", &POA_ImplementationRepository::Locator::remove_server_in_location_skel},
+ {"remove_server_in_location", &POA_ImplementationRepository::Locator::remove_server_in_location_skel},
{"",0},{"",0},
- {"server_is_shutting_down", &POA_ImplementationRepository::Locator::server_is_shutting_down_skel},
+ {"server_is_shutting_down", &POA_ImplementationRepository::Locator::server_is_shutting_down_skel},
{"",0},
- {"activate_server", &POA_ImplementationRepository::Locator::activate_server_skel},
+ {"activate_server", &POA_ImplementationRepository::Locator::activate_server_skel},
{"",0},
- {"shutdown_server_in_location", &POA_ImplementationRepository::Locator::shutdown_server_in_location_skel},
+ {"shutdown_server_in_location", &POA_ImplementationRepository::Locator::shutdown_server_in_location_skel},
{"",0},{"",0},
{"_component", &POA_ImplementationRepository::Locator::_component_skel},
{"",0},{"",0},
{"_non_existent", &POA_ImplementationRepository::Locator::_non_existent_skel},
{"",0},
- {"server_is_shutting_down_in_location", &POA_ImplementationRepository::Locator::server_is_shutting_down_in_location_skel},
+ {"server_is_shutting_down_in_location", &POA_ImplementationRepository::Locator::server_is_shutting_down_in_location_skel},
{"",0},
- {"activate_server_in_location", &POA_ImplementationRepository::Locator::activate_server_in_location_skel},
- {"activate_server_with_startup", &POA_ImplementationRepository::Locator::activate_server_with_startup_skel},
+ {"activate_server_in_location", &POA_ImplementationRepository::Locator::activate_server_in_location_skel},
+ {"activate_server_with_startup", &POA_ImplementationRepository::Locator::activate_server_with_startup_skel},
{"",0},
{"_is_a", &POA_ImplementationRepository::Locator::_is_a_skel},
{"",0},{"",0},{"",0},{"",0},
- {"unregister_activator", &POA_ImplementationRepository::Locator::unregister_activator_skel},
+ {"unregister_activator", &POA_ImplementationRepository::Locator::unregister_activator_skel},
{"",0},{"",0},{"",0},{"",0},
{"_interface", &POA_ImplementationRepository::Locator::_interface_skel},
};
@@ -210,45 +211,45 @@ public:
const char * location
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_Locator_activate_server_in_location (
const TAO_ServerRequestInfo_ImplementationRepository_Locator_activate_server_in_location &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Locator_activate_server_in_location &
);
-
+
private:
POA_ImplementationRepository::Locator *_tao_impl;
-
+
const char * server_;
const char * location_;
};
@@ -280,19 +281,19 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_activate_server_in_locati
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (2);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
(*parameter_list)[len].argument <<= location_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -306,15 +307,15 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_activate_server_in_locati
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Locator_activate_server_in_location_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Locator_activate_server_in_location_exceptiondata[] =
{
ImplementationRepository::_tc_NotFound,
ImplementationRepository::_tc_CannotActivate
};
-
+
exception_list->length (2);
for (CORBA::ULong i = 0; i < 2; ++i)
{
@@ -326,7 +327,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_activate_server_in_locati
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Locator_activate_server_in_location::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -337,7 +338,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_activate_server_in_locati
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -375,45 +376,45 @@ public:
const char * location
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_Locator_remove_server_in_location (
const TAO_ServerRequestInfo_ImplementationRepository_Locator_remove_server_in_location &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Locator_remove_server_in_location &
);
-
+
private:
POA_ImplementationRepository::Locator *_tao_impl;
-
+
const char * server_;
const char * location_;
};
@@ -445,19 +446,19 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_remove_server_in_location
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (2);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
(*parameter_list)[len].argument <<= location_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -471,14 +472,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_remove_server_in_location
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Locator_remove_server_in_location_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Locator_remove_server_in_location_exceptiondata[] =
{
ImplementationRepository::_tc_NotFound
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -490,7 +491,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_remove_server_in_location
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Locator_remove_server_in_location::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -501,7 +502,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_remove_server_in_location
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -539,45 +540,45 @@ public:
const char * location
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_Locator_shutdown_server_in_location (
const TAO_ServerRequestInfo_ImplementationRepository_Locator_shutdown_server_in_location &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Locator_shutdown_server_in_location &
);
-
+
private:
POA_ImplementationRepository::Locator *_tao_impl;
-
+
const char * server_;
const char * location_;
};
@@ -609,19 +610,19 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_shutdown_server_in_locati
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (2);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
(*parameter_list)[len].argument <<= location_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -635,14 +636,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_shutdown_server_in_locati
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Locator_shutdown_server_in_location_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Locator_shutdown_server_in_location_exceptiondata[] =
{
ImplementationRepository::_tc_NotFound
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -654,7 +655,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_shutdown_server_in_locati
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Locator_shutdown_server_in_location::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -665,7 +666,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_shutdown_server_in_locati
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -703,45 +704,45 @@ public:
const char * location
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_Locator_server_is_shutting_down_in_location (
const TAO_ServerRequestInfo_ImplementationRepository_Locator_server_is_shutting_down_in_location &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Locator_server_is_shutting_down_in_location &
);
-
+
private:
POA_ImplementationRepository::Locator *_tao_impl;
-
+
const char * server_;
const char * location_;
};
@@ -773,19 +774,19 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_server_is_shutting_down_i
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (2);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
(*parameter_list)[len].argument <<= location_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -799,14 +800,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_server_is_shutting_down_i
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Locator_server_is_shutting_down_in_location_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Locator_server_is_shutting_down_in_location_exceptiondata[] =
{
ImplementationRepository::_tc_NotFound
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -818,7 +819,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_server_is_shutting_down_i
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Locator_server_is_shutting_down_in_location::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -829,7 +830,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_server_is_shutting_down_i
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -867,47 +868,47 @@ public:
CORBA::Object_ptr object_ref
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
void result (CORBA::ULong result);
private:
TAO_ServerRequestInfo_ImplementationRepository_Locator_register_activator (
const TAO_ServerRequestInfo_ImplementationRepository_Locator_register_activator &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Locator_register_activator &
);
-
+
private:
POA_ImplementationRepository::Locator *_tao_impl;
-
+
const char * location_;
CORBA::Object_ptr object_ref_;CORBA::ULong _result;
};
@@ -939,19 +940,19 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_register_activator::argum
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (2);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= location_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
(*parameter_list)[len].argument <<= object_ref_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -965,14 +966,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_register_activator::excep
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Locator_register_activator_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Locator_register_activator_exceptiondata[] =
{
ImplementationRepository::_tc_AlreadyRegistered
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -984,7 +985,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_register_activator::excep
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Locator_register_activator::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -995,11 +996,11 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_register_activator::resul
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= this->_result;
-
+
return safe_result_any._retn ();
}
@@ -1023,7 +1024,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_register_activator::targe
return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER);
}
-void
+void
TAO_ServerRequestInfo_ImplementationRepository_Locator_register_activator::result (CORBA::ULong result)
{
// Update the result.
@@ -1044,47 +1045,47 @@ public:
CORBA::Object_ptr object_ref
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
void result (CORBA::ULong result);
private:
TAO_ServerRequestInfo_ImplementationRepository_Locator_unregister_activator (
const TAO_ServerRequestInfo_ImplementationRepository_Locator_unregister_activator &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Locator_unregister_activator &
);
-
+
private:
POA_ImplementationRepository::Locator *_tao_impl;
-
+
const char * location_;
CORBA::Object_ptr object_ref_;CORBA::ULong _result;
};
@@ -1116,19 +1117,19 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_unregister_activator::arg
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (2);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= location_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
(*parameter_list)[len].argument <<= object_ref_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -1142,14 +1143,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_unregister_activator::exc
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Locator_unregister_activator_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Locator_unregister_activator_exceptiondata[] =
{
ImplementationRepository::_tc_NotFound
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -1161,7 +1162,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_unregister_activator::exc
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Locator_unregister_activator::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -1172,11 +1173,11 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_unregister_activator::res
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= this->_result;
-
+
return safe_result_any._retn ();
}
@@ -1200,7 +1201,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Locator_unregister_activator::tar
return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER);
}
-void
+void
TAO_ServerRequestInfo_ImplementationRepository_Locator_unregister_activator::result (CORBA::ULong result)
{
// Update the result.
@@ -1236,7 +1237,7 @@ POA_ImplementationRepository::_TAO_Locator_Strategized_Proxy_Broker::~_TAO_Locat
for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
{
delete this->proxy_cache_[i];
-
+
// Hack to prevent bug mentioned in 1204. Refer to 1204
// for details..
this->proxy_cache_[i] = 0;
@@ -1252,26 +1253,26 @@ POA_ImplementationRepository::_TAO_Locator_Strategized_Proxy_Broker::select_prox
int strategy =
TAO_ORB_Core::collocation_strategy (object ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
+
if (this->proxy_cache_[strategy] != 0)
{
return *this->proxy_cache_[strategy];
}
-
+
this->create_proxy (strategy ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
+
return *this->proxy_cache_[strategy];
}
-void
+void
POA_ImplementationRepository::_TAO_Locator_Strategized_Proxy_Broker::create_proxy (
int strategy
ACE_ENV_ARG_DECL
)
{
ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
+
if (this->proxy_cache_[strategy] == 0)
{
switch (strategy)
@@ -1284,7 +1285,7 @@ POA_ImplementationRepository::_TAO_Locator_Strategized_Proxy_Broker::create_prox
);
ACE_CHECK;
break;
-
+
case TAO_Collocation_Strategies::CS_DIRECT_STRATEGY:
ACE_NEW_THROW_EX (
this->proxy_cache_[strategy],
@@ -1293,7 +1294,7 @@ POA_ImplementationRepository::_TAO_Locator_Strategized_Proxy_Broker::create_prox
);
ACE_CHECK;
break;
-
+
case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
default:
ACE_NEW_THROW_EX (
@@ -1324,13 +1325,13 @@ ImplementationRepository__TAO_Locator_Proxy_Broker_Factory_function (CORBA::Obje
int
ImplementationRepository__TAO_Locator_Proxy_Broker_Factory_Initializer (long)
{
- ImplementationRepository__TAO_Locator_Proxy_Broker_Factory_function_pointer =
+ ImplementationRepository__TAO_Locator_Proxy_Broker_Factory_function_pointer =
ImplementationRepository__TAO_Locator_Proxy_Broker_Factory_function;
-
+
return 0;
}
-static int ImplementationRepository__TAO_Locator_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+static int ImplementationRepository__TAO_Locator_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
ImplementationRepository__TAO_Locator_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, ImplementationRepository__TAO_Locator_Proxy_Broker_Factory_Initializer));
@@ -1346,7 +1347,7 @@ POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::_TAO_Locator_Thru
// ThruPOA Implementation of the IDL interface methods
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::activate_server_in_location (
@@ -1361,38 +1362,38 @@ void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::activate_ser
, ImplementationRepository::CannotActivate
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"activate_server_in_location",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::Locator_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Locator:1.0"
)
)->activate_server_in_location (
-
+
server,
location
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::remove_server_in_location (
@@ -1406,38 +1407,38 @@ void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::remove_serve
, ImplementationRepository::NotFound
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"remove_server_in_location",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::Locator_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Locator:1.0"
)
)->remove_server_in_location (
-
+
server,
location
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::shutdown_server_in_location (
@@ -1451,38 +1452,38 @@ void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::shutdown_ser
, ImplementationRepository::NotFound
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"shutdown_server_in_location",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::Locator_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Locator:1.0"
)
)->shutdown_server_in_location (
-
+
server,
location
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::server_is_shutting_down_in_location (
@@ -1496,38 +1497,38 @@ void POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::server_is_sh
, ImplementationRepository::NotFound
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"server_is_shutting_down_in_location",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::Locator_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Locator:1.0"
)
)->server_is_shutting_down_in_location (
-
+
server,
location
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
CORBA::ULong POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::register_activator (
@@ -1548,32 +1549,32 @@ CORBA::ULong POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::regi
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"register_activator",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval);
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval);
-
+
return ACE_reinterpret_cast (
POA_ImplementationRepository::Locator_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Locator:1.0"
)
)->register_activator (
-
+
location,
object_ref
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
CORBA::ULong POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::unregister_activator (
@@ -1594,25 +1595,25 @@ CORBA::ULong POA_ImplementationRepository::_TAO_Locator_ThruPOA_Proxy_Impl::unre
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"unregister_activator",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval);
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval);
-
+
return ACE_reinterpret_cast (
POA_ImplementationRepository::Locator_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Locator:1.0"
)
)->unregister_activator (
-
+
location,
object_ref
ACE_ENV_ARG_PARAMETER
@@ -1642,12 +1643,12 @@ void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::activate_serv
POA_ImplementationRepository::Locator_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Locator:1.0")
)->activate_server_in_location (
-
+
server,
location
ACE_ENV_ARG_PARAMETER
);
-
+
}
void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::remove_server_in_location (
@@ -1664,12 +1665,12 @@ void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::remove_server
POA_ImplementationRepository::Locator_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Locator:1.0")
)->remove_server_in_location (
-
+
server,
location
ACE_ENV_ARG_PARAMETER
);
-
+
}
void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::shutdown_server_in_location (
@@ -1686,12 +1687,12 @@ void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::shutdown_serv
POA_ImplementationRepository::Locator_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Locator:1.0")
)->shutdown_server_in_location (
-
+
server,
location
ACE_ENV_ARG_PARAMETER
);
-
+
}
void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::server_is_shutting_down_in_location (
@@ -1708,12 +1709,12 @@ void POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::server_is_shu
POA_ImplementationRepository::Locator_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Locator:1.0")
)->server_is_shutting_down_in_location (
-
+
server,
location
ACE_ENV_ARG_PARAMETER
);
-
+
}
CORBA::ULong POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::register_activator (
@@ -1730,12 +1731,12 @@ CORBA::ULong POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::regis
POA_ImplementationRepository::Locator_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Locator:1.0")
)->register_activator (
-
+
location,
object_ref
ACE_ENV_ARG_PARAMETER
);
-
+
}
CORBA::ULong POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::unregister_activator (
@@ -1752,12 +1753,12 @@ CORBA::ULong POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::unreg
POA_ImplementationRepository::Locator_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Locator:1.0")
)->unregister_activator (
-
+
location,
object_ref
ACE_ENV_ARG_PARAMETER
);
-
+
}
@@ -1766,7 +1767,7 @@ CORBA::ULong POA_ImplementationRepository::_TAO_Locator_Direct_Proxy_Impl::unreg
///////////////////////////////////////////////////////////////////////
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ss.cpp:98
POA_ImplementationRepository::Locator::Locator (void)
@@ -1783,7 +1784,7 @@ POA_ImplementationRepository::Locator::~Locator (void)
{
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Locator::activate_server_in_location_skel (
@@ -1800,10 +1801,10 @@ void POA_ImplementationRepository::Locator::activate_server_in_location_skel (
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
CORBA::String_var server;
CORBA::String_var location;
-
+
if (!(
(_tao_in >> server.out ()) &&
(_tao_in >> location.out ())
@@ -1813,51 +1814,51 @@ void POA_ImplementationRepository::Locator::activate_server_in_location_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Locator_activate_server_in_location _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in (),
-
+
location.in ()
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->activate_server_in_location (
-
+
server.in (),
-
+
location.in ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -1873,51 +1874,51 @@ void POA_ImplementationRepository::Locator::activate_server_in_location_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Locator::remove_server_in_location_skel (
@@ -1934,10 +1935,10 @@ void POA_ImplementationRepository::Locator::remove_server_in_location_skel (
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
CORBA::String_var server;
CORBA::String_var location;
-
+
if (!(
(_tao_in >> server.out ()) &&
(_tao_in >> location.out ())
@@ -1947,51 +1948,51 @@ void POA_ImplementationRepository::Locator::remove_server_in_location_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Locator_remove_server_in_location _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in (),
-
+
location.in ()
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->remove_server_in_location (
-
+
server.in (),
-
+
location.in ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -2007,51 +2008,51 @@ void POA_ImplementationRepository::Locator::remove_server_in_location_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Locator::shutdown_server_in_location_skel (
@@ -2068,10 +2069,10 @@ void POA_ImplementationRepository::Locator::shutdown_server_in_location_skel (
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
CORBA::String_var server;
CORBA::String_var location;
-
+
if (!(
(_tao_in >> server.out ()) &&
(_tao_in >> location.out ())
@@ -2081,51 +2082,51 @@ void POA_ImplementationRepository::Locator::shutdown_server_in_location_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Locator_shutdown_server_in_location _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in (),
-
+
location.in ()
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->shutdown_server_in_location (
-
+
server.in (),
-
+
location.in ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -2141,51 +2142,51 @@ void POA_ImplementationRepository::Locator::shutdown_server_in_location_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Locator::server_is_shutting_down_in_location_skel (
@@ -2202,10 +2203,10 @@ void POA_ImplementationRepository::Locator::server_is_shutting_down_in_location_
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
CORBA::String_var server;
CORBA::String_var location;
-
+
if (!(
(_tao_in >> server.out ()) &&
(_tao_in >> location.out ())
@@ -2215,51 +2216,51 @@ void POA_ImplementationRepository::Locator::server_is_shutting_down_in_location_
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Locator_server_is_shutting_down_in_location _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in (),
-
+
location.in ()
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->server_is_shutting_down_in_location (
-
+
server.in (),
-
+
location.in ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -2275,51 +2276,51 @@ void POA_ImplementationRepository::Locator::server_is_shutting_down_in_location_
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Locator::register_activator_skel (
@@ -2338,7 +2339,7 @@ void POA_ImplementationRepository::Locator::register_activator_skel (
CORBA::ULong _tao_retval = 0;
CORBA::String_var location;
CORBA::Object_var object_ref;
-
+
if (!(
(_tao_in >> location.out ()) &&
(_tao_in >> object_ref.out ())
@@ -2348,51 +2349,51 @@ void POA_ImplementationRepository::Locator::register_activator_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Locator_register_activator _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
location.in (),
-
+
object_ref.in ()
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
+ _tao_retval =
_tao_impl->register_activator (
-
+
location.in (),
-
+
object_ref.in ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
CORBA::ULong _tao_retval_info = _tao_retval;
@@ -2410,58 +2411,58 @@ void POA_ImplementationRepository::Locator::register_activator_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(
(_tao_out << _tao_retval)
))
ACE_THROW (CORBA::MARSHAL ());
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Locator::unregister_activator_skel (
@@ -2480,7 +2481,7 @@ void POA_ImplementationRepository::Locator::unregister_activator_skel (
CORBA::ULong _tao_retval = 0;
CORBA::String_var location;
CORBA::Object_var object_ref;
-
+
if (!(
(_tao_in >> location.out ()) &&
(_tao_in >> object_ref.out ())
@@ -2490,51 +2491,51 @@ void POA_ImplementationRepository::Locator::unregister_activator_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Locator_unregister_activator _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
location.in (),
-
+
object_ref.in ()
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
+ _tao_retval =
_tao_impl->unregister_activator (
-
+
location.in (),
-
+
object_ref.in ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
CORBA::ULong _tao_retval_info = _tao_retval;
@@ -2552,62 +2553,62 @@ void POA_ImplementationRepository::Locator::unregister_activator_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(
(_tao_out << _tao_retval)
))
ACE_THROW (CORBA::MARSHAL ());
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ss.cpp:163
void POA_ImplementationRepository::Locator::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -2617,22 +2618,22 @@ void POA_ImplementationRepository::Locator::_is_a_skel (
POA_ImplementationRepository::Locator *_tao_impl = (POA_ImplementationRepository::Locator *) _tao_servant;
CORBA::Boolean _tao_retval = 0;
CORBA::String_var value;
-
+
if (!(_tao_in >> value.out ()))
ACE_THROW (CORBA::MARSHAL ());
-
+
_tao_retval = _tao_impl->_is_a (value.in () ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
ACE_THROW (CORBA::MARSHAL ());
}
void POA_ImplementationRepository::Locator::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -2642,16 +2643,16 @@ void POA_ImplementationRepository::Locator::_non_existent_skel (
CORBA::Boolean _tao_retval =
_tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
ACE_THROW (CORBA::MARSHAL ());
}
void POA_ImplementationRepository::Locator::_interface_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -2660,27 +2661,27 @@ void POA_ImplementationRepository::Locator::_interface_skel (
POA_ImplementationRepository::Locator *_tao_impl = (POA_ImplementationRepository::Locator *) _tao_servant;
CORBA::InterfaceDef_ptr _tao_retval = 0;
CORBA::Boolean _tao_result = 0;
-
+
TAO_IFR_Client_Adapter *_tao_adapter =
ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance (
TAO_ORB_Core::ifr_client_adapter_name ()
);
-
+
if (_tao_adapter == 0)
{
ACE_THROW (CORBA::INTF_REPOS ());
}
-
+
ACE_TRY
{
- _tao_retval =
+ _tao_retval =
_tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
_tao_result =
_tao_adapter->interfacedef_cdr_insert (
_tao_out,
@@ -2692,7 +2693,7 @@ void POA_ImplementationRepository::Locator::_interface_skel (
_tao_adapter->dispose (_tao_retval);
}
ACE_ENDTRY;
-
+
if (_tao_result == 0)
{
ACE_THROW (CORBA::MARSHAL ());
@@ -2700,7 +2701,7 @@ void POA_ImplementationRepository::Locator::_interface_skel (
}
void POA_ImplementationRepository::Locator::_component_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_object_reference,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -2710,10 +2711,10 @@ void POA_ImplementationRepository::Locator::_component_skel (
CORBA::Object_var _tao_retval =
_tao_impl->_get_component (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << _tao_retval._retn ()))
ACE_THROW (CORBA::MARSHAL ());
}
@@ -2755,19 +2756,19 @@ void* POA_ImplementationRepository::Locator::_downcast (
{
return ACE_static_cast (POA_ImplementationRepository::Locator_ptr, this);
}
-
+
if (ACE_OS::strcmp (logical_type_id,
"IDL:ImplementationRepository/Administration:1.0") == 0)
{
return ACE_static_cast (POA_ImplementationRepository::Administration_ptr, this);
}
-
+
if (ACE_OS::strcmp (logical_type_id,
"IDL:omg.org/CORBA/Object:1.0") == 0)
{
return ACE_static_cast(PortableServer::Servant, this);
}
-
+
return 0;
}
@@ -2799,10 +2800,10 @@ POA_ImplementationRepository::Locator::_this (ACE_ENV_SINGLE_ARG_DECL)
{
TAO_Stub *stub = this->_create_stub (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
TAO_Stub_Auto_Ptr safe_stub (stub);
CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
+
if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
{
ACE_NEW_RETURN (
@@ -2827,7 +2828,7 @@ POA_ImplementationRepository::Locator::_this (ACE_ENV_SINGLE_ARG_DECL)
0
);
}
-
+
CORBA::Object_var obj = tmp;
(void) safe_stub.release ();
return ::ImplementationRepository::Locator::_unchecked_narrow (obj.in ());
diff --git a/TAO/tao/PortableServer/ImplRepoS.cpp b/TAO/tao/PortableServer/ImplRepoS.cpp
index 6cb4c01c726..0d3b3348336 100644
--- a/TAO/tao/PortableServer/ImplRepoS.cpp
+++ b/TAO/tao/PortableServer/ImplRepoS.cpp
@@ -20,7 +20,7 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:670
#ifndef _TAO_IDL_ORIG_IMPLREPOS_CPP_
@@ -34,6 +34,7 @@
#include "tao/Stub.h"
#include "tao/IFR_Client_Adapter.h"
#include "tao/PortableInterceptor.h"
+#include "tao/Profile.h"
#if TAO_HAS_INTERCEPTORS == 1
#include "tao/RequestInfo_Util.h"
#include "tao/PICurrent.h"
@@ -135,10 +136,10 @@ TAO_ImplementationRepository_ServerObject_Perfect_Hash_OpTable::lookup (const ch
static const class TAO_operation_db_entry wordlist[] =
{
{"",0},{"",0},{"",0},{"",0},
- {"ping", &POA_ImplementationRepository::ServerObject::ping_skel},
+ {"ping", &POA_ImplementationRepository::ServerObject::ping_skel},
{"_is_a", &POA_ImplementationRepository::ServerObject::_is_a_skel},
{"",0},{"",0},
- {"shutdown", &POA_ImplementationRepository::ServerObject::shutdown_skel},
+ {"shutdown", &POA_ImplementationRepository::ServerObject::shutdown_skel},
{"",0},
{"_component", &POA_ImplementationRepository::ServerObject::_component_skel},
{"",0},{"",0},
@@ -180,45 +181,45 @@ public:
POA_ImplementationRepository::ServerObject *tao_impl
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping (
const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping &
);
-
+
private:
POA_ImplementationRepository::ServerObject *_tao_impl;
-
+
};
// TAO_IDL - Generated from
@@ -244,7 +245,7 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::arguments (
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -258,11 +259,11 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::exceptions (
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -273,7 +274,7 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping::result (
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -309,45 +310,45 @@ public:
POA_ImplementationRepository::ServerObject *tao_impl
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown (
const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown &
);
-
+
private:
POA_ImplementationRepository::ServerObject *_tao_impl;
-
+
};
// TAO_IDL - Generated from
@@ -373,7 +374,7 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::arguments
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -387,11 +388,11 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::exceptions
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -402,7 +403,7 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown::result (
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -455,7 +456,7 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::~_TAO_
for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
{
delete this->proxy_cache_[i];
-
+
// Hack to prevent bug mentioned in 1204. Refer to 1204
// for details..
this->proxy_cache_[i] = 0;
@@ -471,26 +472,26 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::select
int strategy =
TAO_ORB_Core::collocation_strategy (object ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
+
if (this->proxy_cache_[strategy] != 0)
{
return *this->proxy_cache_[strategy];
}
-
+
this->create_proxy (strategy ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
+
return *this->proxy_cache_[strategy];
}
-void
+void
POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::create_proxy (
int strategy
ACE_ENV_ARG_DECL
)
{
ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
+
if (this->proxy_cache_[strategy] == 0)
{
switch (strategy)
@@ -503,7 +504,7 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::create
);
ACE_CHECK;
break;
-
+
case TAO_Collocation_Strategies::CS_DIRECT_STRATEGY:
ACE_NEW_THROW_EX (
this->proxy_cache_[strategy],
@@ -512,7 +513,7 @@ POA_ImplementationRepository::_TAO_ServerObject_Strategized_Proxy_Broker::create
);
ACE_CHECK;
break;
-
+
case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
default:
ACE_NEW_THROW_EX (
@@ -543,13 +544,13 @@ ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function (CORBA:
int
ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_Initializer (long)
{
- ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function_pointer =
+ ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function_pointer =
ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_function;
-
+
return 0;
}
-static int ImplementationRepository__TAO_ServerObject_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+static int ImplementationRepository__TAO_ServerObject_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, ImplementationRepository__TAO_ServerObject_Proxy_Broker_Factory_Initializer));
@@ -565,7 +566,7 @@ POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::_TAO_ServerO
// ThruPOA Implementation of the IDL interface methods
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::ping (
@@ -576,36 +577,36 @@ void POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::ping (
CORBA::SystemException
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"ping",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::ServerObject_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/ServerObject:1.0"
)
)->ping (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::shutdown (
@@ -616,31 +617,31 @@ void POA_ImplementationRepository::_TAO_ServerObject_ThruPOA_Proxy_Impl::shutdow
CORBA::SystemException
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"shutdown",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::ServerObject_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/ServerObject:1.0"
)
)->shutdown (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
}//
@@ -664,10 +665,10 @@ void POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::ping (
POA_ImplementationRepository::ServerObject_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/ServerObject:1.0")
)->ping (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
-
+
}
void POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::shutdown (
@@ -681,10 +682,10 @@ void POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::shutdown
POA_ImplementationRepository::ServerObject_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/ServerObject:1.0")
)->shutdown (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
-
+
}
@@ -693,7 +694,7 @@ void POA_ImplementationRepository::_TAO_ServerObject_Direct_Proxy_Impl::shutdown
///////////////////////////////////////////////////////////////////////
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ss.cpp:98
POA_ImplementationRepository::ServerObject::ServerObject (void)
@@ -709,7 +710,7 @@ POA_ImplementationRepository::ServerObject::~ServerObject (void)
{
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::ServerObject::ping_skel (
@@ -725,49 +726,49 @@ void POA_ImplementationRepository::ServerObject::ping_skel (
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->ping (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -783,51 +784,51 @@ void POA_ImplementationRepository::ServerObject::ping_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::ServerObject::shutdown_skel (
@@ -843,49 +844,49 @@ void POA_ImplementationRepository::ServerObject::shutdown_skel (
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->shutdown (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -901,55 +902,55 @@ void POA_ImplementationRepository::ServerObject::shutdown_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ss.cpp:163
void POA_ImplementationRepository::ServerObject::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -959,22 +960,22 @@ void POA_ImplementationRepository::ServerObject::_is_a_skel (
POA_ImplementationRepository::ServerObject *_tao_impl = (POA_ImplementationRepository::ServerObject *) _tao_servant;
CORBA::Boolean _tao_retval = 0;
CORBA::String_var value;
-
+
if (!(_tao_in >> value.out ()))
ACE_THROW (CORBA::MARSHAL ());
-
+
_tao_retval = _tao_impl->_is_a (value.in () ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
ACE_THROW (CORBA::MARSHAL ());
}
void POA_ImplementationRepository::ServerObject::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -984,16 +985,16 @@ void POA_ImplementationRepository::ServerObject::_non_existent_skel (
CORBA::Boolean _tao_retval =
_tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
ACE_THROW (CORBA::MARSHAL ());
}
void POA_ImplementationRepository::ServerObject::_interface_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -1002,27 +1003,27 @@ void POA_ImplementationRepository::ServerObject::_interface_skel (
POA_ImplementationRepository::ServerObject *_tao_impl = (POA_ImplementationRepository::ServerObject *) _tao_servant;
CORBA::InterfaceDef_ptr _tao_retval = 0;
CORBA::Boolean _tao_result = 0;
-
+
TAO_IFR_Client_Adapter *_tao_adapter =
ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance (
TAO_ORB_Core::ifr_client_adapter_name ()
);
-
+
if (_tao_adapter == 0)
{
ACE_THROW (CORBA::INTF_REPOS ());
}
-
+
ACE_TRY
{
- _tao_retval =
+ _tao_retval =
_tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
_tao_result =
_tao_adapter->interfacedef_cdr_insert (
_tao_out,
@@ -1034,7 +1035,7 @@ void POA_ImplementationRepository::ServerObject::_interface_skel (
_tao_adapter->dispose (_tao_retval);
}
ACE_ENDTRY;
-
+
if (_tao_result == 0)
{
ACE_THROW (CORBA::MARSHAL ());
@@ -1042,7 +1043,7 @@ void POA_ImplementationRepository::ServerObject::_interface_skel (
}
void POA_ImplementationRepository::ServerObject::_component_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_object_reference,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -1052,10 +1053,10 @@ void POA_ImplementationRepository::ServerObject::_component_skel (
CORBA::Object_var _tao_retval =
_tao_impl->_get_component (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << _tao_retval._retn ()))
ACE_THROW (CORBA::MARSHAL ());
}
@@ -1093,13 +1094,13 @@ void* POA_ImplementationRepository::ServerObject::_downcast (
{
return ACE_static_cast (POA_ImplementationRepository::ServerObject_ptr, this);
}
-
+
if (ACE_OS::strcmp (logical_type_id,
"IDL:omg.org/CORBA/Object:1.0") == 0)
{
return ACE_static_cast(PortableServer::Servant, this);
}
-
+
return 0;
}
@@ -1131,10 +1132,10 @@ POA_ImplementationRepository::ServerObject::_this (ACE_ENV_SINGLE_ARG_DECL)
{
TAO_Stub *stub = this->_create_stub (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
TAO_Stub_Auto_Ptr safe_stub (stub);
CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
+
if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
{
ACE_NEW_RETURN (
@@ -1159,7 +1160,7 @@ POA_ImplementationRepository::ServerObject::_this (ACE_ENV_SINGLE_ARG_DECL)
0
);
}
-
+
CORBA::Object_var obj = tmp;
(void) safe_stub.release ();
return ::ImplementationRepository::ServerObject::_unchecked_narrow (obj.in ());
@@ -1247,29 +1248,29 @@ TAO_ImplementationRepository_Administration_Perfect_Hash_OpTable::lookup (const
static const class TAO_operation_db_entry wordlist[] =
{
{"",0},{"",0},{"",0},{"",0},
- {"find", &POA_ImplementationRepository::Administration::find_skel},
+ {"find", &POA_ImplementationRepository::Administration::find_skel},
{"",0},{"",0},{"",0},{"",0},
{"_is_a", &POA_ImplementationRepository::Administration::_is_a_skel},
{"_interface", &POA_ImplementationRepository::Administration::_interface_skel},
{"",0},{"",0},
- {"remove_server", &POA_ImplementationRepository::Administration::remove_server_skel},
+ {"remove_server", &POA_ImplementationRepository::Administration::remove_server_skel},
{"",0},
- {"register_server", &POA_ImplementationRepository::Administration::register_server_skel},
+ {"register_server", &POA_ImplementationRepository::Administration::register_server_skel},
{"",0},
- {"reregister_server", &POA_ImplementationRepository::Administration::reregister_server_skel},
+ {"reregister_server", &POA_ImplementationRepository::Administration::reregister_server_skel},
{"",0},
- {"activate_server", &POA_ImplementationRepository::Administration::activate_server_skel},
- {"shutdown_server", &POA_ImplementationRepository::Administration::shutdown_server_skel},
+ {"activate_server", &POA_ImplementationRepository::Administration::activate_server_skel},
+ {"shutdown_server", &POA_ImplementationRepository::Administration::shutdown_server_skel},
{"",0},
- {"server_is_running", &POA_ImplementationRepository::Administration::server_is_running_skel},
+ {"server_is_running", &POA_ImplementationRepository::Administration::server_is_running_skel},
{"",0},
- {"list", &POA_ImplementationRepository::Administration::list_skel},
+ {"list", &POA_ImplementationRepository::Administration::list_skel},
{"_component", &POA_ImplementationRepository::Administration::_component_skel},
{"",0},{"",0},
{"_non_existent", &POA_ImplementationRepository::Administration::_non_existent_skel},
{"",0},{"",0},{"",0},
- {"activate_server_with_startup", &POA_ImplementationRepository::Administration::activate_server_with_startup_skel},
- {"server_is_shutting_down", &POA_ImplementationRepository::Administration::server_is_shutting_down_skel},
+ {"activate_server_with_startup", &POA_ImplementationRepository::Administration::activate_server_with_startup_skel},
+ {"server_is_shutting_down", &POA_ImplementationRepository::Administration::server_is_shutting_down_skel},
};
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
@@ -1306,45 +1307,45 @@ public:
const char * server
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server &
);
-
+
private:
POA_ImplementationRepository::Administration *_tao_impl;
-
+
const char * server_;
};
@@ -1373,15 +1374,15 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::a
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (1);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -1395,15 +1396,15 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::e
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_activate_server_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_activate_server_exceptiondata[] =
{
ImplementationRepository::_tc_NotFound,
ImplementationRepository::_tc_CannotActivate
};
-
+
exception_list->length (2);
for (CORBA::ULong i = 0; i < 2; ++i)
{
@@ -1415,7 +1416,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::e
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -1426,7 +1427,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server::r
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -1464,47 +1465,47 @@ public:
const CORBA::Long & check_startup
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
void result (char * result);
private:
TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup &
);
-
+
private:
POA_ImplementationRepository::Administration *_tao_impl;
-
+
const char * server_;
const CORBA::Long & check_startup_;char * _result;
};
@@ -1536,19 +1537,19 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_wi
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (2);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
(*parameter_list)[len].argument <<= check_startup_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -1562,15 +1563,15 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_wi
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_activate_server_with_startup_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_activate_server_with_startup_exceptiondata[] =
{
ImplementationRepository::_tc_NotFound,
ImplementationRepository::_tc_CannotActivate
};
-
+
exception_list->length (2);
for (CORBA::ULong i = 0; i < 2; ++i)
{
@@ -1582,7 +1583,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_wi
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -1593,11 +1594,11 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_wi
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= this->_result;
-
+
return safe_result_any._retn ();
}
@@ -1621,7 +1622,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_wi
return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER);
}
-void
+void
TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup::result (char * result)
{
// Update the result.
@@ -1642,45 +1643,45 @@ public:
const ImplementationRepository::StartupOptions & options
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server &
);
-
+
private:
POA_ImplementationRepository::Administration *_tao_impl;
-
+
const char * server_;
const ImplementationRepository::StartupOptions & options_;
};
@@ -1712,19 +1713,19 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::a
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (2);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
(*parameter_list)[len].argument <<= this->options_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -1738,14 +1739,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::e
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_register_server_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_register_server_exceptiondata[] =
{
ImplementationRepository::_tc_AlreadyRegistered
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -1757,7 +1758,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::e
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -1768,7 +1769,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server::r
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -1806,45 +1807,45 @@ public:
const ImplementationRepository::StartupOptions & options
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server &
);
-
+
private:
POA_ImplementationRepository::Administration *_tao_impl;
-
+
const char * server_;
const ImplementationRepository::StartupOptions & options_;
};
@@ -1876,19 +1877,19 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server:
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (2);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
(*parameter_list)[len].argument <<= this->options_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -1902,11 +1903,11 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server:
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -1917,7 +1918,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server:
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -1954,45 +1955,45 @@ public:
const char * server
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server &
);
-
+
private:
POA_ImplementationRepository::Administration *_tao_impl;
-
+
const char * server_;
};
@@ -2021,15 +2022,15 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::arg
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (1);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -2043,14 +2044,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::exc
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_remove_server_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_remove_server_exceptiondata[] =
{
ImplementationRepository::_tc_NotFound
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -2062,7 +2063,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::exc
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -2073,7 +2074,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server::res
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -2110,45 +2111,45 @@ public:
const char * server
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server &
);
-
+
private:
POA_ImplementationRepository::Administration *_tao_impl;
-
+
const char * server_;
};
@@ -2177,15 +2178,15 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::a
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (1);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -2199,14 +2200,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::e
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata[] =
{
ImplementationRepository::_tc_NotFound
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -2218,7 +2219,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::e
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -2229,7 +2230,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server::r
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -2268,47 +2269,47 @@ public:
ImplementationRepository::ServerObject_ptr server_object
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
void result (char * result);
private:
TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running &
);
-
+
private:
POA_ImplementationRepository::Administration *_tao_impl;
-
+
const char * server_;
const char * addr_;
ImplementationRepository::ServerObject_ptr server_object_;char * _result;
@@ -2343,23 +2344,23 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running:
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (3);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
(*parameter_list)[len].argument <<= addr_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
(*parameter_list)[len].argument <<= this->server_object_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -2373,14 +2374,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running:
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_server_is_running_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_server_is_running_exceptiondata[] =
{
ImplementationRepository::_tc_NotFound
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -2392,7 +2393,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running:
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -2403,11 +2404,11 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running:
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= this->_result;
-
+
return safe_result_any._retn ();
}
@@ -2431,7 +2432,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running:
return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER);
}
-void
+void
TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running::result (char * result)
{
// Update the result.
@@ -2451,45 +2452,45 @@ public:
const char * server
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down &
);
-
+
private:
POA_ImplementationRepository::Administration *_tao_impl;
-
+
const char * server_;
};
@@ -2518,15 +2519,15 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (1);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -2540,14 +2541,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata[] =
{
ImplementationRepository::_tc_NotFound
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -2559,7 +2560,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -2570,7 +2571,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -2607,45 +2608,45 @@ public:
const char * server
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_Administration_find (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_find &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_find &
);
-
+
private:
POA_ImplementationRepository::Administration *_tao_impl;
-
+
const char * server_;
};
@@ -2674,15 +2675,15 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_find::arguments (
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (1);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= server_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -2696,14 +2697,14 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_find::exceptions (
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_find_exceptiondata[] =
+
+ static CORBA::TypeCode_ptr _tao_ImplementationRepository_Administration_find_exceptiondata[] =
{
ImplementationRepository::_tc_NotFound
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -2715,7 +2716,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_find::exceptions (
return safe_exception_list._retn ();
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Administration_find::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -2726,7 +2727,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_find::result (
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -2760,50 +2761,50 @@ public:
TAO_ServerRequest &_tao_server_request,
TAO_Object_Adapter::Servant_Upcall *tao_servant_upcall,
POA_ImplementationRepository::Administration *tao_impl,
- const CORBA::ULong & how_many
+ const CORBA::ULong & how_many
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_Administration_list (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_list &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_Administration_list &
);
-
+
private:
POA_ImplementationRepository::Administration *_tao_impl;
-
- const CORBA::ULong & how_many_;
+
+ const CORBA::ULong & how_many_;
};
@@ -2814,13 +2815,13 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_list::TAO_ServerRe
TAO_ServerRequest &_tao_server_request,
TAO_Object_Adapter::Servant_Upcall *_tao_servant_upcall,
POA_ImplementationRepository::Administration *tao_impl,
- const CORBA::ULong & how_many
+ const CORBA::ULong & how_many
ACE_ENV_ARG_DECL_NOT_USED
)
: TAO_ServerRequestInfo (_tao_server_request, _tao_servant_upcall),
_tao_impl (tao_impl),
- how_many_ (how_many)
+ how_many_ (how_many)
{}
@@ -2834,15 +2835,15 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_list::arguments (
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (1);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= how_many_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -2857,11 +2858,11 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_list::exceptions (
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_Administration_list::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -2872,7 +2873,7 @@ TAO_ServerRequestInfo_ImplementationRepository_Administration_list::result (
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -2925,7 +2926,7 @@ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::~_TA
for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
{
delete this->proxy_cache_[i];
-
+
// Hack to prevent bug mentioned in 1204. Refer to 1204
// for details..
this->proxy_cache_[i] = 0;
@@ -2941,26 +2942,26 @@ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::sele
int strategy =
TAO_ORB_Core::collocation_strategy (object ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
+
if (this->proxy_cache_[strategy] != 0)
{
return *this->proxy_cache_[strategy];
}
-
+
this->create_proxy (strategy ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
+
return *this->proxy_cache_[strategy];
}
-void
+void
POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::create_proxy (
int strategy
ACE_ENV_ARG_DECL
)
{
ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
+
if (this->proxy_cache_[strategy] == 0)
{
switch (strategy)
@@ -2973,7 +2974,7 @@ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::crea
);
ACE_CHECK;
break;
-
+
case TAO_Collocation_Strategies::CS_DIRECT_STRATEGY:
ACE_NEW_THROW_EX (
this->proxy_cache_[strategy],
@@ -2982,7 +2983,7 @@ POA_ImplementationRepository::_TAO_Administration_Strategized_Proxy_Broker::crea
);
ACE_CHECK;
break;
-
+
case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
default:
ACE_NEW_THROW_EX (
@@ -3013,13 +3014,13 @@ ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_function (CORB
int
ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_Initializer (long)
{
- ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_function_pointer =
+ ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_function_pointer =
ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_function;
-
+
return 0;
}
-static int ImplementationRepository__TAO_Administration_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+static int ImplementationRepository__TAO_Administration_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, ImplementationRepository__TAO_Administration_Proxy_Broker_Factory_Initializer));
@@ -3035,7 +3036,7 @@ POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::_TAO_Admin
// ThruPOA Implementation of the IDL interface methods
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activate_server (
@@ -3049,37 +3050,37 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activ
, ImplementationRepository::CannotActivate
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"activate_server",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::Administration_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Administration:1.0"
)
)->activate_server (
-
+
server
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
char * POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::activate_server_with_startup (
@@ -3101,32 +3102,32 @@ char * POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::act
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"activate_server_with_startup",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval._retn ());
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval._retn ());
-
+
return ACE_reinterpret_cast (
POA_ImplementationRepository::Administration_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Administration:1.0"
)
)->activate_server_with_startup (
-
+
server,
check_startup
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::register_server (
@@ -3140,38 +3141,38 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::regis
, ImplementationRepository::AlreadyRegistered
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"register_server",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::Administration_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Administration:1.0"
)
)->register_server (
-
+
server,
options
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::reregister_server (
@@ -3184,38 +3185,38 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::rereg
CORBA::SystemException
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"reregister_server",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::Administration_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Administration:1.0"
)
)->reregister_server (
-
+
server,
options
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::remove_server (
@@ -3228,37 +3229,37 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::remov
, ImplementationRepository::NotFound
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"remove_server",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::Administration_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Administration:1.0"
)
)->remove_server (
-
+
server
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::shutdown_server (
@@ -3271,37 +3272,37 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::shutd
, ImplementationRepository::NotFound
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"shutdown_server",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::Administration_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Administration:1.0"
)
)->shutdown_server (
-
+
server
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
char * POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::server_is_running (
@@ -3323,25 +3324,25 @@ char * POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::ser
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"server_is_running",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval._retn ());
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval._retn ());
-
+
return ACE_reinterpret_cast (
POA_ImplementationRepository::Administration_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Administration:1.0"
)
)->server_is_running (
-
+
server,
addr,
server_object
@@ -3349,7 +3350,7 @@ char * POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::ser
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::server_is_shutting_down (
@@ -3362,37 +3363,37 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::serve
, ImplementationRepository::NotFound
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"server_is_shutting_down",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::Administration_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Administration:1.0"
)
)->server_is_shutting_down (
-
+
server
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::find (
@@ -3406,38 +3407,38 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::find
, ImplementationRepository::NotFound
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"find",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::Administration_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Administration:1.0"
)
)->find (
-
+
server,
info
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::list (
@@ -3451,31 +3452,31 @@ void POA_ImplementationRepository::_TAO_Administration_ThruPOA_Proxy_Impl::list
CORBA::SystemException
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"list",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::Administration_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/Administration:1.0"
)
)->list (
-
+
how_many,
server_list,
server_iterator
@@ -3507,11 +3508,11 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activa
POA_ImplementationRepository::Administration_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0")
)->activate_server (
-
+
server
ACE_ENV_ARG_PARAMETER
);
-
+
}
char * POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::activate_server_with_startup (
@@ -3529,12 +3530,12 @@ char * POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::acti
POA_ImplementationRepository::Administration_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0")
)->activate_server_with_startup (
-
+
server,
check_startup
ACE_ENV_ARG_PARAMETER
);
-
+
}
void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::register_server (
@@ -3551,12 +3552,12 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::regist
POA_ImplementationRepository::Administration_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0")
)->register_server (
-
+
server,
options
ACE_ENV_ARG_PARAMETER
);
-
+
}
void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::reregister_server (
@@ -3572,12 +3573,12 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::reregi
POA_ImplementationRepository::Administration_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0")
)->reregister_server (
-
+
server,
options
ACE_ENV_ARG_PARAMETER
);
-
+
}
void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::remove_server (
@@ -3593,11 +3594,11 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::remove
POA_ImplementationRepository::Administration_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0")
)->remove_server (
-
+
server
ACE_ENV_ARG_PARAMETER
);
-
+
}
void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::shutdown_server (
@@ -3613,11 +3614,11 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::shutdo
POA_ImplementationRepository::Administration_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0")
)->shutdown_server (
-
+
server
ACE_ENV_ARG_PARAMETER
);
-
+
}
char * POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_running (
@@ -3635,13 +3636,13 @@ char * POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::serv
POA_ImplementationRepository::Administration_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0")
)->server_is_running (
-
+
server,
addr,
server_object
ACE_ENV_ARG_PARAMETER
);
-
+
}
void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server_is_shutting_down (
@@ -3657,11 +3658,11 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::server
POA_ImplementationRepository::Administration_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0")
)->server_is_shutting_down (
-
+
server
ACE_ENV_ARG_PARAMETER
);
-
+
}
void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::find (
@@ -3678,12 +3679,12 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::find
POA_ImplementationRepository::Administration_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0")
)->find (
-
+
server,
info
ACE_ENV_ARG_PARAMETER
);
-
+
}
void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::list (
@@ -3700,13 +3701,13 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::list
POA_ImplementationRepository::Administration_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/Administration:1.0")
)->list (
-
+
how_many,
server_list,
server_iterator
ACE_ENV_ARG_PARAMETER
);
-
+
}
@@ -3714,7 +3715,7 @@ void POA_ImplementationRepository::_TAO_Administration_Direct_Proxy_Impl::list
// End Direct Proxy Implementation
///////////////////////////////////////////////////////////////////////
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ss.cpp:98
POA_ImplementationRepository::Administration::Administration (void)
@@ -3730,7 +3731,7 @@ POA_ImplementationRepository::Administration::~Administration (void)
{
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Administration::activate_server_skel (
@@ -3747,9 +3748,9 @@ void POA_ImplementationRepository::Administration::activate_server_skel (
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
CORBA::String_var server;
-
+
if (!(
(_tao_in >> server.out ())
))
@@ -3758,47 +3759,47 @@ void POA_ImplementationRepository::Administration::activate_server_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in ()
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->activate_server (
-
+
server.in ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -3814,51 +3815,51 @@ void POA_ImplementationRepository::Administration::activate_server_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Administration::activate_server_with_startup_skel (
@@ -3877,7 +3878,7 @@ void POA_ImplementationRepository::Administration::activate_server_with_startup_
CORBA::String_var _tao_retval;
CORBA::String_var server;
CORBA::Long check_startup;
-
+
if (!(
(_tao_in >> server.out ()) &&
(_tao_in >> check_startup)
@@ -3887,51 +3888,51 @@ void POA_ImplementationRepository::Administration::activate_server_with_startup_
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server_with_startup _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in (),
-
+
check_startup
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
+ _tao_retval =
_tao_impl->activate_server_with_startup (
-
+
server.in (),
-
+
check_startup
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
char * _tao_retval_info = _tao_retval._retn ();
@@ -3950,58 +3951,58 @@ void POA_ImplementationRepository::Administration::activate_server_with_startup_
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(
(_tao_out << _tao_retval.in ())
))
ACE_THROW (CORBA::MARSHAL ());
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Administration::register_server_skel (
@@ -4018,10 +4019,10 @@ void POA_ImplementationRepository::Administration::register_server_skel (
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
CORBA::String_var server;
ImplementationRepository::StartupOptions options;
-
+
if (!(
(_tao_in >> server.out ()) &&
(_tao_in >> options)
@@ -4031,51 +4032,51 @@ void POA_ImplementationRepository::Administration::register_server_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in (),
-
+
options
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->register_server (
-
+
server.in (),
-
+
options
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -4091,51 +4092,51 @@ void POA_ImplementationRepository::Administration::register_server_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Administration::reregister_server_skel (
@@ -4152,10 +4153,10 @@ void POA_ImplementationRepository::Administration::reregister_server_skel (
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
CORBA::String_var server;
ImplementationRepository::StartupOptions options;
-
+
if (!(
(_tao_in >> server.out ()) &&
(_tao_in >> options)
@@ -4165,51 +4166,51 @@ void POA_ImplementationRepository::Administration::reregister_server_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in (),
-
+
options
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->reregister_server (
-
+
server.in (),
-
+
options
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -4225,51 +4226,51 @@ void POA_ImplementationRepository::Administration::reregister_server_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Administration::remove_server_skel (
@@ -4286,9 +4287,9 @@ void POA_ImplementationRepository::Administration::remove_server_skel (
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
CORBA::String_var server;
-
+
if (!(
(_tao_in >> server.out ())
))
@@ -4297,47 +4298,47 @@ void POA_ImplementationRepository::Administration::remove_server_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in ()
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->remove_server (
-
+
server.in ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -4353,51 +4354,51 @@ void POA_ImplementationRepository::Administration::remove_server_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Administration::shutdown_server_skel (
@@ -4414,9 +4415,9 @@ void POA_ImplementationRepository::Administration::shutdown_server_skel (
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
CORBA::String_var server;
-
+
if (!(
(_tao_in >> server.out ())
))
@@ -4425,47 +4426,47 @@ void POA_ImplementationRepository::Administration::shutdown_server_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in ()
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->shutdown_server (
-
+
server.in ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -4481,51 +4482,51 @@ void POA_ImplementationRepository::Administration::shutdown_server_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Administration::server_is_running_skel (
@@ -4545,7 +4546,7 @@ void POA_ImplementationRepository::Administration::server_is_running_skel (
CORBA::String_var server;
CORBA::String_var addr;
ImplementationRepository::ServerObject_var server_object;
-
+
if (!(
(_tao_in >> server.out ()) &&
(_tao_in >> addr.out ()) &&
@@ -4556,55 +4557,55 @@ void POA_ImplementationRepository::Administration::server_is_running_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in (),
-
+
addr.in (),
-
+
server_object.in ()
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
+ _tao_retval =
_tao_impl->server_is_running (
-
+
server.in (),
-
+
addr.in (),
-
+
server_object.in ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
char * _tao_retval_info = _tao_retval._retn ();
@@ -4623,58 +4624,58 @@ void POA_ImplementationRepository::Administration::server_is_running_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(
(_tao_out << _tao_retval.in ())
))
ACE_THROW (CORBA::MARSHAL ());
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Administration::server_is_shutting_down_skel (
@@ -4691,9 +4692,9 @@ void POA_ImplementationRepository::Administration::server_is_shutting_down_skel
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
CORBA::String_var server;
-
+
if (!(
(_tao_in >> server.out ())
))
@@ -4702,47 +4703,47 @@ void POA_ImplementationRepository::Administration::server_is_shutting_down_skel
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in ()
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->server_is_shutting_down (
-
+
server.in ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -4758,51 +4759,51 @@ void POA_ImplementationRepository::Administration::server_is_shutting_down_skel
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Administration::find_skel (
@@ -4818,10 +4819,10 @@ void POA_ImplementationRepository::Administration::find_skel (
POA_ImplementationRepository::Administration *,
_tao_servant
);
-
+
CORBA::String_var server;
ImplementationRepository::ServerInformation_var info;
-
+
if (!(
(_tao_in >> server.out ())
))
@@ -4830,49 +4831,49 @@ void POA_ImplementationRepository::Administration::find_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Administration_find _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
server.in ()
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->find (
-
+
server.in (),
-
+
info.out ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -4888,58 +4889,58 @@ void POA_ImplementationRepository::Administration::find_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(
(_tao_out << info.in ())
))
ACE_THROW (CORBA::MARSHAL ());
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::Administration::list_skel (
@@ -4955,12 +4956,12 @@ void POA_ImplementationRepository::Administration::list_skel (
POA_ImplementationRepository::Administration *,
_tao_servant
);
-
+
CORBA::ULong how_many;
ImplementationRepository::ServerInformationList_var server_list;
-
+
ImplementationRepository::ServerInformationIterator_var server_iterator;
-
+
if (!(
(_tao_in >> how_many)
))
@@ -4969,52 +4970,52 @@ void POA_ImplementationRepository::Administration::list_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_Administration_list _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
- how_many
+
+ how_many
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->list (
-
+
how_many,
-
+
server_list.out (),
-
+
server_iterator.out ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -5030,63 +5031,63 @@ void POA_ImplementationRepository::Administration::list_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(
(_tao_out << server_list.in ()) &&
(_tao_out << server_iterator.in ())
))
ACE_THROW (CORBA::MARSHAL ());
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ss.cpp:163
void POA_ImplementationRepository::Administration::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -5096,22 +5097,22 @@ void POA_ImplementationRepository::Administration::_is_a_skel (
POA_ImplementationRepository::Administration *_tao_impl = (POA_ImplementationRepository::Administration *) _tao_servant;
CORBA::Boolean _tao_retval = 0;
CORBA::String_var value;
-
+
if (!(_tao_in >> value.out ()))
ACE_THROW (CORBA::MARSHAL ());
-
+
_tao_retval = _tao_impl->_is_a (value.in () ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
ACE_THROW (CORBA::MARSHAL ());
}
void POA_ImplementationRepository::Administration::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -5121,16 +5122,16 @@ void POA_ImplementationRepository::Administration::_non_existent_skel (
CORBA::Boolean _tao_retval =
_tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
ACE_THROW (CORBA::MARSHAL ());
}
void POA_ImplementationRepository::Administration::_interface_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -5139,27 +5140,27 @@ void POA_ImplementationRepository::Administration::_interface_skel (
POA_ImplementationRepository::Administration *_tao_impl = (POA_ImplementationRepository::Administration *) _tao_servant;
CORBA::InterfaceDef_ptr _tao_retval = 0;
CORBA::Boolean _tao_result = 0;
-
+
TAO_IFR_Client_Adapter *_tao_adapter =
ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance (
TAO_ORB_Core::ifr_client_adapter_name ()
);
-
+
if (_tao_adapter == 0)
{
ACE_THROW (CORBA::INTF_REPOS ());
}
-
+
ACE_TRY
{
- _tao_retval =
+ _tao_retval =
_tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
_tao_result =
_tao_adapter->interfacedef_cdr_insert (
_tao_out,
@@ -5171,7 +5172,7 @@ void POA_ImplementationRepository::Administration::_interface_skel (
_tao_adapter->dispose (_tao_retval);
}
ACE_ENDTRY;
-
+
if (_tao_result == 0)
{
ACE_THROW (CORBA::MARSHAL ());
@@ -5179,7 +5180,7 @@ void POA_ImplementationRepository::Administration::_interface_skel (
}
void POA_ImplementationRepository::Administration::_component_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_object_reference,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -5189,10 +5190,10 @@ void POA_ImplementationRepository::Administration::_component_skel (
CORBA::Object_var _tao_retval =
_tao_impl->_get_component (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << _tao_retval._retn ()))
ACE_THROW (CORBA::MARSHAL ());
}
@@ -5230,13 +5231,13 @@ void* POA_ImplementationRepository::Administration::_downcast (
{
return ACE_static_cast (POA_ImplementationRepository::Administration_ptr, this);
}
-
+
if (ACE_OS::strcmp (logical_type_id,
"IDL:omg.org/CORBA/Object:1.0") == 0)
{
return ACE_static_cast(PortableServer::Servant, this);
}
-
+
return 0;
}
@@ -5268,10 +5269,10 @@ POA_ImplementationRepository::Administration::_this (ACE_ENV_SINGLE_ARG_DECL)
{
TAO_Stub *stub = this->_create_stub (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
TAO_Stub_Auto_Ptr safe_stub (stub);
CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
+
if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
{
ACE_NEW_RETURN (
@@ -5296,7 +5297,7 @@ POA_ImplementationRepository::Administration::_this (ACE_ENV_SINGLE_ARG_DECL)
0
);
}
-
+
CORBA::Object_var obj = tmp;
(void) safe_stub.release ();
return ::ImplementationRepository::Administration::_unchecked_narrow (obj.in ());
@@ -5385,8 +5386,8 @@ TAO_ImplementationRepository_ServerInformationIterator_Perfect_Hash_OpTable::loo
{
{"",0},{"",0},{"",0},{"",0},{"",0},
{"_is_a", &POA_ImplementationRepository::ServerInformationIterator::_is_a_skel},
- {"next_n", &POA_ImplementationRepository::ServerInformationIterator::next_n_skel},
- {"destroy", &POA_ImplementationRepository::ServerInformationIterator::destroy_skel},
+ {"next_n", &POA_ImplementationRepository::ServerInformationIterator::next_n_skel},
+ {"destroy", &POA_ImplementationRepository::ServerInformationIterator::destroy_skel},
{"",0},{"",0},
{"_component", &POA_ImplementationRepository::ServerInformationIterator::_component_skel},
{"",0},{"",0},
@@ -5429,47 +5430,47 @@ public:
const CORBA::ULong & how_many
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
void result (CORBA::Boolean result);
private:
TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n (
const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n &
);
-
+
private:
POA_ImplementationRepository::ServerInformationIterator *_tao_impl;
-
+
const CORBA::ULong & how_many_;CORBA::Boolean _result;
};
@@ -5498,15 +5499,15 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n:
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
parameter_list->length (1);
CORBA::ULong len = 0;
-
+
(*parameter_list)[len].argument <<= how_many_;
(*parameter_list)[len].mode = CORBA::PARAM_IN;
len++;
-
+
return safe_parameter_list._retn ();
}
@@ -5520,11 +5521,11 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n:
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -5535,11 +5536,11 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n:
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
+
return safe_result_any._retn ();
}
@@ -5563,7 +5564,7 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n:
return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER);
}
-void
+void
TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::result (CORBA::Boolean result)
{
// Update the result.
@@ -5582,45 +5583,45 @@ public:
POA_ImplementationRepository::ServerInformationIterator *tao_impl
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy (
const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &
);
-
+
void operator= (
const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &
);
-
+
private:
POA_ImplementationRepository::ServerInformationIterator *_tao_impl;
-
+
};
// TAO_IDL - Generated from
@@ -5646,7 +5647,7 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -5660,11 +5661,11 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -5675,7 +5676,7 @@ TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -5728,7 +5729,7 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_B
for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
{
delete this->proxy_cache_[i];
-
+
// Hack to prevent bug mentioned in 1204. Refer to 1204
// for details..
this->proxy_cache_[i] = 0;
@@ -5744,26 +5745,26 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_B
int strategy =
TAO_ORB_Core::collocation_strategy (object ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
+
if (this->proxy_cache_[strategy] != 0)
{
return *this->proxy_cache_[strategy];
}
-
+
this->create_proxy (strategy ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
+
return *this->proxy_cache_[strategy];
}
-void
+void
POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_Broker::create_proxy (
int strategy
ACE_ENV_ARG_DECL
)
{
ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
+
if (this->proxy_cache_[strategy] == 0)
{
switch (strategy)
@@ -5776,7 +5777,7 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_B
);
ACE_CHECK;
break;
-
+
case TAO_Collocation_Strategies::CS_DIRECT_STRATEGY:
ACE_NEW_THROW_EX (
this->proxy_cache_[strategy],
@@ -5785,7 +5786,7 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_Strategized_Proxy_B
);
ACE_CHECK;
break;
-
+
case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
default:
ACE_NEW_THROW_EX (
@@ -5816,13 +5817,13 @@ ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_fun
int
ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_Initializer (long)
{
- ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function_pointer =
+ ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function_pointer =
ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_function;
-
+
return 0;
}
-static int ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+static int ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, ImplementationRepository__TAO_ServerInformationIterator_Proxy_Broker_Factory_Initializer));
@@ -5838,7 +5839,7 @@ POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl:
// ThruPOA Implementation of the IDL interface methods
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
CORBA::Boolean POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::next_n (
@@ -5858,32 +5859,32 @@ CORBA::Boolean POA_ImplementationRepository::_TAO_ServerInformationIterator_Thru
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"next_n",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval);
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval);
-
+
return ACE_reinterpret_cast (
POA_ImplementationRepository::ServerInformationIterator_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/ServerInformationIterator:1.0"
)
)->next_n (
-
+
how_many,
server_list
ACE_ENV_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl::destroy (
@@ -5894,31 +5895,31 @@ void POA_ImplementationRepository::_TAO_ServerInformationIterator_ThruPOA_Proxy_
CORBA::SystemException
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"destroy",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_ImplementationRepository::ServerInformationIterator_ptr,
servant_upcall.servant ()->_downcast (
"IDL:ImplementationRepository/ServerInformationIterator:1.0"
)
)->destroy (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
}
@@ -5946,12 +5947,12 @@ CORBA::Boolean POA_ImplementationRepository::_TAO_ServerInformationIterator_Dire
POA_ImplementationRepository::ServerInformationIterator_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/ServerInformationIterator:1.0")
)->next_n (
-
+
how_many,
server_list
ACE_ENV_ARG_PARAMETER
);
-
+
}
void POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_Impl::destroy (
@@ -5965,10 +5966,10 @@ void POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_I
POA_ImplementationRepository::ServerInformationIterator_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:ImplementationRepository/ServerInformationIterator:1.0")
)->destroy (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
-
+
}
@@ -5976,7 +5977,7 @@ void POA_ImplementationRepository::_TAO_ServerInformationIterator_Direct_Proxy_I
// End Direct Proxy Implementation
///////////////////////////////////////////////////////////////////////
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ss.cpp:98
POA_ImplementationRepository::ServerInformationIterator::ServerInformationIterator (void)
@@ -5992,7 +5993,7 @@ POA_ImplementationRepository::ServerInformationIterator::~ServerInformationItera
{
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::ServerInformationIterator::next_n_skel (
@@ -6011,8 +6012,8 @@ void POA_ImplementationRepository::ServerInformationIterator::next_n_skel (
CORBA::Boolean _tao_retval = 0;
CORBA::ULong how_many;
ImplementationRepository::ServerInformationList_var server_list;
-
-
+
+
if (!(
(_tao_in >> how_many)
))
@@ -6021,49 +6022,49 @@ void POA_ImplementationRepository::ServerInformationIterator::next_n_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl,
-
+
how_many
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
+ _tao_retval =
_tao_impl->next_n (
-
+
how_many,
-
+
server_list.out ()
ACE_ENV_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
CORBA::Boolean _tao_retval_info = _tao_retval;
@@ -6081,59 +6082,59 @@ void POA_ImplementationRepository::ServerInformationIterator::next_n_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(
(_tao_out << CORBA::Any::from_boolean (_tao_retval)) &&
(_tao_out << server_list.in ())
))
ACE_THROW (CORBA::MARSHAL ());
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_ImplementationRepository::ServerInformationIterator::destroy_skel (
@@ -6149,49 +6150,49 @@ void POA_ImplementationRepository::ServerInformationIterator::destroy_skel (
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->destroy (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -6207,55 +6208,55 @@ void POA_ImplementationRepository::ServerInformationIterator::destroy_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ss.cpp:163
void POA_ImplementationRepository::ServerInformationIterator::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -6265,22 +6266,22 @@ void POA_ImplementationRepository::ServerInformationIterator::_is_a_skel (
POA_ImplementationRepository::ServerInformationIterator *_tao_impl = (POA_ImplementationRepository::ServerInformationIterator *) _tao_servant;
CORBA::Boolean _tao_retval = 0;
CORBA::String_var value;
-
+
if (!(_tao_in >> value.out ()))
ACE_THROW (CORBA::MARSHAL ());
-
+
_tao_retval = _tao_impl->_is_a (value.in () ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
ACE_THROW (CORBA::MARSHAL ());
}
void POA_ImplementationRepository::ServerInformationIterator::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -6290,16 +6291,16 @@ void POA_ImplementationRepository::ServerInformationIterator::_non_existent_skel
CORBA::Boolean _tao_retval =
_tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
ACE_THROW (CORBA::MARSHAL ());
}
void POA_ImplementationRepository::ServerInformationIterator::_interface_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -6308,27 +6309,27 @@ void POA_ImplementationRepository::ServerInformationIterator::_interface_skel (
POA_ImplementationRepository::ServerInformationIterator *_tao_impl = (POA_ImplementationRepository::ServerInformationIterator *) _tao_servant;
CORBA::InterfaceDef_ptr _tao_retval = 0;
CORBA::Boolean _tao_result = 0;
-
+
TAO_IFR_Client_Adapter *_tao_adapter =
ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance (
TAO_ORB_Core::ifr_client_adapter_name ()
);
-
+
if (_tao_adapter == 0)
{
ACE_THROW (CORBA::INTF_REPOS ());
}
-
+
ACE_TRY
{
- _tao_retval =
+ _tao_retval =
_tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
_tao_result =
_tao_adapter->interfacedef_cdr_insert (
_tao_out,
@@ -6340,7 +6341,7 @@ void POA_ImplementationRepository::ServerInformationIterator::_interface_skel (
_tao_adapter->dispose (_tao_retval);
}
ACE_ENDTRY;
-
+
if (_tao_result == 0)
{
ACE_THROW (CORBA::MARSHAL ());
@@ -6348,7 +6349,7 @@ void POA_ImplementationRepository::ServerInformationIterator::_interface_skel (
}
void POA_ImplementationRepository::ServerInformationIterator::_component_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_object_reference,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -6358,10 +6359,10 @@ void POA_ImplementationRepository::ServerInformationIterator::_component_skel (
CORBA::Object_var _tao_retval =
_tao_impl->_get_component (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << _tao_retval._retn ()))
ACE_THROW (CORBA::MARSHAL ());
}
@@ -6399,13 +6400,13 @@ void* POA_ImplementationRepository::ServerInformationIterator::_downcast (
{
return ACE_static_cast (POA_ImplementationRepository::ServerInformationIterator_ptr, this);
}
-
+
if (ACE_OS::strcmp (logical_type_id,
"IDL:omg.org/CORBA/Object:1.0") == 0)
{
return ACE_static_cast(PortableServer::Servant, this);
}
-
+
return 0;
}
@@ -6437,10 +6438,10 @@ POA_ImplementationRepository::ServerInformationIterator::_this (ACE_ENV_SINGLE_A
{
TAO_Stub *stub = this->_create_stub (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
TAO_Stub_Auto_Ptr safe_stub (stub);
CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
+
if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
{
ACE_NEW_RETURN (
@@ -6465,7 +6466,7 @@ POA_ImplementationRepository::ServerInformationIterator::_this (ACE_ENV_SINGLE_A
0
);
}
-
+
CORBA::Object_var obj = tmp;
(void) safe_stub.release ();
return ::ImplementationRepository::ServerInformationIterator::_unchecked_narrow (obj.in ());
diff --git a/TAO/tao/PortableServer/Object_Adapter.cpp b/TAO/tao/PortableServer/Object_Adapter.cpp
index 44c20cf0b50..b62c6461c7e 100644
--- a/TAO/tao/PortableServer/Object_Adapter.cpp
+++ b/TAO/tao/PortableServer/Object_Adapter.cpp
@@ -857,6 +857,69 @@ TAO_Object_Adapter::create_collocated_object (TAO_Stub *stub,
return 0;
}
+CORBA::Long
+TAO_Object_Adapter::initialize_collocated_object (TAO_Stub *stub,
+ CORBA::Object_ptr obj)
+{
+ // @@ What about forwarding. With this approach we are never
+ // forwarded when we use collocation!
+ const TAO_MProfile &mp =
+ stub->base_profiles ();
+
+ for (TAO_PHandle j = 0;
+ j != mp.profile_count ();
+ ++j)
+ {
+ const TAO_Profile *profile = mp.get_profile (j);
+ TAO::ObjectKey_var objkey = profile->_key ();
+
+ if (ACE_OS::memcmp (objkey->get_buffer (),
+ &TAO_POA::objectkey_prefix[0],
+ TAO_POA::TAO_OBJECTKEY_PREFIX_SIZE) != 0)
+ continue;
+
+ ACE_DECLARE_NEW_CORBA_ENV;
+ ACE_TRY
+ {
+ TAO_ServantBase *servant = 0;
+
+ TAO_SERVANT_LOCATION servant_location =
+ this->find_servant (objkey.in (),
+ servant
+ ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+
+ if (servant_location != TAO_SERVANT_NOT_FOUND)
+ {
+ // Found collocated object. Perhaps we can get around
+ // by simply setting the servant_orb, but let get this
+ // to work first.
+
+ // There could only be one ORB which is us.
+
+ // @@ Do not duplicate the ORB here!
+ // TAO_Stub::servant_orb() duplicates it.
+ // -Ossama
+ stub->servant_orb (this->orb_core_.orb ());
+
+ obj->set_collocated_servant (servant);
+
+ // Here we set the strategized Proxy Broker.
+ obj->_proxy_broker (the_tao_strategized_object_proxy_broker ());
+
+ return 1;
+ }
+ }
+ ACE_CATCHANY
+ {
+ // Ignore the exception and continue with the next one.
+ }
+ ACE_ENDTRY;
+ }
+
+ return 0;
+}
+
// ****************************************************************
TAO_Object_Adapter_Factory::TAO_Object_Adapter_Factory (void)
diff --git a/TAO/tao/PortableServer/Object_Adapter.h b/TAO/tao/PortableServer/Object_Adapter.h
index ec8565158bc..b8e057b341d 100644
--- a/TAO/tao/PortableServer/Object_Adapter.h
+++ b/TAO/tao/PortableServer/Object_Adapter.h
@@ -328,6 +328,9 @@ public:
virtual CORBA::Object_ptr create_collocated_object (TAO_Stub *,
const TAO_MProfile &);
+ virtual CORBA::Long initialize_collocated_object (TAO_Stub *,
+ CORBA::Object_ptr);
+
protected:
int locate_servant_i (const TAO::ObjectKey &key
diff --git a/TAO/tao/PortableServer/PolicyS.cpp b/TAO/tao/PortableServer/PolicyS.cpp
index 9fca2cefe95..a91849bf891 100644
--- a/TAO/tao/PortableServer/PolicyS.cpp
+++ b/TAO/tao/PortableServer/PolicyS.cpp
@@ -20,7 +20,7 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:670
#ifndef _TAO_IDL_ORIG_POLICYS_CPP_
@@ -33,6 +33,7 @@
#include "tao/TAO_Server_Request.h"
#include "tao/ORB_Core.h"
#include "tao/Stub.h"
+#include "tao/Profile.h"
#include "tao/IFR_Client_Adapter.h"
#include "tao/PortableInterceptor.h"
#if TAO_HAS_INTERCEPTORS == 1
@@ -136,10 +137,10 @@ TAO_CORBA_Policy_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len
static const class TAO_operation_db_entry wordlist[] =
{
{"",0},{"",0},{"",0},{"",0},
- {"copy", &POA_CORBA::Policy::copy_skel},
+ {"copy", &POA_CORBA::Policy::copy_skel},
{"_is_a", &POA_CORBA::Policy::_is_a_skel},
{"",0},
- {"destroy", &POA_CORBA::Policy::destroy_skel},
+ {"destroy", &POA_CORBA::Policy::destroy_skel},
{"",0},{"",0},
{"_component", &POA_CORBA::Policy::_component_skel},
{"",0},{"",0},
@@ -147,7 +148,7 @@ TAO_CORBA_Policy_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len
{"",0},
{"_interface", &POA_CORBA::Policy::_interface_skel},
{"",0},{"",0},{"",0},{"",0},{"",0},
- {"_get_policy_type", &POA_CORBA::Policy::_get_policy_type_skel},
+ {"_get_policy_type", &POA_CORBA::Policy::_get_policy_type_skel},
};
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
@@ -183,44 +184,44 @@ public:
POA_CORBA::Policy *tao_impl
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
void result (CORBA::PolicyType result);
private:
TAO_ServerRequestInfo_CORBA_Policy_policy_type_get (
const TAO_ServerRequestInfo_CORBA_Policy_policy_type_get &
);
-
+
void operator= (
const TAO_ServerRequestInfo_CORBA_Policy_policy_type_get &
);
-
+
private:
POA_CORBA::Policy *_tao_impl;
CORBA::PolicyType _result;
@@ -249,7 +250,7 @@ TAO_ServerRequestInfo_CORBA_Policy_policy_type_get::arguments (
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -263,11 +264,11 @@ TAO_ServerRequestInfo_CORBA_Policy_policy_type_get::exceptions (
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_CORBA_Policy_policy_type_get::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -278,11 +279,11 @@ TAO_ServerRequestInfo_CORBA_Policy_policy_type_get::result (
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= this->_result;
-
+
return safe_result_any._retn ();
}
@@ -306,7 +307,7 @@ TAO_ServerRequestInfo_CORBA_Policy_policy_type_get::target_is_a (
return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER);
}
-void
+void
TAO_ServerRequestInfo_CORBA_Policy_policy_type_get::result (CORBA::PolicyType result)
{
// Update the result.
@@ -325,44 +326,44 @@ public:
POA_CORBA::Policy *tao_impl
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
void result (::CORBA::Policy_ptr result);
private:
TAO_ServerRequestInfo_CORBA_Policy_copy (
const TAO_ServerRequestInfo_CORBA_Policy_copy &
);
-
+
void operator= (
const TAO_ServerRequestInfo_CORBA_Policy_copy &
);
-
+
private:
POA_CORBA::Policy *_tao_impl;
::CORBA::Policy_ptr _result;
@@ -391,7 +392,7 @@ TAO_ServerRequestInfo_CORBA_Policy_copy::arguments (
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -405,11 +406,11 @@ TAO_ServerRequestInfo_CORBA_Policy_copy::exceptions (
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_CORBA_Policy_copy::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -420,11 +421,11 @@ TAO_ServerRequestInfo_CORBA_Policy_copy::result (
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= this->_result;
-
+
return safe_result_any._retn ();
}
@@ -448,7 +449,7 @@ TAO_ServerRequestInfo_CORBA_Policy_copy::target_is_a (
return this->_tao_impl->_is_a (id ACE_ENV_ARG_PARAMETER);
}
-void
+void
TAO_ServerRequestInfo_CORBA_Policy_copy::result (::CORBA::Policy_ptr result)
{
// Update the result.
@@ -467,45 +468,45 @@ public:
POA_CORBA::Policy *tao_impl
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual Dynamic::ParameterList * arguments (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_CORBA_Policy_destroy (
const TAO_ServerRequestInfo_CORBA_Policy_destroy &
);
-
+
void operator= (
const TAO_ServerRequestInfo_CORBA_Policy_destroy &
);
-
+
private:
POA_CORBA::Policy *_tao_impl;
-
+
};
// TAO_IDL - Generated from
@@ -531,7 +532,7 @@ TAO_ServerRequestInfo_CORBA_Policy_destroy::arguments (
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -545,11 +546,11 @@ TAO_ServerRequestInfo_CORBA_Policy_destroy::exceptions (
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_CORBA_Policy_destroy::result (
ACE_ENV_SINGLE_ARG_DECL
)
@@ -560,7 +561,7 @@ TAO_ServerRequestInfo_CORBA_Policy_destroy::result (
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -613,7 +614,7 @@ POA_CORBA::_TAO_Policy_Strategized_Proxy_Broker::~_TAO_Policy_Strategized_Proxy_
for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
{
delete this->proxy_cache_[i];
-
+
// Hack to prevent bug mentioned in 1204. Refer to 1204
// for details..
this->proxy_cache_[i] = 0;
@@ -629,26 +630,26 @@ POA_CORBA::_TAO_Policy_Strategized_Proxy_Broker::select_proxy (
int strategy =
TAO_ORB_Core::collocation_strategy (object ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
+
if (this->proxy_cache_[strategy] != 0)
{
return *this->proxy_cache_[strategy];
}
-
+
this->create_proxy (strategy ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
+
return *this->proxy_cache_[strategy];
}
-void
+void
POA_CORBA::_TAO_Policy_Strategized_Proxy_Broker::create_proxy (
int strategy
ACE_ENV_ARG_DECL
)
{
ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
+
if (this->proxy_cache_[strategy] == 0)
{
switch (strategy)
@@ -661,7 +662,7 @@ POA_CORBA::_TAO_Policy_Strategized_Proxy_Broker::create_proxy (
);
ACE_CHECK;
break;
-
+
case TAO_Collocation_Strategies::CS_DIRECT_STRATEGY:
ACE_NEW_THROW_EX (
this->proxy_cache_[strategy],
@@ -670,7 +671,7 @@ POA_CORBA::_TAO_Policy_Strategized_Proxy_Broker::create_proxy (
);
ACE_CHECK;
break;
-
+
case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
default:
ACE_NEW_THROW_EX (
@@ -701,13 +702,13 @@ CORBA__TAO_Policy_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
int
CORBA__TAO_Policy_Proxy_Broker_Factory_Initializer (long)
{
- CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer =
CORBA__TAO_Policy_Proxy_Broker_Factory_function;
-
+
return 0;
}
-static int CORBA__TAO_Policy_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+static int CORBA__TAO_Policy_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
CORBA__TAO_Policy_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_Policy_Proxy_Broker_Factory_Initializer));
@@ -723,7 +724,7 @@ POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::_TAO_Policy_ThruPOA_Proxy_Impl (void)
// ThruPOA Implementation of the IDL interface methods
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
CORBA::PolicyType POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::policy_type (
@@ -741,30 +742,30 @@ CORBA::PolicyType POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::policy_type (
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "_get_policy_type",
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
+ "policy_type",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval);
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval);
-
+
return ACE_reinterpret_cast (
POA_CORBA::Policy_ptr,
servant_upcall.servant ()->_downcast (
"IDL:omg.org/CORBA/Policy:1.0"
)
)->policy_type (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
::CORBA::Policy_ptr POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::copy (
@@ -782,30 +783,30 @@ CORBA::PolicyType POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::policy_type (
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"copy",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval._retn ());
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK_RETURN (_tao_retval._retn ());
-
+
return ACE_reinterpret_cast (
POA_CORBA::Policy_ptr,
servant_upcall.servant ()->_downcast (
"IDL:omg.org/CORBA/Policy:1.0"
)
)->copy (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/thru_poa_proxy_impl_ss.cpp:67
void POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::destroy (
@@ -816,31 +817,31 @@ void POA_CORBA::_TAO_Policy_ThruPOA_Proxy_Impl::destroy (
CORBA::SystemException
))
{
-
+
TAO_Object_Adapter::Servant_Upcall servant_upcall (
_collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
);
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
+ _collocated_tao_target_->_stubobj ()->profile_in_use ()->object_key (),
"destroy",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
-
+
servant_upcall.pre_invoke_collocated_request (
ACE_ENV_SINGLE_ARG_PARAMETER
);
ACE_CHECK;
-
+
ACE_reinterpret_cast (
POA_CORBA::Policy_ptr,
servant_upcall.servant ()->_downcast (
"IDL:omg.org/CORBA/Policy:1.0"
)
)->destroy (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
}//
@@ -864,10 +865,10 @@ CORBA::PolicyType POA_CORBA::_TAO_Policy_Direct_Proxy_Impl::policy_type (
POA_CORBA::Policy_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:omg.org/CORBA/Policy:1.0")
)->policy_type (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
-
+
}
::CORBA::Policy_ptr POA_CORBA::_TAO_Policy_Direct_Proxy_Impl::copy (
@@ -881,10 +882,10 @@ CORBA::PolicyType POA_CORBA::_TAO_Policy_Direct_Proxy_Impl::policy_type (
POA_CORBA::Policy_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:omg.org/CORBA/Policy:1.0")
)->copy (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
-
+
}
void POA_CORBA::_TAO_Policy_Direct_Proxy_Impl::destroy (
@@ -898,10 +899,10 @@ void POA_CORBA::_TAO_Policy_Direct_Proxy_Impl::destroy (
POA_CORBA::Policy_ptr,
_collocated_tao_target_->_servant ()->_downcast ("IDL:omg.org/CORBA/Policy:1.0")
)->destroy (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
-
+
}
@@ -910,7 +911,7 @@ void POA_CORBA::_TAO_Policy_Direct_Proxy_Impl::destroy (
///////////////////////////////////////////////////////////////////////
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ss.cpp:98
POA_CORBA::Policy::Policy (void)
@@ -926,7 +927,7 @@ POA_CORBA::Policy::~Policy (void)
{
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_CORBA::Policy::_get_policy_type_skel (
@@ -946,44 +947,44 @@ void POA_CORBA::Policy::_get_policy_type_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_CORBA_Policy_policy_type_get _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
+ _tao_retval =
_tao_impl->policy_type (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
CORBA::PolicyType _tao_retval_info = _tao_retval;
@@ -1001,58 +1002,58 @@ void POA_CORBA::Policy::_get_policy_type_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(
(_tao_out << _tao_retval)
))
ACE_THROW (CORBA::MARSHAL ());
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_CORBA::Policy::copy_skel (
@@ -1072,44 +1073,44 @@ void POA_CORBA::Policy::copy_skel (
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_CORBA_Policy_copy _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
+ _tao_retval =
_tao_impl->copy (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
::CORBA::Policy_ptr _tao_retval_info = _tao_retval._retn ();
@@ -1128,58 +1129,58 @@ void POA_CORBA::Policy::copy_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(
(_tao_out << _tao_retval.in ())
))
ACE_THROW (CORBA::MARSHAL ());
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ss.cpp:100
void POA_CORBA::Policy::destroy_skel (
@@ -1195,49 +1196,49 @@ void POA_CORBA::Policy::destroy_skel (
_tao_servant
);
_tao_server_request.argument_flag (0);
-
+
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_Object_Adapter::Servant_Upcall *_tao_upcall =
ACE_static_cast (TAO_Object_Adapter::Servant_Upcall *, _tao_servant_upcall);
-
+
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_CORBA_Policy_destroy _tao_ri (
_tao_server_request,
_tao_upcall,
_tao_impl
ACE_ENV_ARG_PARAMETER
);
-
+
ACE_TRY
{
{
TAO_PICurrent_Guard _tao_pi_guard (_tao_ri.server_request (),
1 /* Copy TSC to RSC */);
-
+
_tao_vfr.receive_request (&_tao_ri ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (!_tao_vfr.location_forwarded ())
{
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->destroy (
-
+
ACE_ENV_SINGLE_ARG_PARAMETER
);
TAO_INTERCEPTOR_CHECK;
#if (TAO_HAS_INTERCEPTORS == 1)
-
+
}
}
-
+
if (!_tao_vfr.location_forwarded ())
{
_tao_ri.reply_status (PortableInterceptor::SUCCESSFUL);
@@ -1253,55 +1254,55 @@ void POA_CORBA::Policy::destroy_skel (
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
|| _tao_status == PortableInterceptor::USER_EXCEPTION)
{
ACE_RE_THROW;
}
}
-
+
# if defined (ACE_HAS_EXCEPTIONS) \
&& defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
ACE_CATCHALL
{
CORBA::UNKNOWN ex;
-
+
_tao_ri.exception (&ex);
_tao_vfr.send_exception (
&_tao_ri
ACE_ENV_ARG_PARAMETER
);
ACE_TRY_CHECK;
-
+
PortableInterceptor::ReplyStatus _tao_status =
_tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
ACE_TRY_THROW (ex);
}
# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
-
+
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case _tao_servant_upcall is not used in this function
ACE_UNUSED_ARG (_tao_servant_upcall);
}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ss.cpp:163
void POA_CORBA::Policy::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -1311,22 +1312,22 @@ void POA_CORBA::Policy::_is_a_skel (
POA_CORBA::Policy *_tao_impl = (POA_CORBA::Policy *) _tao_servant;
CORBA::Boolean _tao_retval = 0;
CORBA::String_var value;
-
+
if (!(_tao_in >> value.out ()))
ACE_THROW (CORBA::MARSHAL ());
-
+
_tao_retval = _tao_impl->_is_a (value.in () ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
ACE_THROW (CORBA::MARSHAL ());
}
void POA_CORBA::Policy::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -1336,16 +1337,16 @@ void POA_CORBA::Policy::_non_existent_skel (
CORBA::Boolean _tao_retval =
_tao_impl->_non_existent (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
ACE_THROW (CORBA::MARSHAL ());
}
void POA_CORBA::Policy::_interface_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_servant,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -1354,27 +1355,27 @@ void POA_CORBA::Policy::_interface_skel (
POA_CORBA::Policy *_tao_impl = (POA_CORBA::Policy *) _tao_servant;
CORBA::InterfaceDef_ptr _tao_retval = 0;
CORBA::Boolean _tao_result = 0;
-
+
TAO_IFR_Client_Adapter *_tao_adapter =
ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance (
TAO_ORB_Core::ifr_client_adapter_name ()
);
-
+
if (_tao_adapter == 0)
{
ACE_THROW (CORBA::INTF_REPOS ());
}
-
+
ACE_TRY
{
- _tao_retval =
+ _tao_retval =
_tao_impl->_get_interface (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
_tao_result =
_tao_adapter->interfacedef_cdr_insert (
_tao_out,
@@ -1386,7 +1387,7 @@ void POA_CORBA::Policy::_interface_skel (
_tao_adapter->dispose (_tao_retval);
}
ACE_ENDTRY;
-
+
if (_tao_result == 0)
{
ACE_THROW (CORBA::MARSHAL ());
@@ -1394,7 +1395,7 @@ void POA_CORBA::Policy::_interface_skel (
}
void POA_CORBA::Policy::_component_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_object_reference,
void * /* Servant_Upcall */
ACE_ENV_ARG_DECL
@@ -1404,10 +1405,10 @@ void POA_CORBA::Policy::_component_skel (
CORBA::Object_var _tao_retval =
_tao_impl->_get_component (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(_tao_out << _tao_retval._retn ()))
ACE_THROW (CORBA::MARSHAL ());
}
@@ -1445,13 +1446,13 @@ void* POA_CORBA::Policy::_downcast (
{
return ACE_static_cast (POA_CORBA::Policy_ptr, this);
}
-
+
if (ACE_OS::strcmp (logical_type_id,
"IDL:omg.org/CORBA/Object:1.0") == 0)
{
return ACE_static_cast(PortableServer::Servant, this);
}
-
+
return 0;
}
@@ -1483,10 +1484,10 @@ POA_CORBA::Policy::_this (ACE_ENV_SINGLE_ARG_DECL)
{
TAO_Stub *stub = this->_create_stub (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
-
+
TAO_Stub_Auto_Ptr safe_stub (stub);
CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
+
if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
{
ACE_NEW_RETURN (
@@ -1511,7 +1512,7 @@ POA_CORBA::Policy::_this (ACE_ENV_SINGLE_ARG_DECL)
0
);
}
-
+
CORBA::Object_var obj = tmp;
(void) safe_stub.release ();
return ::CORBA::Policy::_unchecked_narrow (obj.in ());
diff --git a/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp b/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp
index 34b16c9200a..68e20fb5603 100644
--- a/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp
+++ b/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp
@@ -5,10 +5,10 @@
#include "tao/ORB_Core.h"
#include "tao/Stub.h"
+#include "tao/Profile.h"
-
-ACE_RCSID (tao,
- TAO_ThruPOA_Object_Proxy_Impl,
+ACE_RCSID (tao,
+ TAO_ThruPOA_Object_Proxy_Impl,
"$Id$")
TAO_ThruPOA_Object_Proxy_Impl::TAO_ThruPOA_Object_Proxy_Impl (void)
@@ -32,7 +32,7 @@ TAO_ThruPOA_Object_Proxy_Impl::_is_a (const CORBA::Object_ptr target,
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- target->_object_key (),
+ target->_stubobj ()->profile_in_use ()->object_key (),
"_is_a",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
@@ -63,7 +63,7 @@ TAO_ThruPOA_Object_Proxy_Impl::_non_existent (const CORBA::Object_ptr target
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- target->_object_key (),
+ target->_stubobj ()->profile_in_use ()->object_key (),
"_non_existent",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
@@ -101,7 +101,7 @@ TAO_ThruPOA_Object_Proxy_Impl::_get_interface (const CORBA::Object_ptr target
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- target->_object_key (),
+ target->_stubobj ()->profile_in_use ()->object_key (),
"_interface",
forward_to.out ()
ACE_ENV_ARG_PARAMETER
@@ -138,7 +138,7 @@ TAO_ThruPOA_Object_Proxy_Impl::_get_component (const CORBA::Object_ptr target
CORBA::Object_var forward_to;
servant_upcall.prepare_for_upcall (
- target->_object_key (),
+ target->_stubobj ()->profile_in_use ()->object_key (),
"_component",
forward_to.out ()
ACE_ENV_ARG_PARAMETER);
diff --git a/TAO/tao/Profile.cpp b/TAO/tao/Profile.cpp
index b41fc592757..ee9f5d065cc 100644
--- a/TAO/tao/Profile.cpp
+++ b/TAO/tao/Profile.cpp
@@ -2,11 +2,11 @@
#include "Profile.h"
#include "Object_KeyC.h"
-
#include "Messaging_PolicyValueC.h"
#include "Stub.h"
#include "debug.h"
-#include "tao/target_specification.h"
+#include "target_specification.h"
+#include "ace/CDR_Base.h"
#if !defined (__ACE_INLINE__)
#include "Profile.i"
@@ -17,9 +17,52 @@ ACE_RCSID (tao,
"$Id$")
// ****************************************************************
+TAO_Profile::TAO_Profile (CORBA::ULong tag,
+ TAO_ORB_Core *orb_core,
+ const TAO::ObjectKey &obj_key,
+ const TAO_GIOP_Message_Version &version)
+ : version_ (version)
+ , are_policies_parsed_ (0)
+ , stub_ (0)
+ , policy_list_ (0)
+ , addressing_mode_ (0)
+ , tagged_profile_ (0)
+ , object_key_ (obj_key)
+ , tag_ (tag)
+ , orb_core_ (orb_core)
+ , forward_to_ (0)
+ , refcount_ (1)
+{
+}
TAO_Profile::~TAO_Profile (void)
{
+ if (this->tagged_profile_)
+ delete this->tagged_profile_;
+}
+
+CORBA::ULong
+TAO_Profile::_incr_refcnt (void)
+{
+ ACE_GUARD_RETURN (TAO_SYNCH_MUTEX, guard, this->refcount_lock_, 0);
+
+ return this->refcount_++;
+}
+
+CORBA::ULong
+TAO_Profile::_decr_refcnt (void)
+{
+ {
+ ACE_GUARD_RETURN (TAO_SYNCH_MUTEX, mon, this->refcount_lock_, 0);
+ this->refcount_--;
+ if (this->refcount_ != 0)
+ return this->refcount_;
+ }
+
+ // refcount is 0, so delete us!
+ // delete will call our ~ destructor which in turn deletes stuff.
+ delete this;
+ return 0;
}
void
@@ -42,6 +85,82 @@ TAO_Profile::add_tagged_component (const IOP::TaggedComponent &component
this->tagged_components_.set_component (component);
}
+IOP::TaggedProfile *
+TAO_Profile::create_tagged_profile (void)
+{
+ if (this->tagged_profile_ == 0)
+ {
+ ACE_NEW_RETURN (this->tagged_profile_,
+ IOP::TaggedProfile,
+ 0);
+
+ // As we have not created we will now create the TaggedProfile
+ this->tagged_profile_->tag = this->tag_;
+
+ // Create the encapsulation....
+ TAO_OutputCDR encap (ACE_DEFAULT_CDR_BUFSIZE,
+ TAO_ENCAP_BYTE_ORDER,
+ this->orb_core ()->output_cdr_buffer_allocator (),
+ this->orb_core ()->output_cdr_dblock_allocator (),
+ this->orb_core ()->output_cdr_msgblock_allocator (),
+ this->orb_core ()->orb_params ()->cdr_memcpy_tradeoff (),
+ TAO_DEF_GIOP_MAJOR,
+ TAO_DEF_GIOP_MINOR);
+
+ // Create the profile body
+ this->create_profile_body (encap);
+
+ CORBA::ULong length =
+ ACE_static_cast(CORBA::ULong,encap.total_length ());
+
+#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ // Place the message block in to the Sequence of Octets that we
+ // have
+ this->tagged_profile_->profile_data.replace (length,
+ encap.begin ());
+#else
+ this->tagged_profile_->profile_data.length (length);
+ CORBA::Octet *buffer =
+ this->tagged_profile_.profile_data.get_buffer ();
+ for (const ACE_Message_Block *i = encap.begin ();
+ i != encap.end ();
+ i = i->next ())
+ {
+ ACE_OS::memcpy (buffer, i->rd_ptr (), i->length ());
+ buffer += i->length ();
+ }
+#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 1 */
+ }
+
+ return this->tagged_profile_;
+}
+
+void
+TAO_Profile::set_tagged_components (TAO_OutputCDR &out_cdr)
+{
+ CORBA::ULong length = out_cdr.total_length ();
+
+ IOP::TaggedComponent tagged_component;
+ tagged_component.tag = TAO_TAG_ENDPOINTS;
+ tagged_component.component_data.length (length);
+ CORBA::Octet *buf =
+ tagged_component.component_data.get_buffer ();
+
+ for (const ACE_Message_Block *iterator = out_cdr.begin ();
+ iterator != 0;
+ iterator = iterator->cont ())
+ {
+ CORBA::ULong i_length = iterator->length ();
+ ACE_OS::memcpy (buf, iterator->rd_ptr (), i_length);
+
+ buf += i_length;
+ }
+
+ // Add component with encoded endpoint data to this profile's
+ // TaggedComponents.
+ tagged_components_.set_component (tagged_component);
+}
+
void
TAO_Profile::policies (CORBA::PolicyList *policy_list
ACE_ENV_ARG_DECL)
@@ -355,8 +474,7 @@ TAO_Unknown_Profile::TAO_Unknown_Profile (CORBA::ULong tag,
: TAO_Profile (tag,
orb_core,
TAO_GIOP_Message_Version (TAO_DEF_GIOP_MAJOR,
- TAO_DEF_GIOP_MINOR)),
- tagged_profile_ ()
+ TAO_DEF_GIOP_MINOR))
{
}
@@ -448,12 +566,9 @@ TAO_Unknown_Profile::hash (CORBA::ULong max
this->body_.length ()) % max);
}
-IOP::TaggedProfile&
-TAO_Unknown_Profile::create_tagged_profile (void)
+void
+TAO_Unknown_Profile::create_profile_body (TAO_OutputCDR &) const
{
- this->tagged_profile_.tag = this->tag ();
-
- // I dont know about the rest, so we return our copy
- return this->tagged_profile_;
-
+ // No idea about the profile body! Just return
+ return;
}
diff --git a/TAO/tao/Profile.h b/TAO/tao/Profile.h
index ad85bb0eac6..f9878ba33b0 100644
--- a/TAO/tao/Profile.h
+++ b/TAO/tao/Profile.h
@@ -13,17 +13,17 @@
#ifndef TAO_PROFILE_H
#define TAO_PROFILE_H
#include "ace/pre.h"
-
-#include "corbafwd.h"
+#include "tao/Tagged_Components.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "Tagged_Components.h"
-#include "PolicyC.h"
-#include "GIOP_Message_Version.h"
-#include "Object_KeyC.h"
+// @@ This include needs to go after Ossama's checkin
+#include "tao/PolicyC.h"
+#include "tao/GIOP_Message_Version.h"
+#include "tao/Object_KeyC.h"
+
class TAO_MProfile;
class TAO_Stub;
@@ -143,7 +143,7 @@ public:
* return the reference to that. This method is necessary for GIOP
* 1.2.
*/
- virtual IOP::TaggedProfile &create_tagged_profile (void) = 0;
+ IOP::TaggedProfile *create_tagged_profile (void);
/// This method sets the client exposed policies, i.e., the ones
/// propagated in the IOR, for this profile.
@@ -198,6 +198,21 @@ public:
*/
CORBA::Short addressing_mode (void) const;
+protected:
+
+ /// To be used by inherited classes
+ TAO_Profile (CORBA::ULong tag,
+ TAO_ORB_Core *orb_core,
+ const TAO::ObjectKey &key,
+ const TAO_GIOP_Message_Version &version);
+
+ /// Creates an encapsulation of the ProfileBody struct in the <cdr>
+ virtual void create_profile_body (TAO_OutputCDR &cdr) const = 0;
+
+ /// Helper method that encodes the endpoints for RTCORBA as
+ /// tagged_components.
+ void set_tagged_components (TAO_OutputCDR &cdr);
+
private:
/// this object keeps ownership of this object
@@ -215,6 +230,7 @@ private:
ACE_UNIMPLEMENTED_FUNC (TAO_Profile (const TAO_Profile&))
ACE_UNIMPLEMENTED_FUNC (void operator= (const TAO_Profile&))
+
protected:
/// IIOP version number.
@@ -244,8 +260,13 @@ protected:
/// exception.
CORBA::Short addressing_mode_;
-private:
+ /// Our tagged profile
+ IOP::TaggedProfile *tagged_profile_;
+
+ /// object_key associated with this profile.
+ TAO::ObjectKey object_key_;
+private:
/// IOP protocol tag.
CORBA::ULong tag_;
@@ -261,7 +282,6 @@ private:
/// Number of outstanding references to this object.
CORBA::ULong refcount_;
-
};
/**
@@ -299,11 +319,12 @@ public:
virtual CORBA::Boolean is_equivalent (const TAO_Profile* other_profile);
virtual CORBA::ULong hash (CORBA::ULong max
ACE_ENV_ARG_DECL);
- virtual IOP::TaggedProfile &create_tagged_profile (void);
+private:
+
+ virtual void create_profile_body (TAO_OutputCDR &encap) const;
private:
TAO_opaque body_;
- IOP::TaggedProfile tagged_profile_;
};
#if defined (__ACE_INLINE__)
diff --git a/TAO/tao/Profile.i b/TAO/tao/Profile.i
index 0faa4decde2..e1ede5cbfaa 100644
--- a/TAO/tao/Profile.i
+++ b/TAO/tao/Profile.i
@@ -1,22 +1,6 @@
// -*- C++ -*-
// $Id$
-ACE_INLINE
-TAO_Profile::TAO_Profile (CORBA::ULong tag,
- TAO_ORB_Core *orb_core,
- const TAO_GIOP_Message_Version &version)
- : version_ (version),
- are_policies_parsed_ (0),
- stub_ (0),
- policy_list_ (0),
- addressing_mode_ (0),
- tag_ (tag),
- orb_core_ (orb_core),
- forward_to_ (0),
- refcount_ (1)
-{
-}
-
ACE_INLINE CORBA::ULong
TAO_Profile::tag (void) const
{
@@ -35,30 +19,6 @@ TAO_Profile::orb_core (void) const
return this->orb_core_;
}
-ACE_INLINE CORBA::ULong
-TAO_Profile::_incr_refcnt (void)
-{
- ACE_GUARD_RETURN (TAO_SYNCH_MUTEX, guard, this->refcount_lock_, 0);
-
- return this->refcount_++;
-}
-
-ACE_INLINE CORBA::ULong
-TAO_Profile::_decr_refcnt (void)
-{
- {
- ACE_GUARD_RETURN (TAO_SYNCH_MUTEX, mon, this->refcount_lock_, 0);
- this->refcount_--;
- if (this->refcount_ != 0)
- return this->refcount_;
- }
-
- // refcount is 0, so delete us!
- // delete() will call our destructor which in turn deletes stuff.
- delete this;
- return 0;
-}
-
ACE_INLINE void
TAO_Profile::forward_to (TAO_MProfile *mprofiles)
{
diff --git a/TAO/tao/RTPortableServer/RT_Collocation_Resolver.cpp b/TAO/tao/RTPortableServer/RT_Collocation_Resolver.cpp
index 192689610e5..67b3e685663 100644
--- a/TAO/tao/RTPortableServer/RT_Collocation_Resolver.cpp
+++ b/TAO/tao/RTPortableServer/RT_Collocation_Resolver.cpp
@@ -10,6 +10,7 @@ ACE_RCSID(RTCORBA, RT_Collocation_Resolver, "$Id$")
#include "tao/PortableServer/Object_Adapter.h"
#include "tao/PortableServer/POA.h"
#include "tao/RTCORBA/Thread_Pool.h"
+#include "tao/Profile.h"
#if !defined (__ACE_INLINE__)
# include "tao/RTPortableServer/RT_Collocation_Resolver.i"
@@ -32,7 +33,7 @@ TAO_RT_Collocation_Resolver::is_collocated (CORBA::Object_ptr object
// until <servant_upcall> dies.
TAO_Object_Adapter::Servant_Upcall servant_upcall (orb_core);
TAO_POA *poa =
- servant_upcall.lookup_POA (object->_object_key ()
+ servant_upcall.lookup_POA (object->_stubobj ()->profile_in_use ()->object_key ()
ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
diff --git a/TAO/tao/Resource_Factory.cpp b/TAO/tao/Resource_Factory.cpp
index 2334a75605e..f696c3e8bfd 100644
--- a/TAO/tao/Resource_Factory.cpp
+++ b/TAO/tao/Resource_Factory.cpp
@@ -1,6 +1,4 @@
// $Id$
-
-
#include "ace/Auto_Ptr.h"
#include "ace/Dynamic_Service.h"
@@ -245,6 +243,11 @@ TAO_Resource_Factory::locked_transport_cache (void)
return 0;
}
+ACE_Lock *
+TAO_Resource_Factory::create_corba_object_lock (void)
+{
+ return 0;
+}
int
TAO_Resource_Factory::load_default_protocols (void)
diff --git a/TAO/tao/Resource_Factory.h b/TAO/tao/Resource_Factory.h
index 9b0f2fa8de5..9fd24065b87 100644
--- a/TAO/tao/Resource_Factory.h
+++ b/TAO/tao/Resource_Factory.h
@@ -132,11 +132,11 @@ typedef ACE_Unbounded_Set_Iterator<TAO_Protocol_Item*>
// Added by Mahesh
// typedefs for containers containing the list of codesets
// factories for character and wide character.
-typedef ACE_Unbounded_Set<TAO_Codeset_Item*>
+typedef ACE_Unbounded_Set<TAO_Codeset_Item*>
TAO_CodesetFactorySet;
// Iterators
-typedef ACE_Unbounded_Set_Iterator<TAO_Codeset_Item*>
+typedef ACE_Unbounded_Set_Iterator<TAO_Codeset_Item*>
TAO_CodesetFactorySetItor;
// ****************************************************************
@@ -168,19 +168,21 @@ public:
NOOP
};
+ enum Resource_Usage
+ {
+ /// Use resources in an eager fashion
+ TAO_EAGER,
+
+ /// Use resources in a lazy manner
+ TAO_LAZY
+ };
+
// = Initialization and termination methods.
TAO_Resource_Factory (void);
virtual ~TAO_Resource_Factory (void);
// = Resource Retrieval
-#if 0
- /// @@ todo: Need to go at a later date!
- /// @@ Backwards compatibility, return 1 if the ORB core should use
- /// TSS resources
- virtual int use_tss_resources (void) const;
-#endif /*if 0*/
-
/// @@ Backwards compatibility, return 1 if the ORB core should use
/// Locked_Data_Blocks
virtual int use_locked_data_blocks (void) const;
@@ -252,14 +254,16 @@ public:
int &number_of_names);
/// Creates the lock for the lock needed in the Cache Map
- /// @@todo: This method needs to go away as it doesnt make much
- /// sense now.
+ /// @deprecated:
virtual ACE_Lock *create_cached_connection_lock (void);
/// Should the transport cache have a lock or not? Return 1 if the
/// transport cache needs to be locked else return 0
virtual int locked_transport_cache (void);
+ /// Creates the lock for the CORBA Object
+ virtual ACE_Lock *create_corba_object_lock (void);
+
/// Creates the flushing strategy. The new instance is owned by the
/// caller.
virtual TAO_Flushing_Strategy *create_flushing_strategy (void) = 0;
@@ -277,6 +281,9 @@ public:
/// user attempts to set options on an unused factory.
virtual void disable_factory (void) = 0;
+ /// Return the resource usage strategy.
+ virtual TAO_Resource_Factory::Resource_Usage resource_usage_strategy (void) const = 0;
+
protected:
/**
* Loads the default protocols. This method is used so that the
diff --git a/TAO/tao/Strategies/DIOP_Endpoint.h b/TAO/tao/Strategies/DIOP_Endpoint.h
index c9f95f0eedb..123ff403378 100644
--- a/TAO/tao/Strategies/DIOP_Endpoint.h
+++ b/TAO/tao/Strategies/DIOP_Endpoint.h
@@ -17,18 +17,17 @@
#ifndef TAO_DIOP_ENDPOINT_H
#define TAO_DIOP_ENDPOINT_H
#include "ace/pre.h"
+#include "tao/Endpoint.h"
-#include "tao/corbafwd.h"
#if defined (TAO_HAS_DIOP) && (TAO_HAS_DIOP != 0)
-#include "tao/Endpoint.h"
+
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/ORB.h"
+#include "tao/CORBA_String.h"
#include "ace/INET_Addr.h"
#include "strategies_export.h"
diff --git a/TAO/tao/Strategies/DIOP_Profile.cpp b/TAO/tao/Strategies/DIOP_Profile.cpp
index dd6bdac4911..c36ad019409 100644
--- a/TAO/tao/Strategies/DIOP_Profile.cpp
+++ b/TAO/tao/Strategies/DIOP_Profile.cpp
@@ -36,12 +36,13 @@ TAO_DIOP_Profile::TAO_DIOP_Profile (const ACE_INET_Addr &addr,
const TAO::ObjectKey &object_key,
const TAO_GIOP_Message_Version &version,
TAO_ORB_Core *orb_core)
- : TAO_Profile (TAO_TAG_UDP_PROFILE, orb_core, version),
+ : TAO_Profile (TAO_TAG_UDP_PROFILE,
+ orb_core,
+ object_key,
+ version),
endpoint_ (addr,
orb_core->orb_params ()->use_dotted_decimal_addresses ()),
- count_ (1),
- object_key_ (object_key),
- tagged_profile_ ()
+ count_ (1)
{
}
@@ -51,11 +52,12 @@ TAO_DIOP_Profile::TAO_DIOP_Profile (const char* host,
const ACE_INET_Addr &addr,
const TAO_GIOP_Message_Version &version,
TAO_ORB_Core *orb_core)
- : TAO_Profile (TAO_TAG_UDP_PROFILE, orb_core, version),
+ : TAO_Profile (TAO_TAG_UDP_PROFILE,
+ orb_core,
+ object_key,
+ version),
endpoint_ (host, port, addr),
- count_ (1),
- object_key_ (object_key),
- tagged_profile_ ()
+ count_ (1)
{
}
@@ -64,9 +66,7 @@ TAO_DIOP_Profile::TAO_DIOP_Profile (TAO_ORB_Core *orb_core)
orb_core,
TAO_GIOP_Message_Version (TAO_DEF_GIOP_MAJOR, TAO_DEF_GIOP_MINOR)),
endpoint_ (),
- count_ (1),
- object_key_ (),
- tagged_profile_ ()
+ count_ (1)
{
}
@@ -444,54 +444,6 @@ TAO_DIOP_Profile::encode (TAO_OutputCDR &stream) const
return 1;
}
-
-IOP::TaggedProfile &
-TAO_DIOP_Profile::create_tagged_profile (void)
-{
- // Check whether we have already created the TaggedProfile
- if (this->tagged_profile_.profile_data.get_buffer () == 0)
- {
- // As we have not created we will now create the TaggedProfile
- this->tagged_profile_.tag = TAO_TAG_UDP_PROFILE;
-
- // Create the encapsulation....
- TAO_OutputCDR encap (ACE_CDR::DEFAULT_BUFSIZE,
- TAO_ENCAP_BYTE_ORDER,
- this->orb_core ()->output_cdr_buffer_allocator (),
- this->orb_core ()->output_cdr_dblock_allocator (),
- this->orb_core ()->output_cdr_msgblock_allocator (),
- this->orb_core ()->orb_params ()->cdr_memcpy_tradeoff (),
- TAO_DEF_GIOP_MAJOR,
- TAO_DEF_GIOP_MINOR);
-
- // Create the profile body
- this->create_profile_body (encap);
-
- CORBA::ULong length =
- ACE_static_cast(CORBA::ULong,encap.total_length ());
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- // Place the message block in to the Sequence of Octets that we
- // have
- this->tagged_profile_.profile_data.replace (length,
- encap.begin ());
-#else
- this->tagged_profile_.profile_data.length (length);
- CORBA::Octet *buffer =
- this->tagged_profile_.profile_data.get_buffer ();
- for (const ACE_Message_Block *i = encap.begin ();
- i != encap.end ();
- i = i->next ())
- {
- ACE_OS::memcpy (buffer, i->rd_ptr (), i->length ());
- buffer += i->length ();
- }
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 1 */
- }
-
- return this->tagged_profile_;
-}
-
void
TAO_DIOP_Profile::create_profile_body (TAO_OutputCDR &encap) const
{
diff --git a/TAO/tao/Strategies/DIOP_Profile.h b/TAO/tao/Strategies/DIOP_Profile.h
index 1715deccb57..02cdc2c5739 100644
--- a/TAO/tao/Strategies/DIOP_Profile.h
+++ b/TAO/tao/Strategies/DIOP_Profile.h
@@ -27,8 +27,6 @@
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/Object_KeyC.h"
#include "DIOP_Endpoint.h"
#include "ace/Synch.h"
@@ -147,10 +145,6 @@ public:
virtual CORBA::ULong hash (CORBA::ULong max
ACE_ENV_ARG_DECL);
- /// Please refer to Profile.h for the documentation of this
- /// function.
- virtual IOP::TaggedProfile &create_tagged_profile (void);
-
private:
/// Creates an encapsulation of the ProfileBody struct in the <cdr>
@@ -186,14 +180,6 @@ protected:
/// Number of endpoints in the list headed by <endpoint_>.
size_t count_;
-
-private:
-
- /// Object_key associated with this profile.
- TAO::ObjectKey object_key_;
-
- /// Our tagged profile
- IOP::TaggedProfile tagged_profile_;
};
#if defined (__ACE_INLINE__)
diff --git a/TAO/tao/Strategies/SHMIOP_Connector.cpp b/TAO/tao/Strategies/SHMIOP_Connector.cpp
index e600a1b1636..4a4d28a04c4 100644
--- a/TAO/tao/Strategies/SHMIOP_Connector.cpp
+++ b/TAO/tao/Strategies/SHMIOP_Connector.cpp
@@ -214,19 +214,16 @@ TAO_SHMIOP_Connector::make_connection (TAO_GIOP_Invocation *invocation,
if (result == -1)
{
- char buffer [MAXNAMELEN * 2];
- desc->endpoint ()->addr_to_string (buffer,
- (MAXNAMELEN * 2) - 1);
-
// Give users a clue to the problem.
if (TAO_debug_level > 0)
{
ACE_DEBUG ((LM_ERROR,
ACE_TEXT ("(%P|%t) %s:%u, connection to ")
- ACE_TEXT ("%s failed (%p)\n"),
+ ACE_TEXT ("<%s:%p> failed (%p)\n"),
__FILE__,
__LINE__,
- buffer,
+ shmiop_endpoint->host (),
+ shmiop_endpoint->port (),
ACE_TEXT ("errno")));
}
diff --git a/TAO/tao/Strategies/SHMIOP_Endpoint.h b/TAO/tao/Strategies/SHMIOP_Endpoint.h
index efdf29708d6..9c6035d1242 100644
--- a/TAO/tao/Strategies/SHMIOP_Endpoint.h
+++ b/TAO/tao/Strategies/SHMIOP_Endpoint.h
@@ -24,11 +24,9 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined (TAO_HAS_SHMIOP) && (TAO_HAS_SHMIOP != 0)
-
+#include "tao/CORBA_String.h"
#include "strategies_export.h"
-#include "tao/ORB.h"
-
#include "ace/INET_Addr.h"
#include "ace/MEM_Addr.h"
diff --git a/TAO/tao/Strategies/SHMIOP_Profile.cpp b/TAO/tao/Strategies/SHMIOP_Profile.cpp
index 7dd536e724d..c73889d6162 100644
--- a/TAO/tao/Strategies/SHMIOP_Profile.cpp
+++ b/TAO/tao/Strategies/SHMIOP_Profile.cpp
@@ -1,6 +1,5 @@
// This may look like C, but it's really -*- C++ -*-
// $Id$
-
#include "SHMIOP_Profile.h"
#if defined (TAO_HAS_SHMIOP) && (TAO_HAS_SHMIOP != 0)
@@ -34,12 +33,13 @@ TAO_SHMIOP_Profile::TAO_SHMIOP_Profile (const ACE_MEM_Addr &addr,
const TAO::ObjectKey &object_key,
const TAO_GIOP_Message_Version &version,
TAO_ORB_Core *orb_core)
- : TAO_Profile (TAO_TAG_SHMEM_PROFILE, orb_core, version),
+ : TAO_Profile (TAO_TAG_SHMEM_PROFILE,
+ orb_core,
+ object_key,
+ version),
endpoint_ (addr,
orb_core->orb_params ()->use_dotted_decimal_addresses ()),
- count_ (1),
- object_key_ (object_key),
- tagged_profile_ ()
+ count_ (1)
{
}
@@ -49,11 +49,12 @@ TAO_SHMIOP_Profile::TAO_SHMIOP_Profile (const char* host,
const ACE_INET_Addr &addr,
const TAO_GIOP_Message_Version &version,
TAO_ORB_Core *orb_core)
- : TAO_Profile (TAO_TAG_SHMEM_PROFILE, orb_core, version),
+ : TAO_Profile (TAO_TAG_SHMEM_PROFILE,
+ orb_core,
+ object_key,
+ version),
endpoint_ (host, port, addr),
- count_ (1),
- object_key_ (object_key),
- tagged_profile_ ()
+ count_ (1)
{
}
@@ -62,9 +63,7 @@ TAO_SHMIOP_Profile::TAO_SHMIOP_Profile (TAO_ORB_Core *orb_core)
orb_core,
TAO_GIOP_Message_Version (TAO_DEF_GIOP_MAJOR, TAO_DEF_GIOP_MINOR)),
endpoint_ (),
- count_ (1),
- object_key_ (),
- tagged_profile_ ()
+ count_ (1)
{
}
@@ -456,54 +455,6 @@ TAO_SHMIOP_Profile::encode (TAO_OutputCDR &stream) const
return 1;
}
-IOP::TaggedProfile &
-TAO_SHMIOP_Profile::create_tagged_profile (void)
-{
- // Check whether we have already created the TaggedProfile
- if (this->tagged_profile_.profile_data.get_buffer () == 0)
- {
- // As we have not created we will now create the TaggedProfile
- this->tagged_profile_.tag = TAO_TAG_SHMEM_PROFILE;
-
- // Create the encapsulation....
- TAO_OutputCDR encap (ACE_CDR::DEFAULT_BUFSIZE,
- TAO_ENCAP_BYTE_ORDER,
- this->orb_core ()->output_cdr_buffer_allocator (),
- this->orb_core ()->output_cdr_dblock_allocator (),
- this->orb_core ()->output_cdr_msgblock_allocator (),
- this->orb_core ()->orb_params ()->cdr_memcpy_tradeoff (),
- TAO_DEF_GIOP_MAJOR,
- TAO_DEF_GIOP_MINOR);
-
- // Create the profile body
- this->create_profile_body (encap);
-
- CORBA::ULong length =
- ACE_static_cast(CORBA::ULong,encap.total_length ());
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- // Place the message block in to the Sequence of Octets that we
- // have
- this->tagged_profile_.profile_data.replace (length,
- encap.begin ());
-#else
- this->tagged_profile_.profile_data.length (length);
- CORBA::Octet *buffer =
- this->tagged_profile_.profile_data.get_buffer ();
- for (const ACE_Message_Block *i = encap.begin ();
- i != encap.end ();
- i = i->next ())
- {
- ACE_OS::memcpy (buffer, i->rd_ptr (), i->length ());
- buffer += i->length ();
- }
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 1*/
- }
-
- return this->tagged_profile_;
-}
-
-
void
TAO_SHMIOP_Profile::create_profile_body (TAO_OutputCDR &encap) const
{
diff --git a/TAO/tao/Strategies/SHMIOP_Profile.h b/TAO/tao/Strategies/SHMIOP_Profile.h
index 8511aae5a68..444c0658fbe 100644
--- a/TAO/tao/Strategies/SHMIOP_Profile.h
+++ b/TAO/tao/Strategies/SHMIOP_Profile.h
@@ -28,7 +28,6 @@
#include "strategies_export.h"
#include "tao/Profile.h"
-#include "tao/Object_KeyC.h"
#include "SHMIOP_Endpoint.h"
#include "ace/Synch.h"
@@ -141,9 +140,6 @@ public:
CORBA::ULong hash (CORBA::ULong max
ACE_ENV_ARG_DECL);
- /// Please refer to Profile.h for the documentation of this method
- IOP::TaggedProfile &create_tagged_profile (void);
-
private:
/// Create an encapsulation of the struct ProfileBody in <cdr>
@@ -177,12 +173,6 @@ private:
/// Number of endpoints in the list headed by <endpoint_>.
size_t count_;
-
- /// Object_key associated with this profile.
- TAO::ObjectKey object_key_;
-
- /// The tagged profile info
- IOP::TaggedProfile tagged_profile_;
};
#if defined (__ACE_INLINE__)
diff --git a/TAO/tao/Strategies/UIOP_Profile.cpp b/TAO/tao/Strategies/UIOP_Profile.cpp
index 680ea7e0b43..1a934ef448f 100644
--- a/TAO/tao/Strategies/UIOP_Profile.cpp
+++ b/TAO/tao/Strategies/UIOP_Profile.cpp
@@ -1,7 +1,6 @@
// This may look like C, but it's really -*- C++ -*-
// $Id$
-
#include "UIOP_Profile.h"
#if TAO_HAS_UIOP == 1
@@ -17,7 +16,6 @@ ACE_RCSID (Strategies,
UIOP_Profile,
"$Id$")
-
#if !defined (__ACE_INLINE__)
# include "UIOP_Profile.i"
#endif /* __ACE_INLINE__ */
@@ -36,11 +34,12 @@ TAO_UIOP_Profile::TAO_UIOP_Profile (const ACE_UNIX_Addr &addr,
const TAO::ObjectKey &object_key,
const TAO_GIOP_Message_Version &version,
TAO_ORB_Core *orb_core)
- : TAO_Profile (TAO_TAG_UIOP_PROFILE, orb_core, version),
+ : TAO_Profile (TAO_TAG_UIOP_PROFILE,
+ orb_core,
+ object_key,
+ version),
endpoint_ (addr),
- count_ (1),
- object_key_ (object_key),
- tagged_profile_ ()
+ count_ (1)
{
}
@@ -49,11 +48,12 @@ TAO_UIOP_Profile::TAO_UIOP_Profile (const char *,
const ACE_UNIX_Addr &addr,
const TAO_GIOP_Message_Version &version,
TAO_ORB_Core *orb_core)
- : TAO_Profile (TAO_TAG_UIOP_PROFILE, orb_core, version),
+ : TAO_Profile (TAO_TAG_UIOP_PROFILE,
+ orb_core,
+ object_key,
+ version),
endpoint_ (addr),
- count_ (1),
- object_key_ (object_key),
- tagged_profile_ ()
+ count_ (1)
{
}
@@ -61,11 +61,9 @@ TAO_UIOP_Profile::TAO_UIOP_Profile (TAO_ORB_Core *orb_core)
: TAO_Profile (TAO_TAG_UIOP_PROFILE,
orb_core,
TAO_GIOP_Message_Version (TAO_DEF_GIOP_MAJOR,
- TAO_DEF_GIOP_MINOR)),
+ TAO_DEF_GIOP_MINOR)),
endpoint_ (),
- count_ (1),
- object_key_ (),
- tagged_profile_ ()
+ count_ (1)
{
}
@@ -398,53 +396,6 @@ TAO_UIOP_Profile::encode (TAO_OutputCDR &stream) const
return 1;
}
-IOP::TaggedProfile &
-TAO_UIOP_Profile::create_tagged_profile (void)
-{
- // Check whether we have already created the TaggedProfile
- if (this->tagged_profile_.profile_data.get_buffer () == 0)
- {
- // As we have not created we will now create the TaggedProfile
- this->tagged_profile_.tag = TAO_TAG_UIOP_PROFILE;
-
- // Create the encapsulation....
- TAO_OutputCDR encap (ACE_CDR::DEFAULT_BUFSIZE,
- TAO_ENCAP_BYTE_ORDER,
- this->orb_core ()->output_cdr_buffer_allocator (),
- this->orb_core ()->output_cdr_dblock_allocator (),
- this->orb_core ()->output_cdr_msgblock_allocator (),
- this->orb_core ()->orb_params ()->cdr_memcpy_tradeoff (),
- TAO_DEF_GIOP_MAJOR,
- TAO_DEF_GIOP_MINOR);
-
- // Create the profile body
- this->create_profile_body (encap);
-
- CORBA::ULong length =
- ACE_static_cast(CORBA::ULong, encap.total_length ());
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- // Place the message block in to the Sequence of Octets that we
- // have
- this->tagged_profile_.profile_data.replace (length,
- encap.begin ());
-#else
- this->tagged_profile_.profile_data.length (length);
- CORBA::Octet *buffer =
- this->tagged_profile_.profile_data.get_buffer ();
- for (const ACE_Message_Block *i = encap.begin ();
- i != encap.end ();
- i = i->next ())
- {
- ACE_OS::memcpy (buffer, i->rd_ptr (), i->length ());
- buffer += i->length ();
- }
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 1*/
- }
-
- return this->tagged_profile_;
-}
-
void
TAO_UIOP_Profile::create_profile_body (TAO_OutputCDR &encap) const
{
@@ -495,27 +446,8 @@ TAO_UIOP_Profile::encode_endpoints (void)
== 0)
|| (out_cdr << endpoints) == 0)
return -1;
- CORBA::ULong length = out_cdr.total_length ();
-
- IOP::TaggedComponent tagged_component;
- tagged_component.tag = TAO_TAG_ENDPOINTS;
- tagged_component.component_data.length (length);
- CORBA::Octet *buf =
- tagged_component.component_data.get_buffer ();
-
- for (const ACE_Message_Block *iterator = out_cdr.begin ();
- iterator != 0;
- iterator = iterator->cont ())
- {
- CORBA::ULong i_length = iterator->length ();
- ACE_OS::memcpy (buf, iterator->rd_ptr (), i_length);
-
- buf += i_length;
- }
- // Add component with encoded endpoint data to this profile's
- // TaggedComponents.
- tagged_components_.set_component (tagged_component);
+ this->set_tagged_components (out_cdr);
return 0;
}
diff --git a/TAO/tao/Strategies/UIOP_Profile.h b/TAO/tao/Strategies/UIOP_Profile.h
index f122fe3feba..f43f14967cb 100644
--- a/TAO/tao/Strategies/UIOP_Profile.h
+++ b/TAO/tao/Strategies/UIOP_Profile.h
@@ -29,7 +29,6 @@
#include "strategies_export.h"
#include "tao/Profile.h"
-#include "tao/Object_KeyC.h"
#include "UIOP_Connection_Handler.h"
#include "UIOP_Endpoint.h"
@@ -140,9 +139,6 @@ public:
virtual CORBA::ULong hash (CORBA::ULong max
ACE_ENV_ARG_DECL);
- /// Please see the Profile.h for the documentation of this method
- virtual IOP::TaggedProfile &create_tagged_profile (void);
-
private:
/// Create an encapsulation of the struct ProfileBody in <cdr>
@@ -176,12 +172,6 @@ private:
/// Number of endpoints in the list headed by <endpoint_>.
size_t count_;
-
- /// Object_key associated with this profile.
- TAO::ObjectKey object_key_;
-
- /// Our tagged profile info
- IOP::TaggedProfile tagged_profile_;
};
#if defined (__ACE_INLINE__)
diff --git a/TAO/tao/Stub.cpp b/TAO/tao/Stub.cpp
index f99d5f3de9c..6cb5e4e2d38 100644
--- a/TAO/tao/Stub.cpp
+++ b/TAO/tao/Stub.cpp
@@ -258,7 +258,13 @@ TAO_Stub::get_profile_ior_info (TAO_MProfile &profiles,
{
TAO_Profile *prof = profiles.get_profile (index);
- ior_info->profiles[index] = prof->create_tagged_profile ();
+ IOP::TaggedProfile *tp =
+ prof->create_tagged_profile ();
+
+ if (tp == 0)
+ ACE_THROW_RETURN (CORBA::NO_MEMORY (),
+ -1);
+ ior_info->profiles[index] = *tp;
}
return 0;
diff --git a/TAO/tao/TAO.dsp b/TAO/tao/TAO.dsp
index 69df03fc6cd..7644f373986 100644
--- a/TAO/tao/TAO.dsp
+++ b/TAO/tao/TAO.dsp
@@ -180,7 +180,6 @@ SOURCE=.\Adapter.cpp
# Begin Source File
SOURCE=.\Any.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -221,7 +220,6 @@ SOURCE=.\Blocked_Connect_Strategy.cpp
# Begin Source File
SOURCE=.\BoundsC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -269,14 +267,6 @@ SOURCE=.\CodecFactory_ORBInitializer.cpp
# End Source File
# Begin Source File
-SOURCE=.\Codeset_Manager.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Codeset_Translator_Factory.cpp
-# End Source File
-# Begin Source File
-
SOURCE=.\Collocation_Resolver.cpp
# End Source File
# Begin Source File
@@ -298,7 +288,6 @@ SOURCE=.\Connector_Registry.cpp
# Begin Source File
SOURCE=.\CONV_FRAMEC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -319,7 +308,6 @@ SOURCE=.\CORBANAME_Parser.cpp
# Begin Source File
SOURCE=.\CurrentC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -368,7 +356,6 @@ SOURCE=.\DLL_Parser.cpp
# Begin Source File
SOURCE=.\DomainC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -377,7 +364,6 @@ SOURCE=.\Dynamic_Adapter.cpp
# Begin Source File
SOURCE=.\DynamicC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -398,7 +384,6 @@ SOURCE=.\Environment.cpp
# Begin Source File
SOURCE=.\Exception.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -463,7 +448,6 @@ SOURCE=.\GIOP_Utils.cpp
# Begin Source File
SOURCE=.\GIOPC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -471,6 +455,10 @@ SOURCE=.\IFR_Client_Adapter.cpp
# End Source File
# Begin Source File
+SOURCE=.\IFR_TypeCodes.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\IIOP_Acceptor.cpp
# End Source File
# Begin Source File
@@ -508,7 +496,6 @@ SOURCE=.\IIOP_Transport.cpp
# Begin Source File
SOURCE=.\IIOPC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -528,8 +515,15 @@ SOURCE=.\Invocation_Endpoint_Selectors.cpp
# End Source File
# Begin Source File
+SOURCE=.\IOP_CodecC.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\IOP_IORC.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\IOPC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -610,7 +604,6 @@ SOURCE=.\MCAST_Parser.cpp
# Begin Source File
SOURCE=.\Messaging_PolicyValueC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -639,7 +632,6 @@ SOURCE=.\Object.cpp
# Begin Source File
SOURCE=.\Object_KeyC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -659,18 +651,15 @@ SOURCE=.\Object_Ref_Table.cpp
# End Source File
# Begin Source File
-SOURCE=.\ObjectIdListC.cpp
-# ADD CPP /GR
+SOURCE=.\ObjectIDList.cpp
# End Source File
# Begin Source File
SOURCE=.\ObjectReferenceTemplateC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
SOURCE=.\OctetSeqC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -727,7 +716,6 @@ SOURCE=.\Pluggable_Messaging_Utils.cpp
# Begin Source File
SOURCE=.\Policy_ForwardC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -744,7 +732,6 @@ SOURCE=.\Policy_Validator.cpp
# Begin Source File
SOURCE=.\PolicyC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -753,12 +740,10 @@ SOURCE=.\PolicyFactory_Registry.cpp
# Begin Source File
SOURCE=.\PollableC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
SOURCE=.\PortableInterceptorC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -834,12 +819,11 @@ SOURCE=.\Service_Context.cpp
# End Source File
# Begin Source File
-SOURCE=.\Services_Activate.cpp
+SOURCE=.\Services.cpp
# End Source File
# Begin Source File
-SOURCE=.\ServicesC.cpp
-# ADD CPP /GR
+SOURCE=.\Services_Activate.cpp
# End Source File
# Begin Source File
@@ -848,7 +832,6 @@ SOURCE=.\skip.cpp
# Begin Source File
SOURCE=.\StringSeqC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -897,7 +880,6 @@ SOURCE=.\TAO_Singleton_Manager.cpp
# Begin Source File
SOURCE=.\TAOC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -914,7 +896,6 @@ SOURCE=.\Thread_Lane_Resources_Manager.cpp
# Begin Source File
SOURCE=.\TimeBaseC.cpp
-# ADD CPP /GR
# End Source File
# Begin Source File
@@ -987,7 +968,6 @@ SOURCE=.\Wait_Strategy.cpp
# Begin Source File
SOURCE=.\WrongTransactionC.cpp
-# ADD CPP /GR
# End Source File
# End Group
# Begin Group "Header Files"
@@ -1019,10 +999,6 @@ SOURCE=.\any.h
# End Source File
# Begin Source File
-SOURCE=.\Any_T.h
-# End Source File
-# Begin Source File
-
SOURCE=.\arg_shifter.h
# End Source File
# Begin Source File
@@ -1107,14 +1083,6 @@ SOURCE=.\CodecFactory_ORBInitializer.h
# End Source File
# Begin Source File
-SOURCE=.\Codeset_Manager.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Codeset_Translator_Factory.h
-# End Source File
-# Begin Source File
-
SOURCE=.\Collocation_Resolver.h
# End Source File
# Begin Source File
@@ -1375,6 +1343,14 @@ SOURCE=.\Invocation_Endpoint_Selectors.h
# End Source File
# Begin Source File
+SOURCE=.\IOP_CodecC.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\IOP_IORC.h
+# End Source File
+# Begin Source File
+
SOURCE=.\IOPC.h
# End Source File
# Begin Source File
@@ -1519,7 +1495,7 @@ SOURCE=.\objectid.h
# End Source File
# Begin Source File
-SOURCE=.\ObjectIdListC.h
+SOURCE=.\ObjectIDList.h
# End Source File
# Begin Source File
@@ -1683,10 +1659,6 @@ SOURCE=.\sequence.h
# End Source File
# Begin Source File
-SOURCE=.\Sequence_T.h
-# End Source File
-# Begin Source File
-
SOURCE=.\Server_Strategy_Factory.h
# End Source File
# Begin Source File
@@ -1699,11 +1671,11 @@ SOURCE=.\Service_Context.h
# End Source File
# Begin Source File
-SOURCE=.\Services_Activate.h
+SOURCE=.\Services.h
# End Source File
# Begin Source File
-SOURCE=.\ServicesC.h
+SOURCE=.\Services_Activate.h
# End Source File
# Begin Source File
@@ -1887,10 +1859,6 @@ SOURCE=.\any.i
# End Source File
# Begin Source File
-SOURCE=.\Any_T.inl
-# End Source File
-# Begin Source File
-
SOURCE=.\Asynch_Invocation.i
# End Source File
# Begin Source File
@@ -2127,6 +2095,14 @@ SOURCE=.\Invocation_Endpoint_Selectors.i
# End Source File
# Begin Source File
+SOURCE=.\IOP_CodecC.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\IOP_IORC.i
+# End Source File
+# Begin Source File
+
SOURCE=.\IOPC.i
# End Source File
# Begin Source File
@@ -2219,7 +2195,7 @@ SOURCE=.\Object_Loader.i
# End Source File
# Begin Source File
-SOURCE=.\ObjectIdListC.i
+SOURCE=.\ObjectIDList.i
# End Source File
# Begin Source File
@@ -2323,10 +2299,6 @@ SOURCE=.\sequence.i
# End Source File
# Begin Source File
-SOURCE=.\Sequence_T.i
-# End Source File
-# Begin Source File
-
SOURCE=.\Service_Callbacks.i
# End Source File
# Begin Source File
@@ -2335,7 +2307,7 @@ SOURCE=.\Service_Context.inl
# End Source File
# Begin Source File
-SOURCE=.\ServicesC.i
+SOURCE=.\Services.i
# End Source File
# Begin Source File
@@ -2438,24 +2410,5 @@ SOURCE=.\ValueFactory_Map.i
SOURCE=.\tao.rc
# End Source File
# End Group
-# Begin Group "Template Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Any_T.cpp
-# PROP Exclude_From_Build 1
-# End Source File
-# Begin Source File
-
-SOURCE=.\Codeset_Translator_Factory_T.cpp
-# PROP Exclude_From_Build 1
-# End Source File
-# Begin Source File
-
-SOURCE=.\Sequence_T.cpp
-# PROP Exclude_From_Build 1
-# End Source File
-# End Group
# End Target
# End Project
diff --git a/TAO/tao/Tagged_Components.cpp b/TAO/tao/Tagged_Components.cpp
index d82307c30a7..9158819c7f7 100644
--- a/TAO/tao/Tagged_Components.cpp
+++ b/TAO/tao/Tagged_Components.cpp
@@ -12,7 +12,6 @@ ACE_RCSID (tao,
Tagged_Components,
"$Id$")
-
void
TAO_Tagged_Components::set_orb_type (CORBA::ULong orb_type)
{
diff --git a/TAO/tao/default_client.cpp b/TAO/tao/default_client.cpp
index a1ae2f8e890..b28b021320e 100644
--- a/TAO/tao/default_client.cpp
+++ b/TAO/tao/default_client.cpp
@@ -19,7 +19,8 @@
ACE_RCSID(tao, default_client, "$Id$")
TAO_Default_Client_Strategy_Factory::TAO_Default_Client_Strategy_Factory (void)
- : profile_lock_type_ (TAO_THREAD_LOCK)
+ : profile_lock_type_ (TAO_THREAD_LOCK),
+ rd_table_size_ (TAO_RD_TABLE_SIZE)
{
// Use single thread client connection handler
#if defined (TAO_USE_ST_CLIENT_CONNECTION_HANDLER)
@@ -75,7 +76,6 @@ TAO_Default_Client_Strategy_Factory::parse_args (int argc, ACE_TCHAR* argv[])
this->report_option_value_error (ACE_LIB_TEXT("-ORBProfileLock"), name);
}
}
-
else if (ACE_OS::strcasecmp (argv[curarg],
ACE_LIB_TEXT("-ORBIIOPProfileLock")) == 0)
{
@@ -157,6 +157,15 @@ TAO_Default_Client_Strategy_Factory::parse_args (int argc, ACE_TCHAR* argv[])
this->report_option_value_error (ACE_LIB_TEXT("-ORBTransportMuxStrategy"), name);
}
}
+ else if (ACE_OS::strcmp (argv[curarg],
+ ACE_LIB_TEXT("-ORBReplyDispatcherTableSize")) == 0)
+ {
+ curarg++;
+ if (curarg < argc)
+ {
+ this->rd_table_size_ = ACE_OS::atoi (argv[curarg]);
+ }
+ }
else if (ACE_OS::strncmp (argv[curarg], ACE_LIB_TEXT("-ORB"), 4) == 0)
{
// Can we assume there is an argument after the option?
@@ -220,6 +229,12 @@ TAO_Default_Client_Strategy_Factory::create_transport_mux_strategy (TAO_Transpor
return tms;
}
+int
+TAO_Default_Client_Strategy_Factory::reply_dispatcher_table_size (void) const
+{
+ return this->rd_table_size_;
+}
+
TAO_Wait_Strategy *
TAO_Default_Client_Strategy_Factory::create_wait_strategy (TAO_Transport *transport)
{
diff --git a/TAO/tao/default_client.h b/TAO/tao/default_client.h
index 48b83338640..13698ee8156 100644
--- a/TAO/tao/default_client.h
+++ b/TAO/tao/default_client.h
@@ -52,6 +52,7 @@ public:
// following methods.
virtual ACE_Lock* create_profile_lock (void);
virtual TAO_Transport_Mux_Strategy *create_transport_mux_strategy (TAO_Transport *transport);
+ virtual int reply_dispatcher_table_size (void) const;
virtual int allow_callback (void);
virtual TAO_Wait_Strategy *create_wait_strategy (TAO_Transport *transport);
virtual TAO_Connect_Strategy *create_connect_strategy (TAO_ORB_Core *);
@@ -99,6 +100,9 @@ private:
/// The connection initiation strategy.
Connect_Strategy connect_strategy_;
+
+ /// Size of the reply dispatcher table
+ int rd_table_size_;
};
#if defined (__ACE_INLINE__)
diff --git a/TAO/tao/default_resource.cpp b/TAO/tao/default_resource.cpp
index 36a42a3d0e2..149299d4147 100644
--- a/TAO/tao/default_resource.cpp
+++ b/TAO/tao/default_resource.cpp
@@ -1,6 +1,5 @@
// $Id$
-
#include "tao/default_resource.h"
#include "tao/ORB_Core.h"
@@ -38,25 +37,27 @@ ACE_RCSID (tao,
"$Id$")
TAO_Default_Resource_Factory::TAO_Default_Resource_Factory (void)
- : use_locked_data_blocks_ (1),
- parser_names_count_ (0),
- parser_names_ (0),
- protocol_factories_ (),
- connection_purging_type_ (TAO_CONNECTION_PURGING_STRATEGY),
- cache_maximum_ (TAO_CONNECTION_CACHE_MAXIMUM),
- purge_percentage_ (TAO_PURGE_PERCENT),
- max_muxed_connections_ (0),
- reactor_mask_signals_ (1),
- dynamically_allocated_reactor_ (0),
- options_processed_ (0),
- factory_disabled_ (0),
- cached_connection_lock_type_ (TAO_THREAD_LOCK),
- flushing_strategy_type_ (TAO_LEADER_FOLLOWER_FLUSHING),
- ncs_c_ (TAO_Codeset_Manager::default_char_codeset),
- ncs_w_ (TAO_Codeset_Manager::default_wchar_codeset),
- charcodeset_factories_ (),
- wcharcodeset_factories_ (),
- codeset_manager_ (0)
+ : use_locked_data_blocks_ (1)
+ , parser_names_count_ (0)
+ , parser_names_ (0)
+ , protocol_factories_ ()
+ , connection_purging_type_ (TAO_CONNECTION_PURGING_STRATEGY)
+ , cache_maximum_ (TAO_CONNECTION_CACHE_MAXIMUM)
+ , purge_percentage_ (TAO_PURGE_PERCENT)
+ , max_muxed_connections_ (0)
+ , reactor_mask_signals_ (1)
+ , dynamically_allocated_reactor_ (0)
+ , options_processed_ (0)
+ , factory_disabled_ (0)
+ , cached_connection_lock_type_ (TAO_THREAD_LOCK)
+ , corba_object_lock_type_ (TAO_THREAD_LOCK)
+ , flushing_strategy_type_ (TAO_LEADER_FOLLOWER_FLUSHING)
+ , ncs_c_ (TAO_Codeset_Manager::default_char_codeset)
+ , ncs_w_ (TAO_Codeset_Manager::default_wchar_codeset)
+ , charcodeset_factories_ ()
+ , wcharcodeset_factories_ ()
+ , codeset_manager_ (0)
+ , resource_usage_strategy_ (TAO_Resource_Factory::TAO_EAGER)
{
}
@@ -265,7 +266,7 @@ TAO_Default_Resource_Factory::init (int argc, ACE_TCHAR *argv[])
if (this->charcodeset_factories_.insert (item) == -1)
ACE_ERROR ((LM_ERROR,
ACE_LIB_TEXT ("(%P|%t) Unable to add Codeset ")
- ACE_LIB_TEXT ("factories for %s: %p\n"),
+ ACE_LIB_TEXT ("factories for %s: %p\n"),
argv[curarg]));
}
}
@@ -285,7 +286,7 @@ TAO_Default_Resource_Factory::init (int argc, ACE_TCHAR *argv[])
if (this->wcharcodeset_factories_.insert (item) == -1)
ACE_ERROR ((LM_ERROR,
ACE_LIB_TEXT ("(%P|%t) Unable to add Codeset ")
- ACE_LIB_TEXT ("factories for %s: %p\n"),
+ ACE_LIB_TEXT ("factories for %s: %p\n"),
argv[curarg]));
}
}
@@ -410,6 +411,49 @@ TAO_Default_Resource_Factory::init (int argc, ACE_TCHAR *argv[])
}
}
else if (ACE_OS::strcasecmp (argv[curarg],
+ ACE_LIB_TEXT("-ORBCorbaObjectLock")) == 0)
+ {
+ curarg++;
+ if (curarg < argc)
+ {
+ ACE_TCHAR* name = argv[curarg];
+
+ if (ACE_OS::strcasecmp (name,
+ ACE_LIB_TEXT("thread")) == 0)
+ this->corba_object_lock_type_ = TAO_THREAD_LOCK;
+ else if (ACE_OS::strcasecmp (name,
+ ACE_LIB_TEXT("null")) == 0)
+ {
+ // @@ Bug 940 :This is a sort of hack now. We need to put
+ // this in a common place once we get the common
+ // switch that is documented in bug 940...
+ this->corba_object_lock_type_ = TAO_NULL_LOCK;
+ }
+ else
+ this->report_option_value_error (ACE_LIB_TEXT("-ORBCorbaObjectLock"), name);
+ }
+ }
+ else if (ACE_OS::strcasecmp (argv[curarg],
+ ACE_LIB_TEXT("-ORBResourceUsage")) == 0)
+ {
+ curarg++;
+ if (curarg < argc)
+ {
+ ACE_TCHAR* name = argv[curarg];
+
+ if (ACE_OS::strcasecmp (name,
+ ACE_LIB_TEXT("eager")) == 0)
+ this->resource_usage_strategy_ = TAO_EAGER;
+ else if (ACE_OS::strcasecmp (name,
+ ACE_LIB_TEXT("lazy")) == 0)
+ {
+ this->resource_usage_strategy_ = TAO_LAZY;
+ }
+ else
+ this->report_option_value_error (ACE_LIB_TEXT("-ORBResourceUsage"), name);
+ }
+ }
+ else if (ACE_OS::strcasecmp (argv[curarg],
ACE_LIB_TEXT("-ORBFlushingStrategy")) == 0)
{
curarg++;
@@ -862,6 +906,22 @@ TAO_Default_Resource_Factory::locked_transport_cache (void)
return 1;
}
+ACE_Lock *
+TAO_Default_Resource_Factory::create_corba_object_lock (void)
+{
+ ACE_Lock *the_lock = 0;
+
+ if (this->corba_object_lock_type_ == TAO_NULL_LOCK)
+ ACE_NEW_RETURN (the_lock,
+ ACE_Lock_Adapter<ACE_SYNCH_NULL_MUTEX>,
+ 0);
+ else
+ ACE_NEW_RETURN (the_lock,
+ ACE_Lock_Adapter<TAO_SYNCH_MUTEX>,
+ 0);
+
+ return the_lock;
+}
TAO_Flushing_Strategy *
TAO_Default_Resource_Factory::create_flushing_strategy (void)
@@ -940,7 +1000,6 @@ TAO_Default_Resource_Factory::disable_factory (void)
}
}
-
TAO_Codeset_Manager *
TAO_Default_Resource_Factory::get_codeset_manager()
{
@@ -949,12 +1008,12 @@ TAO_Default_Resource_Factory::get_codeset_manager()
CONV_FRAME::CodeSetComponentInfo *csi;
ACE_NEW_RETURN (csi,CONV_FRAME::CodeSetComponentInfo,0);
if (init_codeset_factories_i (charcodeset_factories_) == -1)
- {
+ {
delete csi;
ACE_ERROR_RETURN ((LM_ERROR,
ACE_LIB_TEXT ("TAO (%P|%t) resource factory ")
- ACE_LIB_TEXT ("failed to init char codeset ")
- ACE_LIB_TEXT ("factories\n")),0);
+ ACE_LIB_TEXT ("failed to init char codeset ")
+ ACE_LIB_TEXT ("factories\n")),0);
}
// Initialize the wide character codeset factories
if (init_codeset_factories_i (wcharcodeset_factories_) == -1)
@@ -962,8 +1021,8 @@ TAO_Default_Resource_Factory::get_codeset_manager()
delete csi;
ACE_ERROR_RETURN ((LM_ERROR,
ACE_LIB_TEXT ("TAO (%P|%t) resource factory ")
- ACE_LIB_TEXT ("failed to init wchar codeset ")
- ACE_LIB_TEXT ("factories\n")),0);
+ ACE_LIB_TEXT ("failed to init wchar codeset ")
+ ACE_LIB_TEXT ("factories\n")),0);
}
//need autopointer for csi here...
this->get_codeset_ids_i (this->ncs_c_,
@@ -1001,7 +1060,7 @@ TAO_Default_Resource_Factory::init_codeset_factories_i (TAO_CodesetFactorySet& f
{
ACE_DEBUG ((LM_DEBUG,
ACE_LIB_TEXT ("TAO (%P|%t) Loaded CodeSet <%s>, ")
- ACE_LIB_TEXT ("ncs = %08x tcs = %08x\n"),
+ ACE_LIB_TEXT ("ncs = %08x tcs = %08x\n"),
ACE_TEXT_CHAR_TO_TCHAR(name.c_str ()),
(*iter)->factory()->ncs(),(*iter)->factory()->tcs()));
}
@@ -1021,8 +1080,8 @@ TAO_Default_Resource_Factory::get_codeset_ids_i (CONV_FRAME::CodeSetId ncs,
cs_comp->conversion_code_sets.length(factset.size());
if (TAO_debug_level > 2)
ACE_DEBUG ((LM_DEBUG,
- ACE_LIB_TEXT ("(%P|%t) default resource factory ")
- ACE_LIB_TEXT ("get_codeset_ids_i, ncs = %08x ccs len = %d\n"),
+ ACE_LIB_TEXT ("(%P|%t) default resource factory ")
+ ACE_LIB_TEXT ("get_codeset_ids_i, ncs = %08x ccs len = %d\n"),
ncs,factset.size()));
CORBA::ULong index;
@@ -1034,13 +1093,13 @@ TAO_Default_Resource_Factory::get_codeset_ids_i (CONV_FRAME::CodeSetId ncs,
cs_comp->conversion_code_sets[index++] = trans->tcs();
if (TAO_debug_level > 2)
ACE_DEBUG ((LM_DEBUG,
- ACE_LIB_TEXT ("(%P|%t) adding tcs %08x\n"),
+ ACE_LIB_TEXT ("(%P|%t) adding tcs %08x\n"),
trans->tcs()));
} else
if (TAO_debug_level > 2)
ACE_DEBUG ((LM_DEBUG,
- ACE_LIB_TEXT ("(%P%t) skipping ncs %08x, tcs %08x\n)"),
- trans->ncs(), trans->tcs()));
+ ACE_LIB_TEXT ("(%P%t) skipping ncs %08x, tcs %08x\n)"),
+ trans->ncs(), trans->tcs()));
}
cs_comp->conversion_code_sets.length(index);
@@ -1079,6 +1138,12 @@ TAO_Default_Resource_Factory::get_translator_i (TAO_CodesetFactorySet& factset,
}
+TAO_Resource_Factory::Resource_Usage
+TAO_Default_Resource_Factory::resource_usage_strategy (void)const
+{
+ return this->resource_usage_strategy_;
+}
+
// ****************************************************************
ACE_STATIC_SVC_DEFINE (TAO_Default_Resource_Factory,
diff --git a/TAO/tao/default_resource.h b/TAO/tao/default_resource.h
index d0e047f0eaa..a49747147c1 100644
--- a/TAO/tao/default_resource.h
+++ b/TAO/tao/default_resource.h
@@ -104,10 +104,6 @@ public:
int cdr_allocator_source (void);
// = Resource Retrieval
-#if 0
- // @@@todo: Need to go at a later date
- virtual int use_tss_resources (void) const;
-#endif /*if 0*/
virtual int use_locked_data_blocks (void) const;
virtual ACE_Reactor *get_reactor (void);
virtual void reclaim_reactor (ACE_Reactor *);
@@ -137,6 +133,7 @@ public:
virtual int purge_percentage (void) const;
virtual int max_muxed_connections (void) const;
virtual ACE_Lock *create_cached_connection_lock (void);
+ virtual ACE_Lock *create_corba_object_lock (void);
virtual int locked_transport_cache (void);
virtual TAO_Flushing_Strategy *create_flushing_strategy (void);
virtual TAO_Connection_Purging_Strategy *create_purging_strategy (void);
@@ -147,6 +144,8 @@ public:
CONV_FRAME::CodeSetId get_ncs_char (void);
CONV_FRAME::CodeSetId get_ncs_wchar (void);
+
+ virtual TAO_Resource_Factory::Resource_Usage resource_usage_strategy (void) const;
//@}
protected:
@@ -223,6 +222,18 @@ protected:
int factory_disabled_;
private:
+
+ // Function to initialize a list of char or wchar codeset factories
+ virtual int init_codeset_factories_i (TAO_CodesetFactorySet& );
+
+ void get_codeset_ids_i (CONV_FRAME::CodeSetId,
+ TAO_CodesetFactorySet&,
+ CONV_FRAME::CodeSetComponent *);
+
+ TAO_Codeset_Translator_Factory * get_translator_i (TAO_CodesetFactorySet&,
+ CONV_FRAME::CodeSetId ,
+ CONV_FRAME::CodeSetId);
+private:
enum Lock_Type
{
TAO_NULL_LOCK,
@@ -232,6 +243,9 @@ private:
/// Type of lock used by the cached connector.
Lock_Type cached_connection_lock_type_;
+ /// Type of lock used by the corba object.
+ Lock_Type corba_object_lock_type_;
+
enum Flushing_Strategy_Type
{
TAO_LEADER_FOLLOWER_FLUSHING,
@@ -255,15 +269,11 @@ private:
TAO_Codeset_Manager *codeset_manager_;
- // Function to initialize a list of char or wchar codeset factories
- virtual int init_codeset_factories_i (TAO_CodesetFactorySet& );
- void get_codeset_ids_i (CONV_FRAME::CodeSetId,
- TAO_CodesetFactorySet&,
- CONV_FRAME::CodeSetComponent *);
- TAO_Codeset_Translator_Factory * get_translator_i (TAO_CodesetFactorySet&,
- CONV_FRAME::CodeSetId ,
- CONV_FRAME::CodeSetId);
+
+
+ /// Resource usage strategy
+ Resource_Usage resource_usage_strategy_;
};
#if defined (__ACE_INLINE__)