summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-06-12 17:56:25 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-06-12 17:56:25 +0000
commitdbe899f1dbcff1e5497dcd8d349f3c170269c22c (patch)
tree4b88b32e2cf95d03913e921466f7466e2747475a
parentd9fb8bdb45347c4c6cf4fc2d1c67dde95cd11872 (diff)
downloadATCD-dbe899f1dbcff1e5497dcd8d349f3c170269c22c.tar.gz
-rw-r--r--CIAO/examples/Hello/Sender/starter.cpp9
-rw-r--r--CIAO/examples/Hello/descriptors_naming/deploymentplan_naming.cdp240
2 files changed, 4 insertions, 245 deletions
diff --git a/CIAO/examples/Hello/Sender/starter.cpp b/CIAO/examples/Hello/Sender/starter.cpp
index 610ee410d11..e91b55f47d7 100644
--- a/CIAO/examples/Hello/Sender/starter.cpp
+++ b/CIAO/examples/Hello/Sender/starter.cpp
@@ -58,8 +58,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
return -1;
}
- CORBA::Object_var obj =
- orb->string_to_object (ior);
+ CORBA::Object_var obj = orb->string_to_object (ior);
Hello::Sender_var sender = Hello::Sender::_narrow (obj.in ());
@@ -71,9 +70,9 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
}
if (message)
- {
- sender->local_message (message);
- }
+ {
+ sender->local_message (message);
+ }
sender->start ();
diff --git a/CIAO/examples/Hello/descriptors_naming/deploymentplan_naming.cdp b/CIAO/examples/Hello/descriptors_naming/deploymentplan_naming.cdp
deleted file mode 100644
index 6addc453772..00000000000
--- a/CIAO/examples/Hello/descriptors_naming/deploymentplan_naming.cdp
+++ /dev/null
@@ -1,240 +0,0 @@
-<!-- This flattened deployment plan allows component instance to
- register to naming service, if you don't want to use naming
- service at all, you can use the flattened_deployment_without_ns.cdp
- as your deployment descriptor. -->
-
-<Deployment:deploymentPlan
- xmlns:Deployment="http://www.omg.org/Deployment"
- xmlns:xmi="http://www.omg.org/XMI"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <label>Hello-DeploymentPlan</label>
- <UUID>Hello_Plan_UUID_0001</UUID>
- <!-- Could be ZERO -->
- <realizes>
- <label>BasicSP-realizes-cid</label>
- <UUID>c0965470-7b83-11d9-9669-0800200c9a66</UUID>
- <specificType><!-- @@ What does here? --></specificType>
- <supportedType>IDL:BasicSP/EC:1.0</supportedType>
- <port>
- <name>read_message</name>
- <specificType>IDL:Hello/ReadMessage:1.0</specificType>
- <supportedType>IDL:Hello/ReadMessage:1.0</supportedType>
- <provider>false></provider>
- <exclusiveProvider>false</exclusiveProvider>
- <exclusiveUser>true</exclusiveUser>
- <optional>false</optional>
- <kind>SimplexReceptacle</kind>
- </port>
- </realizes>
-
- <implementation id="Hello-Sender-mdd">
- <name>Hello-Sender-mdd</name>
- <source><!-- @@ Don't know what goes here --></source>
- <artifact>Hello-Sender_exec</artifact>
- <artifact>Hello-Sender_svnt</artifact>
- <!--
- <execParameter></execParameter>
- <deployRequirement></deployRequirement>
- -->
- </implementation>
-
- <implementation id="Hello-Receiver-mdd">
- <name>Hello-Receiver-mdd</name>
- <source><!-- @@ Don't know what goes here --></source>
- <artifact>Hello-Receiver_exec</artifact>
- <artifact>Hello-Receiver_svnt</artifact>
- <!--
- <execParameter></execParameter>
- <deployRequirement></deployRequirement>
- -->
- </implementation>
-
- <instance id="Hello-Sender-idd">
- <name>Hello-Sender-idd</name>
- <node>SenderNode</node>
- <source><!-- @@ What goes here --></source>
- <implementation>Hello-Sender-mdd</implementation>
-
- <!-- Add this property if you want to write component reference to IOR -->
- <configProperty>
- <name>ComponentIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
-
- <!-- Add this property if you want to register with naming service -->
- <!-- The string is the naming context to bind to naming service -->
- <configProperty>
- <name>RegisterNaming</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender_001</string>
- </value>
- </value>
- </configProperty>
-
- <!-- Add this property if you want to initialize component attribute -->
- <configProperty>
- <name>local_message</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>This is a test message passed in through XML.</string>
- </value>
- </value>
- </configProperty>
- <!-- This attribute initializes an enumerated value -->
- <configProperty>
- <name>color</name>
- <value>
- <type>
- <kind>tk_enum</kind>
- <enum>
- <name>COLOR_SELECTION</name>
- <typeId>IDL:Hello/COLOR_SELECTION:1.0</typeId>
- <member>empty</member>
- <member>white</member>
- <member>red</member>
- <member>yellow</member>
- </enum>
- </type>
- <value>
- <enum>yellow</enum>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance id="Hello-Receiver-idd">
- <name>Hello-Receiver-idd</name>
- <node>ReceiverNode</node>
- <source><!-- @@ What goes here --></source>
- <implementation>Hello-Receiver-mdd</implementation>
- <configProperty>
- <name>ComponentIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
-
- <connection>
- <name>hell_event_connection</name>
- <internalEndpoint>
- <portName>click_out</portName>
- <kind>EventPublisher</kind>
- <instance>Hello-Sender-idd</instance>
- </internalEndpoint>
- <internalEndpoint>
- <portName>click_in</portName>
- <kind>EventConsumer</kind>
- <instance>Hello-Receiver-idd</instance>
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>hello_facet_connection</name>
- <internalEndpoint>
- <portName>push_message</portName>
- <kind>Facet</kind>
- <instance>Hello-Sender-idd</instance>
- </internalEndpoint>
- <internalEndpoint>
- <portName>read_message</portName>
- <kind>SimplexReceptacle</kind>
- <instance>Hello-Receiver-idd</instance>
- </internalEndpoint>
- </connection>
-
- <!-- @@ Runtime library name must match exactly in "location" tag -->
- <artifact id="Hello-Sender_exec">
- <name>Sender_exec</name>
- <source><!-- @@ Not sure about this--></source>
- <node><!-- blank --></node>
- <location>Hello_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact id="Hello-Sender_svnt">
- <name>Sender_svnt</name>
- <source><!-- @@ Not sure --></source>
- <node><!-- blank --></node>
- <location>Hello_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact id="Hello-Receiver_exec">
- <name>Receiver_exec</name>
- <source><!-- @@ Not sure about this--></source>
- <node><!-- blank --></node>
- <location>Hello_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact id="Hello-Receiver_svnt">
- <name>Receiver_svnt</name>
- <source><!-- @@ Not sure --></source>
- <node><!-- blank --></node>
- <location>Hello_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-</Deployment:deploymentPlan>