summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp')
-rw-r--r--TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp b/TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp
index 23a427649c8..56dbb7e1eab 100644
--- a/TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp
+++ b/TAO/CIAO/DAnCE/Config_Handlers/Req_Handler.cpp
@@ -1,12 +1,8 @@
-
// $Id$
-
#include "Req_Handler.h"
-#include "Basic_Deployment_Data.hpp"
-#include "ciao/Deployment_DataC.h"
-
-
+#include "Property_Handler.h"
+#include "ciao/DeploymentC.h"
namespace CIAO
{
@@ -21,24 +17,28 @@ namespace CIAO
{
}
-
void
- Req_Handler::requirement (
- const Requirement& desc,
- Deployment::Requirement& toconfig)
+ Req_Handler::get_Requirement (
+ Deployment::Requirement& toconfig,
+ Requirement& desc)
{
-
-
-
- toconfig.name=
- CORBA::string_dup (desc.name ().c_str ());
-
- toconfig.resourceType=
- CORBA::string_dup (desc.resourceType ().c_str ());
-
-
+ //Map the basic string types to their Deployment::Req
+ //counterparts.
+ toconfig.name = CORBA::string_dup (desc.name ().c_str ());
+ toconfig.resourceType =
+ CORBA::string_dup (desc.resourceType ().c_str ());
+
+ //Map the XSC Req's property into the next
+ //position in the IDL Req's sequence.
+#if 0
+ /// @@ MAJO:
+ Property_Handler prophandler;
+ toconfig.property.length (toconfig.property.length () + 1);
+ Property_Handler::get_property (
+ toconfig.property[toconfig.property.length () - 1],
+ desc.property ());
+#endif /*if 0*/
}
}
-
}