summaryrefslogtreecommitdiff
path: root/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp')
-rw-r--r--TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp35
1 files changed, 19 insertions, 16 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp b/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp
index e468ec00357..c42bb8a5e51 100644
--- a/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp
+++ b/TAO/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp
@@ -9,19 +9,20 @@
#include "Basic_Deployment_Data.hpp"
#include "cdp.hpp"
#include "ciao/Deployment_DataC.h"
-
+#include "ciao/CIAO_common.h"
namespace CIAO
{
namespace Config_Handlers
{
void
DP_PCD_Handler::plan_connection_descrs (
- const DeploymentPlan &src,
- Deployment::PlanConnectionDescriptions& dest)
+ const DeploymentPlan &src,
+ Deployment::PlanConnectionDescriptions& dest)
{
+ CIAO_TRACE("DP_PCD_Handler::plan_connection_descrs");
DeploymentPlan::connection_const_iterator cci_e =
src.end_connection ();
-
+
CORBA::ULong pos = 0;
dest.length (src.count_connection ());
for (DeploymentPlan::connection_const_iterator cci_b =
@@ -33,20 +34,22 @@ namespace CIAO
dest[pos++]);
}
}
-
+
PlanConnectionDescription
DP_PCD_Handler::plan_connection_descr (
- const Deployment::PlanConnectionDescription &src)
+ const Deployment::PlanConnectionDescription &src)
{
- PlanConnectionDescription pcd = PCD_Handler::get_PlanConnectionDescription(src);
- return pcd;
+ CIAO_TRACE("DP_PCD_Handler::plan_connection_descr");
+ PlanConnectionDescription pcd = PCD_Handler::get_PlanConnectionDescription(src);
+ return pcd;
}
void
DP_PCD_Handler::plan_connection_descr (
- const PlanConnectionDescription &src,
- Deployment::PlanConnectionDescription &dest)
+ const PlanConnectionDescription &src,
+ Deployment::PlanConnectionDescription &dest)
{
+ CIAO_TRACE("DP_PCD_Handler::plan_connection_descr - reverse");
dest.name =
src.name ().c_str ();
@@ -74,11 +77,11 @@ namespace CIAO
CRDD_Handler crddhandler;
toconfig.deployedResource.length (
- toconfig.deployedResource.length () + 1);
+ toconfig.deployedResource.length () + 1);
crddhandler.get_ConnectionResourceDeploymentDescription (
- toconfig.deployedResource[toconfig.deployedResource.length () - 1],
- desc.deployedResource ());
+ toconfig.deployedResource[toconfig.deployedResource.length () - 1],
+ desc.deployedResource ());
}
if (desc.deployRequirement_p ())
@@ -91,10 +94,10 @@ namespace CIAO
//Increase the sequence length and delgate
//the Requirement to the Req_Handler.
toconfig.deployRequirement.length (
- toconfig.deployRequirement.length () + 1);
+ toconfig.deployRequirement.length () + 1);
reqhandler.get_Requirement (
- toconfig.deployRequirement[toconfig.deployRequirement.length () - 1],
- desc.deployRequirement ());
+ toconfig.deployRequirement[toconfig.deployRequirement.length () - 1],
+ desc.deployRequirement ());
}