diff options
author | dengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-10-10 21:58:19 +0000 |
---|---|---|
committer | dengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-10-10 21:58:19 +0000 |
commit | 06ded5788fec3111c1d3eda4809f30ecc91eca27 (patch) | |
tree | b621fa950bc9e4b90c5b4690809f3942c5f774ee | |
parent | 9203537910e39c33c84b23c74616438d28c306c0 (diff) | |
download | ATCD-06ded5788fec3111c1d3eda4809f30ecc91eca27.tar.gz |
Modified return type to use plain C++ types instead of types generated by IDL compiler.
-rw-r--r-- | DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.cpp | 12 | ||||
-rw-r--r-- | DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.cpp b/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.cpp index a94649239ac..00b5431faec 100644 --- a/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.cpp +++ b/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.cpp @@ -1311,7 +1311,7 @@ handle_es_connection ( if (binding.deployRequirement.length () != 0) { retv[len].config = - this->get_connection_QoS_configuration (binding.deployRequirement[0]); + * (this->get_connection_QoS_configuration (binding.deployRequirement[0])); } // If we didnt find the objref of the connection ... @@ -2055,13 +2055,13 @@ purge_connections (Deployment::Connections_var & connections, } } -const Deployment::Properties & +Deployment::Properties * CIAO::DomainApplicationManager_Impl:: get_connection_QoS_configuration (const Deployment::Requirement & requirement) { // Get the name/identifier of the filter associated with // this connection - Deployment::Properties_var retv; + Deployment::Properties * retv; ACE_NEW_NORETURN (retv, Deployment::Properties); CORBA::ULong len = retv->length (); @@ -2093,12 +2093,12 @@ get_connection_QoS_configuration (const Deployment::Requirement & requirement) filter_name) == 0) { retv->length (len + 1); - retv[len].name = CORBA::string_dup ("EventFilter"); - retv[len].value <<= this->esd_[j].filters[k]; + (*retv)[len].name = CORBA::string_dup ("EventFilter"); + (*retv)[len].value <<= this->esd_[j].filters[k]; break; } } } } - return retv.inout (); + return retv; } diff --git a/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h b/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h index 49e52ee7d37..ee2ae518e86 100644 --- a/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h +++ b/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h @@ -408,7 +408,7 @@ namespace CIAO * deployment requirement. The deployment requirement only specifies * an identifier/reference to the EventServiceDeploymentDescriptions. */ - virtual const Deployment::Properties & + virtual Deployment::Properties * get_connection_QoS_configuration ( const Deployment::Requirement & requirement); |