summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/Config_Handlers/CRDD_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/DAnCE/Config_Handlers/CRDD_Handler.cpp')
-rw-r--r--TAO/CIAO/DAnCE/Config_Handlers/CRDD_Handler.cpp40
1 files changed, 40 insertions, 0 deletions
diff --git a/TAO/CIAO/DAnCE/Config_Handlers/CRDD_Handler.cpp b/TAO/CIAO/DAnCE/Config_Handlers/CRDD_Handler.cpp
new file mode 100644
index 00000000000..ede65f39f61
--- /dev/null
+++ b/TAO/CIAO/DAnCE/Config_Handlers/CRDD_Handler.cpp
@@ -0,0 +1,40 @@
+// $Id$
+
+#include "CRDD_Handler.h"
+#include "ANY_Handler.h"
+#include "Basic_Deployment_Data.hpp"
+#include "ciao/Deployment_DataC.h"
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+ CRDD_Handler::CRDD_Handler (void)
+ {
+ }
+
+ CRDD_Handler::~CRDD_Handler (void)
+ {
+ }
+
+ ///This method takes a <Deployment::ConnectionResourceDeploymentDescription>
+ ///and maps the values from the passed in XSC
+ ///ConnectionResourceDeploymentDescription to its members.
+ void CRDD_Handler::get_ConnectionResourceDeploymentDescription (
+ Deployment::ConnectionResourceDeploymentDescription& toconfig,
+ ConnectionResourceDeploymentDescription& desc)
+ {
+ toconfig.targetName = CORBA::string_dup (desc.targetName ().c_str ());
+ toconfig.requirementName =
+ CORBA::string_dup (desc.requirementName ().c_str ());
+ toconfig.resourceName =
+ CORBA::string_dup (desc.resourceName ().c_str ());
+
+ ANY_Handler anyhandler;
+ anyhandler.get_Any (toconfig.resourceValue, desc.resourceValue ());
+
+ }
+
+ }
+}