diff options
Diffstat (limited to 'CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm')
17 files changed, 0 insertions, 2474 deletions
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/.gitignore b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/.gitignore deleted file mode 100644 index e73c15370ed..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/GeneratedCode -/Ports -/lib diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/descriptors/Plan.cdp deleted file mode 100644 index baeb334ae2d..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/descriptors/Plan.cdp +++ /dev/null @@ -1,374 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<!-- --> -<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"> - - <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID> - - <implementation xmi:id="Hello_ReceiverHomeImplementation"> - <name>Hello_ReceiverHomeImplementation</name> - <source/> - <artifact xmi:idref="Hello_Receiver_comp_ExecArtifact"/> - <artifact xmi:idref="Hello_Receiver_comp_SvntArtifact"/> - <execParameter> - <name>component factory</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Hello_Receiver_comp_Impl</string> - </value> - </value> - </execParameter> - <execParameter> - <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Receiver_comp_exec</string> - </value> - </value> - </execParameter> - <execParameter> - <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Hello_Receiver_comp_Servant</string> - </value> - </value> - </execParameter> - <execParameter> - <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string> - </value> - </value> - </execParameter> - </implementation> - - <implementation xmi:id="Hello_SenderHomeImplementation"> - <name>Hello_SenderHomeImplementation</name> - <source/> - <artifact xmi:idref="Hello_Sender_comp_ExecArtifact"/> - <artifact xmi:idref="Hello_Sender_comp_SvntArtifact"/> - <execParameter> - <name>component factory</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Hello_Sender_comp_Impl</string> - </value> - </value> - </execParameter> - <execParameter> - <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</string> - </value> - </value> - </execParameter> - <execParameter> - <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Hello_Sender_comp_Servant</string> - </value> - </value> - </execParameter> - <execParameter> - <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string> - </value> - </value> - </execParameter> - </implementation> - - <implementation xmi:id="Hello_AMIHomeImplementation"> - <name>Hello_AMIHomeImplementation</name> - <source/> - <artifact xmi:idref="Hello_MyFoo_obj_AMI_ExecArtifact"/> - <artifact xmi:idref="Hello_MyFoo_obj_AMI_SvntArtifact"/> - <execParameter> - <name>component factory</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_Impl</string> - </value> - </value> - </execParameter> - <execParameter> - <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</string> - </value> - </value> - </execParameter> - <execParameter> - <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_AMI4CCM_Connector_Servant</string> - </value> - </value> - </execParameter> - <execParameter> - <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string> - </value> - </value> - </execParameter> - </implementation> - - <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver"> - <name>Hello.ComponentImplementations.HelloImplementation.Hello.Receiver</name> - <node>Receiver</node> - <source/> - <implementation xmi:idref="Hello_ReceiverHomeImplementation"/> - <configProperty> - <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Receiver.ior</string> - </value> - </value> - </configProperty> - </instance> - - <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Sender"> - <name>Hello.ComponentImplementations.HelloImplementation.Hello.Sender</name> - <node>Sender</node> - <source/> - <implementation xmi:idref="Hello_SenderHomeImplementation"/> - <configProperty> - <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Sender.ior</string> - </value> - </value> - </configProperty> - </instance> - - <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.AMI"> - <name>Hello.ComponentImplementations.HelloImplementation.Hello.AMI</name> - <node>Sender</node> - <source/> - <implementation xmi:idref="Hello_AMIHomeImplementation"/> - <configProperty> - <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>AMI.ior</string> - </value> - </value> - </configProperty> - </instance> - - <connection> - <name>run_asynch_foo_connection</name> - <deployRequirement> - <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name> - <resourceType>Local_Interface</resourceType> - </deployRequirement> - <internalEndpoint> - <portName>sendc_run_my_foo</portName> - <provider>false</provider> - <kind>SimplexReceptacle</kind> - <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" /> - </internalEndpoint> - <internalEndpoint> - <portName>ami4ccm_port_ami4ccm_provides</portName> - <provider>true</provider> - <kind>Facet</kind> - <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" /> - </internalEndpoint> - </connection> - - <connection> - <name>do_foo_connection</name> - <internalEndpoint> - <portName>do_my_foo</portName> - <provider>true</provider> - <kind>Facet</kind> - <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" /> - </internalEndpoint> - <internalEndpoint> - <portName>ami4ccm_port_ami4ccm_uses</portName> - <provider>false</provider> - <kind>SimplexReceptacle</kind> - <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" /> - </internalEndpoint> - </connection> - - <connection> - <name>synch_foo_connection</name> - <internalEndpoint> - <portName>do_my_foo</portName> - <provider>true</provider> - <kind>Facet</kind> - <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" /> - </internalEndpoint> - <internalEndpoint> - <portName>run_my_foo</portName> - <provider>false</provider> - <kind>SimplexReceptacle</kind> - <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" /> - </internalEndpoint> - </connection> - - <artifact xmi:id="Hello_MyFoo_obj_AMI_SvntArtifact"> - <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name> - <source/> - <node/> - <location>Hello_MyFoo_obj_svnt</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_AMI4CCM_Connector_Servant</string> - </value> - </value> - </execParameter> - </artifact> - - <artifact xmi:id="Hello_MyFoo_obj_AMI_ExecArtifact"> - <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</name> - <source/> - <node/> - <location>Hello_MyFoo_obj_conn</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_Impl</string> - </value> - </value> - </execParameter> - </artifact> - - <artifact xmi:id="Hello_Receiver_comp_SvntArtifact"> - <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name> - <source/> - <node/> - <location>Hello_Receiver_comp_svnt</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Hello_AMI_ReceiverHome_Servant</string> - </value> - </value> - </execParameter> - </artifact> - - <artifact xmi:id="Hello_Receiver_comp_ExecArtifact"> - <name>Receiver_comp_exec</name> - <source/> - <node/> - <location>Hello_Receiver_comp_exec</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Hello_AMI_ReceiverHome_Impl</string> - </value> - </value> - </execParameter> - </artifact> - - <artifact xmi:id="Hello_Sender_comp_SvntArtifact"> - <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name> - <source/> - <node/> - <location>Hello_Sender_comp_svnt</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Hello_AMI_SenderHome_Servant</string> - </value> - </value> - </execParameter> - </artifact> - - <artifact xmi:id="Hello_Sender_comp_ExecArtifact"> - <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</name> - <source/> - <node/> - <location>Hello_Sender_comp_exec</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Hello_AMI_SenderHome_Impl</string> - </value> - </value> - </execParameter> - </artifact> - -</Deployment:DeploymentPlan> diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/scripts/run_test.pl b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/scripts/run_test.pl deleted file mode 100755 index 4554b23ec7a..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/scripts/run_test.pl +++ /dev/null @@ -1,243 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# -*- perl -*- - -use lib "$ENV{'ACE_ROOT'}/bin"; -use PerlACE::TestTarget; - -$CIAO_ROOT = "$ENV{'CIAO_ROOT'}"; -$TAO_ROOT = "$ENV{'TAO_ROOT'}"; -$DANCE_ROOT = "$ENV{'DANCE_ROOT'}"; - -$daemons_running = 0; -$em_running = 0; -$ns_running = 0; - -$nr_daemon = 3; -@ports = ( 60000, 60001 ); -@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" ); -@iorfiles = 0; -@nodenames = ( "Sender", "Receiver" ); - -# ior files other than daemon -$ior_nsbase = "ns.ior"; -$ior_nsfile = 0; -$ior_embase = "EM.ior"; -$ior_emfile = 0; - -# Processes -$E = 0; -$EM = 0; -$NS = 0; -@DEAMONS = 0; - -# targets -@tg_daemons = 0; -$tg_naming = 0; -$tg_exe_man = 0; -$tg_executor = 0; - -$status = 0; -$cdp_file = "../descriptors/Plan.cdp"; - -sub create_targets { - # naming service - $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n"; - $tg_naming->AddLibPath ('../../lib'); - # daemon - for ($i = 0; $i < $nr_daemon; ++$i) { - $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n"; - $tg_daemons[$i]->AddLibPath ('../../lib'); - } - # execution manager - $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n"; - $tg_exe_man->AddLibPath ('../../lib'); - # executor (plan_launcher) - $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n"; - $tg_executor->AddLibPath ('../../lib'); -} - -sub init_ior_files { - $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase); - $ior_emfile = $tg_exe_man->LocalFile ($ior_embase); - for ($i = 0; $i < $nr_daemon; ++$i) { - $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]); - } - delete_ior_files (); -} - -# Delete if there are any .ior files. -sub delete_ior_files { - for ($i = 0; $i < $nr_daemon; ++$i) { - $tg_daemons[$i]->DeleteFile ($iorbases[$i]); - } - $tg_naming->DeleteFile ($ior_nsbase); - $tg_exe_man->DeleteFile ($ior_embase); - for ($i = 0; $i < $nr_daemon; ++$i) { - $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]); - } -} - -sub kill_node_daemon { - for ($i = 0; $i < $nr_daemon; ++$i) { - $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1); - } -} - -sub kill_open_processes { - if ($daemons_running == 1) { - kill_node_daemon (); - } - - if ($em_running == 1) { - $EM->Kill (); $EM->TimedWait (1); - } - - if ($ns_running == 1) { - $NS->Kill (); $NS->TimedWait (1); - } - # in case shutdown did not perform as expected - $tg_executor->KillAll ('dance_locality_manager'); -} - -sub run_node_daemons { - for ($i = 0; $i < $nr_daemon; ++$i) { - $iorbase = $iorbases[$i]; - $iorfile = $iorfiles[$i]; - $port = $ports[$i]; - $nodename = $nodenames[$i]; - $iiop = "iiop://localhost:$port"; - $node_app = "$DANCE_ROOT/bin/dance_locality_manager"; - - $d_cmd = "$DANCE_ROOT/bin/dance_node_manager"; - $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService"; - - print "Run dance_node_manager with $d_param\n"; - - $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param); - $DEAMONS[$i]->Spawn (); - - if ($tg_daemons[$i]->WaitForFileTimed($iorbase, - $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) { - print STDERR - "ERROR: The ior $iorfile file of node daemon $i could not be found\n"; - for (; $i >= 0; --$i) { - $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1); - } - return -1; - } - } - return 0; -} - -create_targets (); -init_ior_files (); - -# Invoke naming service - -$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile"); - -print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n"; - -$ns_status = $NS->Spawn (); - -if ($ns_status != 0) { - print STDERR "ERROR: Unable to execute the naming service\n"; - kill_open_processes (); - exit 1; -} - -if ($tg_naming->WaitForFileTimed ($ior_nsbase, - $tg_naming->ProcessStartWaitInterval ()) == -1) { - print STDERR "ERROR: cannot find naming service IOR file\n"; - $NS->Kill (); $NS->TimedWait (1); - exit 1; -} - -$ns_running = 1; -# Set up NamingService environment -$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService"; - -# Invoke node daemon. -print "Invoking node daemon\n"; -$status = run_node_daemons (); - -if ($status != 0) { - print STDERR "ERROR: Unable to execute the node daemon\n"; - kill_open_processes (); - exit 1; -} - -$daemons_running = 1; - -# Invoke execution manager. -print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n"; -$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager", - "-e$ior_emfile --domain-nc corbaloc:rir:/NameService"); -$em_status = $EM->Spawn (); - -if ($em_status != 0) { - print STDERR "ERROR: dance_execution_manager returned $em_status"; - exit 1; -} - -if ($tg_exe_man->WaitForFileTimed ($ior_embase, - $tg_exe_man->ProcessStartWaitInterval ()) == -1) { - print STDERR - "ERROR: The ior file of execution manager could not be found\n"; - kill_open_processes (); - exit 1; -} - -$em_running = 1; - -# Invoke executor - start the application -. -print "Invoking executor - launch the application -\n"; - -print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n"; -$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher", - "-x $cdp_file -k file://$ior_emfile"); - -$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ()); - -if ($pl_status != 0) { - print STDERR "ERROR: dance_plan_launcher returned $pl_status\n"; - kill_open_processes (); - exit 1; -} - -for ($i = 0; $i < $nr_daemon; ++$i) { - if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i], - $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) { - print STDERR "ERROR: The ior file of daemon $i could not be found\n"; - kill_open_processes (); - exit 1; - } -} - -print "Sleeping 30 seconds to allow task to complete\n"; -sleep (30); - -# Invoke executor - stop the application -. -print "Invoking executor - stop the application -\n"; -print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n"; - -$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher", - "-k file://$ior_emfile -x $cdp_file -s"); -$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ()); - -if ($pl_status != 0) { - print STDERR "ERROR: dance_plan_launcher returned $pl_status\n"; - kill_open_processes (); - exit 1; -} - -print "Executor returned.\n"; -print "Shutting down rest of the processes.\n"; - -delete_ior_files (); -kill_open_processes (); - -exit $status; diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.idl b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.idl deleted file mode 100644 index 798151db843..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.idl +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef HELLO_RECEIVER_IDL -#define HELLO_RECEIVER_IDL - -#include <Components.idl> - -#include "Hello_MyFoo_obj.idl" - -module Hello -{ - component Receiver_comp - { - /// Provides - provides MyFoo_obj do_my_foo; - }; -}; -#endif diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.mpc b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.mpc deleted file mode 100644 index 54f7a9b0857..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.mpc +++ /dev/null @@ -1,162 +0,0 @@ -project(AMI_Hello_Tuto_Hello_Receiver_idl_gen) : componentidldefaults { - custom_only = 1 - after += AMI_Hello_Tuto_idl_gen - idlflags += -Wb,stub_export_macro=HELLO_RECEIVER_COMP_STUB_Export \ - -Wb,stub_export_include=Hello_Receiver_comp_stub_export.h \ - -Wb,skel_export_macro=HELLO_RECEIVER_COMP_SVNT_Export \ - -Wb,skel_export_include=Hello_Receiver_comp_svnt_export.h \ - -Wb,exec_export_macro=HELLO_RECEIVER_COMP_EXEC_Export \ - -Wb,exec_export_include=Hello_Receiver_comp_exec_export.h \ - -Glem \ - -I../../ports \ - -I../../GeneratedCode \ - -o ../../GeneratedCode - - - IDL_Files { - Hello_Receiver_comp.idl - gendir=../../GeneratedCode - } -} - -project(AMI_Hello_Hello_Receiver_exec_idl_gen) : componentidldefaults { - requires += dummy_label - custom_only = 1 - idlflags += -Gex -SS -Sci \ - -I../ports \ - -I../../ports \ - -o ../../../Tutorial/Code/GeneratedExec - - IDL_Files { - Hello_Receiver_comp.idl - } -} - -project(AMI_Hello_Tuto_Hello_Receiver_lem_gen) : ciaoidldefaults { - after += AMI_Hello_Tuto_Hello_Receiver_idl_gen - custom_only = 1 - idlflags += -Wb,stub_export_macro=HELLO_RECEIVER_COMP_LEM_STUB_Export \ - -Wb,stub_export_include=Hello_Receiver_comp_lem_stub_export.h \ - -SS -Gxhst \ - -I../../ports \ - -I../../GeneratedCode\ - -o ../../GeneratedCode - - - IDL_Files { - ../../GeneratedCode/Hello_Receiver_compE.idl - gendir=../../GeneratedCode - } -} - -project(AMI_Hello_Tuto_Hello_Receiver_l_stub) : ccm_svnt, messaging { - after += AMI_Hello_Tuto_Hello_Receiver_lem_gen\ - AMI_Hello_Tuto_Hello_Receiver_stub AMI_Hello_Tuto_stub - libs += Hello_MyFoo_obj_stub Hello_Receiver_comp_stub - libpaths += ../../lib - libout = ../../lib - sharedname = Hello_Receiver_comp_lem_stub - dynamicflags += HELLO_RECEIVER_COMP_LEM_STUB_BUILD_DLL - includes += ../.. ../../GeneratedCode - IDL_Files { - } - - Source_Files { - ../../GeneratedCode/Hello_Receiver_compEC.cpp - } - - Header_Files { - ../../GeneratedCode/Hello_Receiver_compEC.h - ../../GeneratedCode/Hello_Receiver_comp_lem_stub_export.h - } - - Inline_Files { - ../../GeneratedCode/Hello_Receiver_compEC.inl - } -} - -project(AMI_Hello_Tuto_Hello_Receiver_stub) : ccm_stub, messaging { - after += AMI_Hello_Tuto_Hello_Receiver_idl_gen AMI_Hello_Tuto_stub - libs += Hello_MyFoo_obj_stub - libpaths += ../../lib - libout = ../../lib - sharedname = Hello_Receiver_comp_stub - dynamicflags += HELLO_RECEIVER_COMP_STUB_BUILD_DLL - includes += ../../GeneratedCode - - IDL_Files { - } - - Source_Files { - ../../GeneratedCode/Hello_Receiver_compC.cpp - } - - Header_Files { - ../../GeneratedCode/Hello_Receiver_compC.h - ../../GeneratedCode/Hello_Receiver_comp_stub_export.h - } - - Inline_Files { - ../../GeneratedCode/Hello_Receiver_compC.inl - } -} - -project(AMI_Hello_Tuto_Hello_Receiver_exec) : ciao_executor, messaging { - after += AMI_Hello_Tuto_Hello_Receiver_l_stub\ - AMI_Hello_Tuto_Hello_Receiver_stub\ - AMI_Hello_Tuto_stub AMI_Hello_Tuto_lem_stub - sharedname = Hello_Receiver_comp_exec - libs += Hello_Receiver_comp_stub Hello_Receiver_comp_lem_stub\ - Hello_MyFoo_obj_stub\ - Hello_MyFoo_obj_lem_stub Hello_common_defn_stub - libpaths += ../../lib - libout = ../../lib - dynamicflags += HELLO_RECEIVER_COMP_EXEC_BUILD_DLL - includes += ../../GeneratedCode - - IDL_Files { - } - - Source_Files { - Hello_Receiver_comp_exec.cpp - } - - Header_Files { - Hello_Receiver_comp_exec.h - ../../GeneratedCode/Hello_Receiver_comp_exec_export.h - } - - Inline_Files { - } -} - -project(AMI_Hello_Tuto_Hello_Receiver_svnt) : ciao_servant, messaging { - after += AMI_Hello_Tuto_skel AMI_Hello_Tuto_Hello_Receiver_l_stub\ - AMI_Hello_Tuto_stub\ - AMI_Hello_Tuto_skel AMI_Hello_Tuto_lem_stub - sharedname = Hello_Receiver_comp_svnt - libs += Hello_Receiver_comp_stub Hello_Receiver_comp_lem_stub\ - Hello_MyFoo_obj_skel\ - Hello_MyFoo_obj_stub Hello_MyFoo_obj_lem_stub - libpaths += ../../lib - libout = ../../lib - dynamicflags += HELLO_RECEIVER_COMP_SVNT_BUILD_DLL - includes += ../.. ../../GeneratedCode - - IDL_Files { - } - - Source_Files { - ../../GeneratedCode/Hello_Receiver_compS.cpp - ../../GeneratedCode/Hello_Receiver_comp_svnt.cpp - } - - Header_Files { - ../../GeneratedCode/Hello_Receiver_compS.h - ../../GeneratedCode/Hello_Receiver_comp_svnt.h - ../../GeneratedCode/Hello_Receiver_comp_svnt_export.h - } - - Inline_Files { - } -} diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.cpp b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.cpp deleted file mode 100644 index 303697cae44..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.cpp +++ /dev/null @@ -1,181 +0,0 @@ -// -*- C++ -*- -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.2 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.dre.vanderbilt.edu/~schmidt/TAO.html - **/ - -#include "Hello_Receiver_comp_exec.h" -#include "ace/OS_NS_unistd.h" - -namespace CIAO_Hello_Receiver_comp_Impl -{ - - //============================================================ - // Facet Executor Implementation Class: do_my_foo_exec_i - //============================================================ - - do_my_foo_exec_i::do_my_foo_exec_i ( - ::Hello::CCM_Receiver_comp_Context_ptr ctx) - : ciao_context_ ( - ::Hello::CCM_Receiver_comp_Context::_duplicate (ctx)) - { - } - - do_my_foo_exec_i::~do_my_foo_exec_i (void) - { - } - - // Operations from ::Hello::MyFoo_obj - - ::CORBA::Long - do_my_foo_exec_i::foo (const char * in_str, - ::CORBA::String_out answer) - { - // for test purposes : throw an exception. - if (ACE_OS::strlen (in_str) == 0) - { - Hello::InternalError ex (42, "Hello world"); - throw ex; - } - else - { - ACE_OS::sleep (ACE_OS::rand () % 2); - answer = CORBA::string_dup ("This is my answer : Hi"); - return ACE_OS::rand () % 100; - } - } - - void - do_my_foo_exec_i::hello (::CORBA::Long_out answer) - { - /* Your code here. */ - ACE_OS::sleep (ACE_OS::rand () % 2); - answer = ACE_OS::rand () % 100; - } - - ::CORBA::Short - do_my_foo_exec_i::rw_attrib (void) - { - /* Your code here. */ - return ACE_OS::rand () % 100; - } - - void - do_my_foo_exec_i::rw_attrib (::CORBA::Short /* rw_attrib */) - { - /* Your code here. */ - } - - ::CORBA::Short - do_my_foo_exec_i::ro_attrib (void) - { - /* Your code here. */ - return ACE_OS::rand () % 100; - } - - //============================================================ - // Component Executor Implementation Class: Receiver_comp_exec_i - //============================================================ - - Receiver_comp_exec_i::Receiver_comp_exec_i (void){ - } - - Receiver_comp_exec_i::~Receiver_comp_exec_i (void) - { - } - - // Supported operations and attributes. - - // Component attributes and port operations. - - ::Hello::CCM_MyFoo_obj_ptr - Receiver_comp_exec_i::get_do_my_foo (void) - { - if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ())) - { - do_my_foo_exec_i *tmp = 0; - ACE_NEW_RETURN ( - tmp, - do_my_foo_exec_i ( - this->ciao_context_.in ()), - ::Hello::CCM_MyFoo_obj::_nil ()); - - this->ciao_do_my_foo_ = tmp; - } - - return - ::Hello::CCM_MyFoo_obj::_duplicate ( - this->ciao_do_my_foo_.in ()); - } - - // Operations from Components::SessionComponent. - - void - Receiver_comp_exec_i::set_session_context ( - ::Components::SessionContext_ptr ctx) - { - this->ciao_context_ = - ::Hello::CCM_Receiver_comp_Context::_narrow (ctx); - - if ( ::CORBA::is_nil (this->ciao_context_.in ())) - { - throw ::CORBA::INTERNAL (); - } - } - - void - Receiver_comp_exec_i::configuration_complete (void) - { - /* Your code here. */ - } - - void - Receiver_comp_exec_i::ccm_activate (void) - { - /* Your code here. */ - } - - void - Receiver_comp_exec_i::ccm_passivate (void) - { - /* Your code here. */ - } - - void - Receiver_comp_exec_i::ccm_remove (void) - { - /* Your code here. */ - } - - extern "C" ::Components::EnterpriseComponent_ptr - create_Hello_Receiver_comp_Impl (void) - { - ::Components::EnterpriseComponent_ptr retval = - ::Components::EnterpriseComponent::_nil (); - - ACE_NEW_NORETURN ( - retval, - Receiver_comp_exec_i); - - return retval; - } -} diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.h b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.h deleted file mode 100644 index 49292bc1852..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.h +++ /dev/null @@ -1,126 +0,0 @@ -// -*- C++ -*- -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.2 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.dre.vanderbilt.edu/~schmidt/TAO.html - **/ -#ifndef CIAO__________TUTORIAL_CODE_GENERATEDEXEC_HELLO_RECEIVER_COMP_EXEC_IHOFDC_H_ -#define CIAO__________TUTORIAL_CODE_GENERATEDEXEC_HELLO_RECEIVER_COMP_EXEC_IHOFDC_H_ - -#include /**/ "ace/pre.h" - -#include "Hello_Receiver_compEC.h" -#include "Hello_Receiver_comp_exec_export.h" - - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/LocalObject.h" - -namespace CIAO_Hello_Receiver_comp_Impl -{ - - //============================================================ - // Provider Executor Implementation Class: do_my_foo_exec_i - //============================================================ - - class do_my_foo_exec_i - : public virtual ::Hello::CCM_MyFoo_obj, - public virtual ::CORBA::LocalObject - { - public: - do_my_foo_exec_i ( - ::Hello::CCM_Receiver_comp_Context_ptr ctx); - virtual ~do_my_foo_exec_i (void); - - // Operations and attributes from Hello::MyFoo_obj - - virtual - ::CORBA::Long foo (const char * in_str, - ::CORBA::String_out answer); - - virtual - void hello (::CORBA::Long_out answer); - - virtual ::CORBA::Short rw_attrib (void); - - virtual void rw_attrib (::CORBA::Short rw_attrib); - - virtual ::CORBA::Short ro_attrib (void); - - private: - ::Hello::CCM_Receiver_comp_Context_var ciao_context_; - }; - - //============================================================ - // Component Executor Implementation Class: Receiver_comp_exec_i - //============================================================ - - class Receiver_comp_exec_i - : public virtual Receiver_comp_Exec, - public virtual ::CORBA::LocalObject - { - public: - Receiver_comp_exec_i (void); - virtual ~Receiver_comp_exec_i (void); - - //@{ - /** Supported operations and attributes. */ - - //@} - - //@{ - /** Component attributes and port operations. */ - - virtual ::Hello::CCM_MyFoo_obj_ptr - get_do_my_foo (void);//@} - - //@{ - /** Operations from Components::SessionComponent. */ - - virtual void set_session_context (::Components::SessionContext_ptr ctx); - - virtual void configuration_complete (void); - - virtual void ccm_activate (void); - virtual void ccm_passivate (void); - virtual void ccm_remove (void); - //@} - - //@{ - /** User defined operations */ - - //@} - - private: - ::Hello::CCM_Receiver_comp_Context_var ciao_context_; - ::Hello::CCM_MyFoo_obj_var ciao_do_my_foo_; - }; - - extern "C" HELLO_RECEIVER_COMP_EXEC_Export ::Components::EnterpriseComponent_ptr - create_Hello_Receiver_comp_Impl (void); -} - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.idl b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.idl deleted file mode 100644 index 70cb4738010..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.idl +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef HELLO_SENDER_IDL -#define HELLO_SENDER_IDL - -#include <Components.idl> - -#include "Hello_MyFoo_obj.idl" - -#pragma ciao ami4ccm receptacle "Hello::Sender_comp::run_my_foo" - -module Hello -{ - component Sender_comp - { - /// For synchronous invocation - uses MyFoo_obj run_my_foo; - }; -}; - -#endif diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.mpc b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.mpc deleted file mode 100644 index d4cbe1f0994..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.mpc +++ /dev/null @@ -1,156 +0,0 @@ -project(AMI_Hello_Tuto_Hello_Sender_idl_gen) : componentidldefaults { - after += AMI_Hello_Tuto_idl_gen - custom_only = 1 - idlflags += -Wb,stub_export_macro=HELLO_SENDER_COMP_STUB_Export \ - -Wb,stub_export_include=Hello_Sender_comp_stub_export.h \ - -Wb,skel_export_macro=HELLO_SENDER_COMP_SVNT_Export \ - -Wb,skel_export_include=Hello_Sender_comp_svnt_export.h \ - -Wb,exec_export_macro=HELLO_SENDER_COMP_EXEC_Export \ - -Wb,exec_export_include=Hello_Sender_comp_exec_export.h \ - -I../../ports \ - -I../../GeneratedCode \ - -o ../../GeneratedCode \ - -GC - - IDL_Files { - Hello_Sender_comp.idl - gendir=../../GeneratedCode - } -} - -project(AMI_Hello_Hello_Sender_exec_idl_gen) : componentidldefaults { - requires += dummy_label - custom_only = 1 - idlflags += -Gex -SS -Sci \ - -I../ports \ - -I../../ports \ - -o ../../../Tutorial/Code/GeneratedExec - - IDL_Files { - Hello_Sender_comp.idl - } -} - -project(AMI_Hello_Tuto_Hello_Sender_lem_gen) : ciaoidldefaults { - after += AMI_Hello_Tuto_Hello_Sender_idl_gen - custom_only = 1 - idlflags += -Wb,stub_export_macro=HELLO_SENDER_COMP_LEM_STUB_Export \ - -Wb,stub_export_include=Hello_Sender_comp_lem_stub_export.h \ - -SS -Gxhst\ - -I../../ports \ - -I../../GeneratedCode\ - -o ../../GeneratedCode - - - IDL_Files { - ../../GeneratedCode/Hello_Sender_compE.idl - gendir=../../GeneratedCode - } -} - -project(AMI_Hello_Tuto_Hello_Sender_lem_stub) : ccm_svnt, ami { - after += AMI_Hello_Tuto_Hello_Sender_lem_gen AMI_Hello_Tuto_stub Conn_Hello_Tuto_stub - libs += Hello_MyFoo_obj_stub - libpaths += ../../lib - libout = ../../lib - sharedname = Hello_Sender_comp_lem_stub - dynamicflags += HELLO_SENDER_COMP_LEM_STUB_BUILD_DLL - includes += ../../GeneratedCode ../.. - IDL_Files { - } - - Source_Files { - ../../GeneratedCode/Hello_Sender_compEC.cpp - } - - Header_Files { - ../../GeneratedCode/Hello_Sender_compEC.h - ../../GeneratedCode/Hello_Sender_comp_lem_stub_export.h - } - - Inline_Files { - ../../GeneratedCode/Hello_Sender_compEC.inl - } -} - -project(AMI_Hello_Tuto_Hello_Sender_stub) : ccm_stub, ami { - after += AMI_Hello_Tuto_Hello_Sender_idl_gen AMI_Hello_Tuto_stub Conn_Hello_Tuto_stub - libs += Hello_MyFoo_obj_stub - libpaths += ../../lib - libout = ../../lib - sharedname = Hello_Sender_comp_stub - dynamicflags += HELLO_SENDER_COMP_STUB_BUILD_DLL - includes += ../../GeneratedCode - IDL_Files { - } - - Source_Files { - ../../GeneratedCode/Hello_Sender_compC.cpp - } - - Header_Files { - ../../GeneratedCode/Hello_Sender_compC.h - ../../GeneratedCode/Hello_Sender_comp_stub_export.h - } - - Inline_Files { - ../../GeneratedCode/Hello_Sender_compC.inl - } -} - -project(AMI_Hello_Tuto_Hello_Sender_exec) : ciao_executor, ami, ami4ccm_stub { - after += AMI_Hello_Tuto_Hello_Sender_lem_stub AMI_Hello_Tuto_Hello_Sender_stub\ - AMI_Hello_Tuto_exec Conn_Hello_Tuto_stub AMI_Hello_Tuto_lem_stub - sharedname = Hello_Sender_comp_exec - libs += Hello_Sender_comp_stub Hello_Sender_comp_lem_stub Hello_MyFoo_obj_stub\ - Hello_MyFoo_obj_stub Hello_MyFoo_obj_lem_stub Hello_common_defn_stub - libpaths += ../../lib - libout = ../../lib - dynamicflags += HELLO_SENDER_COMP_EXEC_BUILD_DLL - includes += ../..\ - ../../GeneratedCode - IDL_Files { - } - - Source_Files { - Hello_Sender_comp_exec.cpp - } - - Header_Files { - Hello_Sender_comp_exec.h - ../../GeneratedCode/Hello_Sender_comp_exec_export.h - } - - Inline_Files { - } -} - -project(AMI_Hello_Tuto_Hello_Sender_svnt) : ciao_servant, ami { - after += AMI_Hello_Tuto_skel AMI_Hello_Tuto_Hello_Sender_lem_stub\ - AMI_Hello_Tuto_Hello_Sender_stub AMI_Hello_Tuto_exec AMI_Hello_Tuto_skel - sharedname = Hello_Sender_comp_svnt - libs += Hello_Sender_comp_stub Hello_Sender_comp_lem_stub \ - Hello_MyFoo_obj_skel \ - Hello_MyFoo_obj_stub - libpaths += ../../lib - libout = ../../lib - dynamicflags += HELLO_SENDER_COMP_SVNT_BUILD_DLL - includes += ../..\ - ../../GeneratedCode - IDL_Files { - } - - Source_Files { - ../../GeneratedCode/Hello_Sender_compS.cpp - ../../GeneratedCode/Hello_Sender_comp_svnt.cpp - } - - Header_Files { - ../../GeneratedCode/Hello_Sender_compS.h - ../../GeneratedCode/Hello_Sender_comp_svnt.h - ../../GeneratedCode/Hello_Sender_comp_svnt_export.h - } - - Inline_Files { - } -} diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.cpp b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.cpp deleted file mode 100644 index f725ef893ad..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.cpp +++ /dev/null @@ -1,342 +0,0 @@ -// -*- C++ -*- -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.dre.vanderbilt.edu/~schmidt/TAO.html - **/ - -#include "Hello_Sender_comp_exec.h" -#include "ace/OS_NS_unistd.h" - -namespace CIAO_Hello_Sender_comp_Impl -{ - - //============================================================ - // Worker thread for asynchronous invocations for MyFoo - //============================================================ - asynch_foo_generator::asynch_foo_generator ( - ::Hello::CCM_Sender_comp_Context_ptr context) - : context_(::Hello::CCM_Sender_comp_Context::_duplicate (context)) - { - } - - int asynch_foo_generator::svc () - { - ACE_OS::sleep (2); - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (ASYNCH) :") - ACE_TEXT("\tInvoke Asynchronous calls\n"))); - ::Hello::AMI4CCM_MyFoo_obj_var my_foo_ami_ = - this->context_->get_connection_sendc_run_my_foo(); - - if (CORBA::is_nil (my_foo_ami_)) - { - ACE_ERROR ((LM_ERROR, - ACE_TEXT("ERROR Sender (ASYNCH) :") - ACE_TEXT("\tfoo_ami is NIL !!!\n"))); - return 1; - } - ::Hello::CCM_AMI4CCM_MyFoo_objReplyHandler_var cb = - new AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (); - - for (int i = 0; i < 5; ++i) - { - my_foo_ami_->sendc_foo (cb.in (), - "Do something asynchronous"); - my_foo_ami_->sendc_hello (cb.in ()); - my_foo_ami_->sendc_get_rw_attrib(cb.in ()); - my_foo_ami_->sendc_set_rw_attrib(cb.in (), - 15); - my_foo_ami_->sendc_get_ro_attrib(cb.in ()); - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (ASYNCH) :\tInvoked 5 Asynchronous calls\n"))); - } - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (ASYNCH) :\tInvoke Asynchronous calls ") - ACE_TEXT("to test except handling\n"))); - my_foo_ami_->sendc_foo (cb.in (), ""); - my_foo_ami_->sendc_set_rw_attrib(cb.in (), 0); - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (ASYNCH) :\tInvoked 2 Asynchronous call.\n"))); - return 0; - } - - //============================================================ - // Worker thread for synchronous invocations for MyFoo - //============================================================ - synch_foo_generator::synch_foo_generator ( - ::Hello::CCM_Sender_comp_Context_ptr context) - : context_(::Hello::CCM_Sender_comp_Context::_duplicate (context)) - { - } - - int synch_foo_generator::svc () - { - ACE_OS::sleep (2); - ::Hello::MyFoo_obj_var my_foo_ami_ = - this->context_->get_connection_run_my_foo (); - // run synch calls - CORBA::String_var out_str; - for (int i = 0; i < 2; ++i) - { - try - { - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call (foo)\n"))); - CORBA::Long result = my_foo_ami_->foo ("Do something synchronous", - out_str.out()); - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call (foo)\n") - ACE_TEXT(" result <%u> answer <%C>\n"), - result, out_str.in())); - - CORBA::Long answer; - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call") - ACE_TEXT(" (hello)\n"))); - my_foo_ami_->hello (answer); - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (SYNCH):\tInvoked synchronous ") - ACE_TEXT("call (hello) result <%u>\n"), answer)); - - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call ") - ACE_TEXT("(rw_attrib())\n"))); - CORBA::Short rw_attrib = my_foo_ami_->rw_attrib (); - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ") - ACE_TEXT("(rw_attrib()) return <%u>\n"), rw_attrib)); - - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call") - ACE_TEXT(" (rw_attrib(15))\n"))); - my_foo_ami_->rw_attrib (15); - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ") - ACE_TEXT("(rw_attrib(15))\n"))); - - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call") - ACE_TEXT(" (ro_attrib())\n"))); - CORBA::Short ro_attrib = my_foo_ami_->ro_attrib (); - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ") - ACE_TEXT("(ro_attrib) return <%u>\n"), ro_attrib)); - } - catch (const Hello::InternalError& ex) - { - ACE_ERROR ((LM_ERROR, - ACE_TEXT("Sender (SYNCH) :\tERROR: ") - ACE_TEXT("Unexpected Exception caught :") - ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ())); - } - } - return 0; - } - - //============================================================ - // Component Executor Implementation Class: Sender_comp_exec_i - //============================================================ - Sender_comp_exec_i::Sender_comp_exec_i (void) : - asynch_foo_gen (0), - synch_foo_gen (0) - { - } - - Sender_comp_exec_i::~Sender_comp_exec_i (void) - { - } - - // Supported operations and attributes. - - // Component attributes and port operations. - - // Operations from Components::SessionComponent. - - void - Sender_comp_exec_i::set_session_context ( - ::Components::SessionContext_ptr ctx) - { - this->ciao_context_ = - ::Hello::CCM_Sender_comp_Context::_narrow (ctx); - - if ( ::CORBA::is_nil (this->ciao_context_.in ())) - { - throw ::CORBA::INTERNAL (); - } - } - - void - Sender_comp_exec_i::configuration_complete (void) - { - /* Your code here. */ - } - - void - Sender_comp_exec_i::ccm_activate (void) - { - this->asynch_foo_gen = - new asynch_foo_generator (this->ciao_context_.in ()); - this->asynch_foo_gen ->activate (THR_NEW_LWP | THR_JOINABLE, 1); - - this->synch_foo_gen = - new synch_foo_generator (this->ciao_context_.in ()); - this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1); - } - - void - Sender_comp_exec_i::ccm_passivate (void) - { - /* Your code here. */ - } - - void - Sender_comp_exec_i::ccm_remove (void) - { - delete this->asynch_foo_gen; - this->asynch_foo_gen = 0; - delete this->synch_foo_gen; - this->synch_foo_gen = 0; - } - - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void) - { - } - - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::~AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void) - { - } - - void - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::foo ( - ::CORBA::Long ami_return_val, - const char * answer) - { - /* Your code here. */ - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender:\tMyFoo AMI Callback from foo:") - ACE_TEXT("result <%u> answer <%C>\n"), - ami_return_val, answer)); - } - - void - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::foo_excep ( - ::CCM_AMI::ExceptionHolder_ptr excep_holder) - { - try - { - excep_holder->raise_exception (); - } - catch (const Hello::InternalError& ex) - { - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender:\tMyFoo Expected excception AMI Callback ") - ACE_TEXT("from foo: id <%u> error_string <%C>\n"), - ex.id, ex.error_string.in ())); - } - } - - void - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::hello ( - ::CORBA::Long answer) - { - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender:\tMyFoo AMI Callback from hello:") - ACE_TEXT(" answer <%u>\n"), answer)); - } - - void - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::hello_excep ( - ::CCM_AMI::ExceptionHolder_ptr excep_holder) - { - try - { - excep_holder->raise_exception (); - } - catch (const Hello::InternalError& ex) - { - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender:\tMyFoo Exception AMI Callback from hello:\n") - ACE_TEXT(" id <%u> error_string <%C>\n"), - ex.id, ex.error_string.in ())); - } - } - - void - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_rw_attrib ( - ::CORBA::Short rw_attrib) - { - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender:\tMyFoo AMI Callback from get_rw_attrib:") - ACE_TEXT(" result <%u>\n"), rw_attrib)); - } - - void - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_rw_attrib_excep ( - ::CCM_AMI::ExceptionHolder_ptr excep_holder) - { - excep_holder->raise_exception (); - } - - void - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::set_rw_attrib (void) - { - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender:\tMyFoo AMI Callback from ") - ACE_TEXT("set_rw_attrib.\n"))); - } - - void - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::set_rw_attrib_excep ( - ::CCM_AMI::ExceptionHolder_ptr excep_holder) - { - excep_holder->raise_exception (); - } - - void - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_ro_attrib ( - ::CORBA::Short ro_attrib) - { - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT("Sender:\tMyFoo AMI Callback from ") - ACE_TEXT("get_ro_attrib: result <%u>\n"), ro_attrib)); - } - - void - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_ro_attrib_excep ( - ::CCM_AMI::ExceptionHolder_ptr excep_holder) - { - excep_holder->raise_exception (); - } - - extern "C" HELLO_SENDER_COMP_EXEC_Export ::Components::EnterpriseComponent_ptr - create_Hello_Sender_comp_Impl (void) - { - ::Components::EnterpriseComponent_ptr retval = - ::Components::EnterpriseComponent::_nil (); - - ACE_NEW_NORETURN ( - retval, - Sender_comp_exec_i); - - return retval; - } -} diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.h b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.h deleted file mode 100644 index c297a5ed9ff..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.h +++ /dev/null @@ -1,164 +0,0 @@ -// -*- C++ -*- -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.dre.vanderbilt.edu/~schmidt/TAO.html - **/ -#ifndef CIAO_______GENERATEDCODE_HELLO_SENDER_COMP_EXEC_WFK79V_H_ -#define CIAO_______GENERATEDCODE_HELLO_SENDER_COMP_EXEC_WFK79V_H_ - -#include /**/ "ace/pre.h" - -#include "Hello_Sender_compEC.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include /**/ "Hello_Sender_comp_exec_export.h" -#include "tao/LocalObject.h" -#include "ace/Task.h" - -namespace CIAO_Hello_Sender_comp_Impl -{ - - /// Worker thread for asynchronous invocations - class asynch_foo_generator : public virtual ACE_Task_Base - { - public: - asynch_foo_generator (::Hello::CCM_Sender_comp_Context_ptr context); - - virtual int svc (void); - - private: - ::Hello::CCM_Sender_comp_Context_var context_; - }; - - /// Worker thread for synchronous invocations - class synch_foo_generator : public virtual ACE_Task_Base - { - public: - synch_foo_generator (::Hello::CCM_Sender_comp_Context_ptr context); - - virtual int svc (void); - - private: - ::Hello::CCM_Sender_comp_Context_var context_; - }; - - //============================================================ - // Component Executor Implementation Class: Sender_comp_exec_i - //============================================================ - - class Sender_comp_exec_i - : public virtual Sender_comp_Exec, - public virtual ::CORBA::LocalObject - { - public: - Sender_comp_exec_i (void); - virtual ~Sender_comp_exec_i (void); - - //@{ - /** Supported operations and attributes. */ - - //@} - - //@{ - /** Component attributes and port operations. *///@} - - //@{ - /** Operations from Components::SessionComponent. */ - - virtual void set_session_context (::Components::SessionContext_ptr ctx); - - virtual void configuration_complete (void); - - virtual void ccm_activate (void); - virtual void ccm_passivate (void); - virtual void ccm_remove (void); - //@} - - //@{ - /** User defined operations */ - asynch_foo_generator* asynch_foo_gen; - synch_foo_generator* synch_foo_gen; - //@} - - private: - ::Hello::CCM_Sender_comp_Context_var ciao_context_; - }; - - class AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i - : public ::Hello::CCM_AMI4CCM_MyFoo_objReplyHandler, - public virtual ::CORBA::LocalObject - { - public: - AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void); - virtual ~AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void); - - virtual void - foo ( - ::CORBA::Long ami_return_val, - const char * answer); - - virtual void - foo_excep ( - ::CCM_AMI::ExceptionHolder_ptr excep_holder); - - virtual void - hello ( - ::CORBA::Long answer); - - virtual void - hello_excep ( - ::CCM_AMI::ExceptionHolder_ptr excep_holder); - - virtual void - get_rw_attrib ( - ::CORBA::Short rw_attrib); - - virtual void - get_rw_attrib_excep ( - ::CCM_AMI::ExceptionHolder_ptr excep_holder); - - virtual void - set_rw_attrib (void); - - virtual void - set_rw_attrib_excep ( - ::CCM_AMI::ExceptionHolder_ptr excep_holder); - - virtual void - get_ro_attrib ( - ::CORBA::Short ro_attrib); - - virtual void - get_ro_attrib_excep ( - ::CCM_AMI::ExceptionHolder_ptr excep_holder); - }; - - extern "C" HELLO_SENDER_COMP_EXEC_Export ::Components::EnterpriseComponent_ptr - create_Hello_Sender_comp_Impl (void); - } - -#include /**/ "ace/post.h" - -#endif /* ifndef */ diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM.emx b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM.emx deleted file mode 100644 index 06d0d094491..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM.emx +++ /dev/null @@ -1,398 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!--xtools2_universal_type_manager--> -<?com.ibm.xtools.emf.core.signature <signature id="com.ibm.xtools.mmi.ui.signatures.diagram" version="7.0.0"><feature description="" name="Rational Modeling Platform (com.ibm.xtools.rmp)" url="" version="7.0.0"/></signature>?> -<?com.ibm.xtools.emf.core.signature <signature id="com.ibm.xtools.uml.msl.model" version="7.0.0"><feature description="" name="com.ibm.xtools.ruml.feature" url="" version="7.0.0"/></signature>?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dds4ccm="http://www.zeligsoft.com/domain/dds4ccm/2010/DDS4CCM/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.1/notation" xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML" xmlns:umlnotation="http://www.ibm.com/xtools/1.5.2/Umlnotation" xsi:schemaLocation="http://www.zeligsoft.com/domain/dds4ccm/2010/DDS4CCM/1 pathmap://DDS4CCM_PROFILES/dds4ccm.profile.uml#_g0KtJkDZEd-LnsQ685SqSQ"> - <uml:Model xmi:id="_jkiX8J4JEd6xhoJKj1dweA" name="AMI4CCM"> - <eAnnotations xmi:id="_jkiX8Z4JEd6xhoJKj1dweA" source="uml2.diagrams"/> - <packageImport xmi:id="_Fg29cLNIEd66L-pSY5VQBg"> - <importedPackage xmi:type="uml:Model" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_DO-O0EDsEd-pwPnT_VsB_g"/> - </packageImport> - <packageImport xmi:id="_qP7wMKCXEd-JsdVwG9CGtA"> - <importedPackage xmi:type="uml:Model" href="pathmap://DDS4CCM_AMI_LIBRARIES/CCM_AMI.uml#_jkiX8J4JEd6xhoJKj1dweA"/> - </packageImport> - <packageImport xmi:id="_spjS8KCXEd-JsdVwG9CGtA"> - <importedPackage xmi:type="uml:Model" href="pathmap://DDS4CCM_DCPS_CONNECTOR_LIBRARIES/DDS_DCPS.uml#_jkiX8J4JEd6xhoJKj1dweA"/> - </packageImport> - <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_av6YA6CXEd-JsdVwG9CGtA" name="modelConfiguration"> - <classifier xmi:type="uml:Class" href="pathmap://ZML_LIBRARIES/ZML_C_Build.library.uml#_oDc5oKULEd2lg4YL0MvrHw"/> - <slot xmi:id="_av6YBKCXEd-JsdVwG9CGtA"> - <definingFeature xmi:type="uml:Property" href="pathmap://ZML_LIBRARIES/ZML_C_Build.library.uml#_qzbt8KULEd2lg4YL0MvrHw"/> - <value xmi:type="uml:LiteralString" xmi:id="_av6YBaCXEd-JsdVwG9CGtA" value="Hello"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </value> - </slot> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_xlawAKCXEd-JsdVwG9CGtA" name="Hello"> - <packagedElement xmi:type="uml:Package" xmi:id="_7pF0YKCXEd-JsdVwG9CGtA" name="Hello"> - <packagedElement xmi:type="uml:Package" xmi:id="_-coTAKCXEd-JsdVwG9CGtA" name="Hello_asm"> - <packagedElement xmi:type="uml:Package" xmi:id="__4aUgKCXEd-JsdVwG9CGtA" name="Deployment"> - <packagedElement xmi:type="uml:Package" xmi:id="_lhumYL28Ed-YGujHQXAQXw" name="descriptors"/> - <packagedElement xmi:type="uml:Package" xmi:id="_mp2sEL28Ed-YGujHQXAQXw" name="scripts"/> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_AyFHcKCYEd-JsdVwG9CGtA" name="doc"> - <packagedElement xmi:type="uml:Component" xmi:id="_xvfvYLC5Ed-2N7mfPK6MYw" name="Hello_asm"> - <eAnnotations xmi:id="_0VfhQLC5Ed-2N7mfPK6MYw" source="uml2.diagrams"> - <contents xmi:type="notation:Diagram" xmi:id="_0VfhQbC5Ed-2N7mfPK6MYw" type="Zeligsoft Component" element="_xvfvYLC5Ed-2N7mfPK6MYw" name="Hello_asm_di" measurementUnit="Himetric"> - <children xmi:id="_2YLKsLC5Ed-2N7mfPK6MYw"> - <children xmi:id="_2YLKs7C5Ed-2N7mfPK6MYw" type="ImageCompartment"> - <layoutConstraint xmi:type="notation:Size" xmi:id="_2YLKtLC5Ed-2N7mfPK6MYw" width="1320" height="1320"/> - </children> - <children xmi:id="_2YLKtbC5Ed-2N7mfPK6MYw" type="Stereotype"/> - <children xmi:id="_2YLKtrC5Ed-2N7mfPK6MYw" type="Kind"/> - <children xmi:id="_2YLKt7C5Ed-2N7mfPK6MYw" type="Name"/> - <children xmi:id="_2YLKuLC5Ed-2N7mfPK6MYw" type="Parent"/> - <children xmi:id="_2YLKubC5Ed-2N7mfPK6MYw" type="AttributeCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_2YLKurC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_2YLKu7C5Ed-2N7mfPK6MYw" visible="false" type="OperationCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_2YLKvLC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_2YLKvbC5Ed-2N7mfPK6MYw" visible="false" type="RealizationListCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_2YLKvrC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_2YLKv7C5Ed-2N7mfPK6MYw" visible="false" type="RequiredInterfaceListCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_2YLKwLC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_2YLKwbC5Ed-2N7mfPK6MYw" visible="false" type="ProvidedInterfaceListCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_2YLKwrC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_2YLKw7C5Ed-2N7mfPK6MYw" visible="false" type="StructureCompartment"> - <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_2YLKxLC5Ed-2N7mfPK6MYw"/> - </children> - <styles xmi:type="umlnotation:UMLComponentStyle" xmi:id="_2YLKsbC5Ed-2N7mfPK6MYw" showListStereotype="None" showWhiteBox="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2YLKsrC5Ed-2N7mfPK6MYw" x="6340" y="2853" width="5103" height="2301"/> - </children> - <children xmi:id="_4KnYsLC5Ed-2N7mfPK6MYw" element="_4KUdwLC5Ed-2N7mfPK6MYw"> - <children xmi:id="_4KnYs7C5Ed-2N7mfPK6MYw" type="ImageCompartment"> - <layoutConstraint xmi:type="notation:Size" xmi:id="_4KnYtLC5Ed-2N7mfPK6MYw" width="1320" height="1320"/> - </children> - <children xmi:id="_4KnYtbC5Ed-2N7mfPK6MYw" type="Stereotype"/> - <children xmi:id="_4KnYtrC5Ed-2N7mfPK6MYw" type="Kind"/> - <children xmi:id="_4KnYt7C5Ed-2N7mfPK6MYw" type="Name"/> - <children xmi:id="_4KnYuLC5Ed-2N7mfPK6MYw" type="Parent"/> - <children xmi:id="_4KnYubC5Ed-2N7mfPK6MYw" visible="false" type="AttributeCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_4KnYurC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_4KnYu7C5Ed-2N7mfPK6MYw" visible="false" type="OperationCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_4KnYvLC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_4KxJsLC5Ed-2N7mfPK6MYw" visible="false" type="RealizationListCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_4KxJsbC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_4KxJsrC5Ed-2N7mfPK6MYw" visible="false" type="RequiredInterfaceListCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_4KxJs7C5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_4KxJtLC5Ed-2N7mfPK6MYw" visible="false" type="ProvidedInterfaceListCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_4KxJtbC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_4KxJtrC5Ed-2N7mfPK6MYw" visible="false" type="StructureCompartment"> - <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_4KxJt7C5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_4KxJuLC5Ed-2N7mfPK6MYw" visible="false" type="PortOperationsListCompartment"> - <styles xmi:type="notation:DrawerStyle" xmi:id="_4KxJubC5Ed-2N7mfPK6MYw"/> - <styles xmi:type="notation:TitleStyle" xmi:id="_4KxJurC5Ed-2N7mfPK6MYw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_4KxJu7C5Ed-2N7mfPK6MYw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_4KxJvLC5Ed-2N7mfPK6MYw"/> - </children> - <styles xmi:type="umlnotation:UMLComponentStyle" xmi:id="_4KnYsbC5Ed-2N7mfPK6MYw" showListStereotype="None" showWhiteBox="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4KnYsrC5Ed-2N7mfPK6MYw" x="6340" y="6340" width="5156" height="1613"/> - </children> - <styles xmi:type="notation:DiagramStyle" xmi:id="_0VfhQrC5Ed-2N7mfPK6MYw"/> - <edges xmi:id="_785-kbC5Ed-2N7mfPK6MYw" element="_785-kLC5Ed-2N7mfPK6MYw" source="_4KnYsLC5Ed-2N7mfPK6MYw" target="_2YLKsLC5Ed-2N7mfPK6MYw"> - <children xmi:id="_785-lLC5Ed-2N7mfPK6MYw" type="NameLabel"> - <children xmi:id="_785-lrC5Ed-2N7mfPK6MYw" type="Stereotype"/> - <children xmi:id="_785-l7C5Ed-2N7mfPK6MYw" type="Name"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_785-lbC5Ed-2N7mfPK6MYw" y="-186"/> - </children> - <styles xmi:type="umlnotation:UMLConnectorStyle" xmi:id="_785-krC5Ed-2N7mfPK6MYw" showStereotype="Text"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_785-k7C5Ed-2N7mfPK6MYw" points="[-2, -30, -1, 89]$[-5, -77, -4, 42]"/> - </edges> - </contents> - </eAnnotations> - <packagedElement xmi:type="uml:Component" xmi:id="_4KUdwLC5Ed-2N7mfPK6MYw" name="Hello_asm"> - <eAnnotations xmi:id="_Bxl6ALC6Ed-2N7mfPK6MYw" source="uml2.diagrams"> - <contents xmi:type="notation:Diagram" xmi:id="_Bxl6AbC6Ed-2N7mfPK6MYw" type="Structure" element="_4KUdwLC5Ed-2N7mfPK6MYw" name="Hello_asm_sd" measurementUnit="Himetric"> - <children xmi:id="_Bxl6ArC6Ed-2N7mfPK6MYw" type="StructureDiagramFrame" element="_4KUdwLC5Ed-2N7mfPK6MYw"> - <children xmi:id="_Bxl6A7C6Ed-2N7mfPK6MYw" type="StructureCompartment"> - <children xmi:id="_HCzU8LC6Ed-2N7mfPK6MYw" element="_HCgaALC6Ed-2N7mfPK6MYw"> - <eAnnotations xmi:id="_HCzU87C6Ed-2N7mfPK6MYw" source="com.ibm.xtools.uml.ui.diagram.internal.styles"> - <details xmi:id="_HCzU9LC6Ed-2N7mfPK6MYw" key="ShowTypeLabelStyle" value="Represents Name Only"/> - </eAnnotations> - <children xmi:id="_HCzU9bC6Ed-2N7mfPK6MYw" type="ImageCompartment"> - <layoutConstraint xmi:type="notation:Size" xmi:id="_HCzU9rC6Ed-2N7mfPK6MYw" width="1320" height="1320"/> - </children> - <children xmi:id="_HCzU97C6Ed-2N7mfPK6MYw" type="PartTextCompartment"/> - <children xmi:id="_HCzU-LC6Ed-2N7mfPK6MYw" visible="false" type="PartStructureCompartment"> - <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_HCzU-bC6Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_HDQA4LC6Ed-2N7mfPK6MYw" element="_RkmVMLC5Ed-2N7mfPK6MYw"> - <eAnnotations xmi:id="_HDQA47C6Ed-2N7mfPK6MYw" source="com.ibm.xtools.uml.ui.diagram.internal.styles"> - <details xmi:id="_HDQA5LC6Ed-2N7mfPK6MYw" key="ShowTypeLabelStyle" value="Represents Name Only"/> - </eAnnotations> - <children xmi:id="_HDQA5bC6Ed-2N7mfPK6MYw" type="PortName"> - <children xmi:id="_HDQA57C6Ed-2N7mfPK6MYw" type="PartTextCompartment"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HDQA5rC6Ed-2N7mfPK6MYw" x="-1016" y="845"/> - </children> - <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_HDQA4bC6Ed-2N7mfPK6MYw" fontHeight="8" showListStereotype="None" showListVisibility="None" showListSignature="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HDQA4rC6Ed-2N7mfPK6MYw" x="-238" y="951"/> - </children> - <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_HCzU8bC6Ed-2N7mfPK6MYw" showListStereotype="None" showListVisibility="None" showListSignature="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HCzU8rC6Ed-2N7mfPK6MYw" x="9536" y="923" width="4204" height="2616"/> - </children> - <children xmi:id="_H9zkoLC6Ed-2N7mfPK6MYw" element="_H9qasLC6Ed-2N7mfPK6MYw"> - <eAnnotations xmi:id="_H9zko7C6Ed-2N7mfPK6MYw" source="com.ibm.xtools.uml.ui.diagram.internal.styles"> - <details xmi:id="_H9zkpLC6Ed-2N7mfPK6MYw" key="ShowTypeLabelStyle" value="Represents Name Only"/> - </eAnnotations> - <children xmi:id="_H9zkpbC6Ed-2N7mfPK6MYw" type="ImageCompartment"> - <layoutConstraint xmi:type="notation:Size" xmi:id="_H9zkprC6Ed-2N7mfPK6MYw" width="1320" height="1320"/> - </children> - <children xmi:id="_H9zkp7C6Ed-2N7mfPK6MYw" type="PartTextCompartment"/> - <children xmi:id="_H9zkqLC6Ed-2N7mfPK6MYw" visible="false" type="PartStructureCompartment"> - <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_H9zkqbC6Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_H9zkqrC6Ed-2N7mfPK6MYw" element="_kF_MwLC5Ed-2N7mfPK6MYw"> - <eAnnotations xmi:id="_H9zkrbC6Ed-2N7mfPK6MYw" source="com.ibm.xtools.uml.ui.diagram.internal.styles"> - <details xmi:id="_H9zkrrC6Ed-2N7mfPK6MYw" key="ShowTypeLabelStyle" value="Represents Name Only"/> - </eAnnotations> - <children xmi:id="_H9zkr7C6Ed-2N7mfPK6MYw" type="PortName"> - <children xmi:id="_H9zksbC6Ed-2N7mfPK6MYw" type="PartTextCompartment"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H9zksLC6Ed-2N7mfPK6MYw" x="1594" y="-423"/> - </children> - <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_H9zkq7C6Ed-2N7mfPK6MYw" fontHeight="8" showListStereotype="None" showListVisibility="None" showListSignature="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H9zkrLC6Ed-2N7mfPK6MYw" x="3862" y="951"/> - </children> - <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_H9zkobC6Ed-2N7mfPK6MYw" showListStereotype="None" showListVisibility="None" showListSignature="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H9zkorC6Ed-2N7mfPK6MYw" x="660" y="923" width="4205" height="2563"/> - </children> - <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_Bxl6BLC6Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_Bxl6BbC6Ed-2N7mfPK6MYw" type="Name"/> - <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_Bxl6BrC6Ed-2N7mfPK6MYw" showListStereotype="None"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Bxl6B7C6Ed-2N7mfPK6MYw" x="793" y="793" width="14523" height="5582"/> - </children> - <styles xmi:type="umlnotation:UMLDiagramStyle" xmi:id="_Bxl6CLC6Ed-2N7mfPK6MYw"/> - <edges xmi:id="_WTkwULC6Ed-2N7mfPK6MYw" element="_WS1JcLC6Ed-2N7mfPK6MYw" source="_H9zkqrC6Ed-2N7mfPK6MYw" target="_HDQA4LC6Ed-2N7mfPK6MYw"> - <children xmi:id="_WTkwU7C6Ed-2N7mfPK6MYw" visible="false" type="NameLabel"> - <children xmi:id="_WTkwVbC6Ed-2N7mfPK6MYw" type="Stereotype"/> - <children xmi:id="_WTkwVrC6Ed-2N7mfPK6MYw" type="Name"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WTkwVLC6Ed-2N7mfPK6MYw" y="-186"/> - </children> - <children xmi:id="_WT3rQLC6Ed-2N7mfPK6MYw" visible="false" type="ToMultiplicityLabel" element="_WS1JcrC6Ed-2N7mfPK6MYw"> - <children xmi:id="_WT3rQrC6Ed-2N7mfPK6MYw" type="ToMultiplicity"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WT3rQbC6Ed-2N7mfPK6MYw" y="396"/> - </children> - <children xmi:id="_WUBcQLC6Ed-2N7mfPK6MYw" visible="false" type="FromMultiplicityLabel" element="_WS1JcbC6Ed-2N7mfPK6MYw"> - <children xmi:id="_WUBcQrC6Ed-2N7mfPK6MYw" type="FromMultiplicity"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WUBcQbC6Ed-2N7mfPK6MYw" y="396"/> - </children> - <styles xmi:type="umlnotation:UMLConnectorStyle" xmi:id="_WTkwUbC6Ed-2N7mfPK6MYw" showStereotype="Text"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_WTkwUrC6Ed-2N7mfPK6MYw" points="[4, 1, -91, 1]$[96, -7, 1, -7]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WUBcQ7C6Ed-2N7mfPK6MYw" id="(0.7920168,0.40546218)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WUBcRLC6Ed-2N7mfPK6MYw" id="(0.035714287,0.40546218)"/> - </edges> - </contents> - </eAnnotations> - <generalization xmi:id="_785-kLC5Ed-2N7mfPK6MYw" general="_xvfvYLC5Ed-2N7mfPK6MYw"/> - <ownedAttribute xmi:id="_HCgaALC6Ed-2N7mfPK6MYw" name="Receiver_comp" visibility="private" type="_vf9yMLC4Ed-2N7mfPK6MYw" aggregation="composite"/> - <ownedAttribute xmi:id="_H9qasLC6Ed-2N7mfPK6MYw" name="Sender_comp" visibility="private" type="_ftZb4LC5Ed-2N7mfPK6MYw" aggregation="composite"/> - <ownedConnector xmi:id="_WS1JcLC6Ed-2N7mfPK6MYw" name="CCMConnector" kind="assembly"> - <end xmi:id="_WS1JcbC6Ed-2N7mfPK6MYw" partWithPort="_H9qasLC6Ed-2N7mfPK6MYw" role="_kF_MwLC5Ed-2N7mfPK6MYw"/> - <end xmi:id="_WS1JcrC6Ed-2N7mfPK6MYw" partWithPort="_HCgaALC6Ed-2N7mfPK6MYw" role="_RkmVMLC5Ed-2N7mfPK6MYw"/> - </ownedConnector> - </packagedElement> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_BxQFcKCYEd-JsdVwG9CGtA" name="ports"> - <packagedElement xmi:type="uml:Package" xmi:id="_Jo4JAKCYEd-JsdVwG9CGtA" name="Common_defn"> - <packagedElement xmi:type="uml:DataType" xmi:id="_NMQwMKCYEd-JsdVwG9CGtA" name="InternalError"> - <ownedAttribute xmi:id="_5aS2QKTkEd-OipzO3UN3WQ" name="id" visibility="public"> - <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_1P6OkExQEd2INdt7Ch5VKg"/> - </ownedAttribute> - <ownedAttribute xmi:id="_Lz648KTlEd-OipzO3UN3WQ" name="error_string" visibility="public"> - <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_-n1nQExQEd2INdt7Ch5VKg"/> - </ownedAttribute> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Interface" xmi:id="_kNQbUKTlEd-OipzO3UN3WQ" name="MyFoo_obj"> - <ownedAttribute xmi:id="_fp6U8LC3Ed-2N7mfPK6MYw" name="rw_attrib" visibility="public"> - <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_83uJ8ExPEd2INdt7Ch5VKg"/> - </ownedAttribute> - <ownedAttribute xmi:id="_K8oYILC4Ed-2N7mfPK6MYw" name="ro_attrib" visibility="public" isReadOnly="true"> - <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_83uJ8ExPEd2INdt7Ch5VKg"/> - </ownedAttribute> - <ownedOperation xmi:id="_0yV-QKTlEd-OipzO3UN3WQ" name="foo" raisedException="_NMQwMKCYEd-JsdVwG9CGtA"> - <ownedParameter xmi:id="_QM7EEKTmEd-OipzO3UN3WQ" name="in_str"> - <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_-n1nQExQEd2INdt7Ch5VKg"/> - </ownedParameter> - <ownedParameter xmi:id="_pLfOULC2Ed-2N7mfPK6MYw" name="answer" direction="out"> - <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_-n1nQExQEd2INdt7Ch5VKg"/> - </ownedParameter> - <ownedParameter xmi:id="_5mwt8LC2Ed-2N7mfPK6MYw" name="Parameter1" direction="return"> - <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_1P6OkExQEd2INdt7Ch5VKg"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_JvaMgLC3Ed-2N7mfPK6MYw" name="hello" raisedException="_NMQwMKCYEd-JsdVwG9CGtA"> - <ownedParameter xmi:id="_MvVhULC3Ed-2N7mfPK6MYw" name="answer" direction="out"> - <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_1P6OkExQEd2INdt7Ch5VKg"/> - </ownedParameter> - </ownedOperation> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_DqrsQKCYEd-JsdVwG9CGtA" name="Receiver_comp"> - <packagedElement xmi:type="uml:Package" xmi:id="_j6MB4LC4Ed-2N7mfPK6MYw" name="src"> - <packagedElement xmi:type="uml:Component" xmi:id="_vf9yMLC4Ed-2N7mfPK6MYw" name="Receiver_comp"> - <eAnnotations xmi:id="_AbIS0LC5Ed-2N7mfPK6MYw" source="uml2.diagrams"> - <contents xmi:type="notation:Diagram" xmi:id="_AbIS0bC5Ed-2N7mfPK6MYw" type="Zeligsoft Component" element="_vf9yMLC4Ed-2N7mfPK6MYw" name="Receiver_comp_di" measurementUnit="Himetric"> - <children xmi:id="_HjZ9ELC5Ed-2N7mfPK6MYw"> - <children xmi:id="_HjjHALC5Ed-2N7mfPK6MYw" type="ImageCompartment"> - <layoutConstraint xmi:type="notation:Size" xmi:id="_HjjHAbC5Ed-2N7mfPK6MYw" width="1320" height="1320"/> - </children> - <children xmi:id="_HjjHArC5Ed-2N7mfPK6MYw" type="Stereotype"/> - <children xmi:id="_HjjHA7C5Ed-2N7mfPK6MYw" type="Kind"/> - <children xmi:id="_HjjHBLC5Ed-2N7mfPK6MYw" type="Name"/> - <children xmi:id="_HjjHBbC5Ed-2N7mfPK6MYw" type="Parent"/> - <children xmi:id="_HjjHBrC5Ed-2N7mfPK6MYw" type="AttributeCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_HjjHB7C5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_HjjHCLC5Ed-2N7mfPK6MYw" visible="false" type="OperationCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_HjjHCbC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_HjjHCrC5Ed-2N7mfPK6MYw" visible="false" type="RealizationListCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_HjjHC7C5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_HjjHDLC5Ed-2N7mfPK6MYw" visible="false" type="RequiredInterfaceListCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_HjjHDbC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_Hjs4ALC5Ed-2N7mfPK6MYw" visible="false" type="ProvidedInterfaceListCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_Hjs4AbC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_Hjs4ArC5Ed-2N7mfPK6MYw" visible="false" type="StructureCompartment"> - <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_Hjs4A7C5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_RkwGMLC5Ed-2N7mfPK6MYw" element="_RkmVMLC5Ed-2N7mfPK6MYw"> - <eAnnotations xmi:id="_RkwGM7C5Ed-2N7mfPK6MYw" source="com.ibm.xtools.uml.ui.diagram.internal.styles"> - <details xmi:id="_RlDBILC5Ed-2N7mfPK6MYw" key="ShowTypeLabelStyle" value="Represents Name and Type Name"/> - </eAnnotations> - <children xmi:id="_RlDBIbC5Ed-2N7mfPK6MYw" type="PortName"> - <children xmi:id="_RlDBI7C5Ed-2N7mfPK6MYw" type="PartTextCompartment"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RlDBIrC5Ed-2N7mfPK6MYw" y="-133"/> - </children> - <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_RkwGMbC5Ed-2N7mfPK6MYw" fontHeight="8" showListStereotype="None" showListVisibility="None" showListSignature="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RkwGMrC5Ed-2N7mfPK6MYw" x="4893" y="1268"/> - </children> - <styles xmi:type="umlnotation:UMLComponentStyle" xmi:id="_HjZ9EbC5Ed-2N7mfPK6MYw" showListStereotype="None" showWhiteBox="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HjZ9ErC5Ed-2N7mfPK6MYw" x="4121" y="3170" width="5236" height="2539"/> - </children> - <styles xmi:type="notation:DiagramStyle" xmi:id="_AbIS0rC5Ed-2N7mfPK6MYw"/> - </contents> - </eAnnotations> - <ownedAttribute xmi:type="uml:Port" xmi:id="_RkmVMLC5Ed-2N7mfPK6MYw" name="do_my_foo" visibility="public" type="_kNQbUKTlEd-OipzO3UN3WQ" aggregation="composite"/> - </packagedElement> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_ExBCMKCYEd-JsdVwG9CGtA" name="Sender_comp"> - <packagedElement xmi:type="uml:Package" xmi:id="_mb3UcLC4Ed-2N7mfPK6MYw" name="src"> - <packagedElement xmi:type="uml:Component" xmi:id="_ftZb4LC5Ed-2N7mfPK6MYw" name="Sender_comp"> - <eAnnotations xmi:id="_hYr5ALC5Ed-2N7mfPK6MYw" source="uml2.diagrams"> - <contents xmi:type="notation:Diagram" xmi:id="_hYr5AbC5Ed-2N7mfPK6MYw" type="Zeligsoft Component" element="_ftZb4LC5Ed-2N7mfPK6MYw" name="Sender_comp_di" measurementUnit="Himetric"> - <children xmi:id="_iuEXkLC5Ed-2N7mfPK6MYw"> - <children xmi:id="_iuEXk7C5Ed-2N7mfPK6MYw" type="ImageCompartment"> - <layoutConstraint xmi:type="notation:Size" xmi:id="_iuEXlLC5Ed-2N7mfPK6MYw" width="1320" height="1320"/> - </children> - <children xmi:id="_iuEXlbC5Ed-2N7mfPK6MYw" type="Stereotype"/> - <children xmi:id="_iuEXlrC5Ed-2N7mfPK6MYw" type="Kind"/> - <children xmi:id="_iuEXl7C5Ed-2N7mfPK6MYw" type="Name"/> - <children xmi:id="_iuOIkLC5Ed-2N7mfPK6MYw" type="Parent"/> - <children xmi:id="_iuOIkbC5Ed-2N7mfPK6MYw" type="AttributeCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_iuOIkrC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_iuOIk7C5Ed-2N7mfPK6MYw" visible="false" type="OperationCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_iuOIlLC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_iuOIlbC5Ed-2N7mfPK6MYw" visible="false" type="RealizationListCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_iuOIlrC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_iuOIl7C5Ed-2N7mfPK6MYw" visible="false" type="RequiredInterfaceListCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_iuOImLC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_iuOImbC5Ed-2N7mfPK6MYw" visible="false" type="ProvidedInterfaceListCompartment"> - <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_iuOImrC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_iuOIm7C5Ed-2N7mfPK6MYw" visible="false" type="StructureCompartment"> - <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_iuOInLC5Ed-2N7mfPK6MYw"/> - </children> - <children xmi:id="_kGI9wLC5Ed-2N7mfPK6MYw" element="_kF_MwLC5Ed-2N7mfPK6MYw"> - <eAnnotations xmi:id="_kGI9w7C5Ed-2N7mfPK6MYw" source="com.ibm.xtools.uml.ui.diagram.internal.styles"> - <details xmi:id="_kGI9xLC5Ed-2N7mfPK6MYw" key="ShowTypeLabelStyle" value="Represents Name and Type Name"/> - </eAnnotations> - <children xmi:id="_kGI9xbC5Ed-2N7mfPK6MYw" type="PortName"> - <children xmi:id="_kGI9x7C5Ed-2N7mfPK6MYw" type="PartTextCompartment"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kGI9xrC5Ed-2N7mfPK6MYw" y="-133"/> - </children> - <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_kGI9wbC5Ed-2N7mfPK6MYw" fontHeight="8" showListStereotype="None" showListVisibility="None" showListSignature="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kGI9wrC5Ed-2N7mfPK6MYw" x="5448" y="1685"/> - </children> - <styles xmi:type="umlnotation:UMLComponentStyle" xmi:id="_iuEXkbC5Ed-2N7mfPK6MYw" showListStereotype="None" showWhiteBox="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iuEXkrC5Ed-2N7mfPK6MYw" x="6985" y="4021" width="5791" height="3306"/> - </children> - <styles xmi:type="notation:DiagramStyle" xmi:id="_hYr5ArC5Ed-2N7mfPK6MYw"/> - </contents> - </eAnnotations> - <ownedAttribute xmi:type="uml:Port" xmi:id="_kF_MwLC5Ed-2N7mfPK6MYw" name="run_my_foo" visibility="public" type="_kNQbUKTlEd-OipzO3UN3WQ" aggregation="composite"/> - </packagedElement> - </packagedElement> - </packagedElement> - </packagedElement> - </packagedElement> - </packagedElement> - <profileApplication xmi:id="_jkiX854JEd6xhoJKj1dweA"> - <eAnnotations xmi:id="_jkiX9J4JEd6xhoJKj1dweA" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbnfB2L_5w"/> - </eAnnotations> - <appliedProfile href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> - </profileApplication> - <profileApplication xmi:id="_jkiX9Z4JEd6xhoJKj1dweA"> - <eAnnotations xmi:id="_jkiX9p4JEd6xhoJKj1dweA" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="pathmap://UML2_MSL_PROFILES/Default.epx#_IN8k8MmBEdqBcN1R6EvWUw?Default/Default?"/> - </eAnnotations> - <appliedProfile href="pathmap://UML2_MSL_PROFILES/Default.epx#_a_S3wNWLEdiy4IqP8whjFA?Default?"/> - </profileApplication> - <profileApplication xmi:id="_jkiX954JEd6xhoJKj1dweA"> - <eAnnotations xmi:id="_jkiX-J4JEd6xhoJKj1dweA" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="pathmap://UML2_MSL_PROFILES/Deployment.epx#_IrdAUMmBEdqBcN1R6EvWUw?Deployment/Deployment?"/> - </eAnnotations> - <appliedProfile href="pathmap://UML2_MSL_PROFILES/Deployment.epx#_vjbuwOvHEdiDX5bji0iVSA?Deployment?"/> - </profileApplication> - <profileApplication xmi:id="_1KTJYJ44Ed6CdqU5qRn9Dw"> - <eAnnotations xmi:id="_1Kc6YJ44Ed6CdqU5qRn9Dw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="pathmap://DDS4CCM_PROFILES/dds4ccm.profile.uml#_g0KtJkDZEd-LnsQ685SqSQ"/> - </eAnnotations> - <appliedProfile href="pathmap://DDS4CCM_PROFILES/dds4ccm.profile.uml#_g0KssEDZEd-LnsQ685SqSQ"/> - </profileApplication> - </uml:Model> - <dds4ccm:DDS4CCMModel xmi:id="_avm14KCXEd-JsdVwG9CGtA" base_Model="_jkiX8J4JEd6xhoJKj1dweA"/> - <dds4ccm:CORBAModule xmi:id="_7pPlYKCXEd-JsdVwG9CGtA" base_NamedElement="_7pF0YKCXEd-JsdVwG9CGtA" base_Package="_7pF0YKCXEd-JsdVwG9CGtA"/> - <dds4ccm:CORBAException xmi:id="_NMQwMaCYEd-JsdVwG9CGtA" base_NamedElement="_NMQwMKCYEd-JsdVwG9CGtA" base_DataType="_NMQwMKCYEd-JsdVwG9CGtA"/> - <dds4ccm:CORBAField xmi:id="_sa4IUaCYEd-LU7rF-Ly4Ng"/> - <dds4ccm:CORBAField xmi:id="_SN4agaCZEd-qefmjurhCmQ"/> - <dds4ccm:CORBAField xmi:id="_5bLnEKTkEd-OipzO3UN3WQ" base_NamedElement="_5aS2QKTkEd-OipzO3UN3WQ" base_Property="_5aS2QKTkEd-OipzO3UN3WQ"/> - <dds4ccm:CORBAField xmi:id="_L0Ep8KTlEd-OipzO3UN3WQ" base_NamedElement="_Lz648KTlEd-OipzO3UN3WQ" base_Property="_Lz648KTlEd-OipzO3UN3WQ"/> - <dds4ccm:CORBAInterface xmi:id="_kNQbUaTlEd-OipzO3UN3WQ" base_Interface="_kNQbUKTlEd-OipzO3UN3WQ" base_NamedElement="_kNQbUKTlEd-OipzO3UN3WQ"/> - <dds4ccm:CORBAOperation xmi:id="_0yV-QaTlEd-OipzO3UN3WQ" base_NamedElement="_0yV-QKTlEd-OipzO3UN3WQ" base_Operation="_0yV-QKTlEd-OipzO3UN3WQ"/> - <dds4ccm:CORBAParameter xmi:id="_QM7EEaTmEd-OipzO3UN3WQ" base_NamedElement="_QM7EEKTmEd-OipzO3UN3WQ" base_Parameter="_QM7EEKTmEd-OipzO3UN3WQ"/> - <dds4ccm:CORBAParameter xmi:id="_pLoYQLC2Ed-2N7mfPK6MYw" base_NamedElement="_pLfOULC2Ed-2N7mfPK6MYw" base_Parameter="_pLfOULC2Ed-2N7mfPK6MYw"/> - <dds4ccm:CORBAOperation xmi:id="_Jvj9gLC3Ed-2N7mfPK6MYw" base_NamedElement="_JvaMgLC3Ed-2N7mfPK6MYw" base_Operation="_JvaMgLC3Ed-2N7mfPK6MYw"/> - <dds4ccm:CORBAParameter xmi:id="_MvVhUbC3Ed-2N7mfPK6MYw" base_NamedElement="_MvVhULC3Ed-2N7mfPK6MYw" base_Parameter="_MvVhULC3Ed-2N7mfPK6MYw"/> - <dds4ccm:CORBAAttribute xmi:id="_fqzs0LC3Ed-2N7mfPK6MYw" base_NamedElement="_fp6U8LC3Ed-2N7mfPK6MYw" setraises="_NMQwMaCYEd-JsdVwG9CGtA" getraises="_NMQwMaCYEd-JsdVwG9CGtA" base_Property="_fp6U8LC3Ed-2N7mfPK6MYw"/> - <dds4ccm:CORBAAttribute xmi:id="_K8oYIbC4Ed-2N7mfPK6MYw" base_NamedElement="_K8oYILC4Ed-2N7mfPK6MYw" getraises="_NMQwMaCYEd-JsdVwG9CGtA" base_Property="_K8oYILC4Ed-2N7mfPK6MYw"/> - <dds4ccm:CCMComponent xmi:id="_vf9yMbC4Ed-2N7mfPK6MYw" base_Component="_vf9yMLC4Ed-2N7mfPK6MYw" base_NamedElement="_vf9yMLC4Ed-2N7mfPK6MYw"/> - <dds4ccm:InterfacePort xmi:id="_RkmVMbC5Ed-2N7mfPK6MYw" base_Port="_RkmVMLC5Ed-2N7mfPK6MYw"/> - <dds4ccm:CCMComponent xmi:id="_ftjM4LC5Ed-2N7mfPK6MYw" base_Component="_ftZb4LC5Ed-2N7mfPK6MYw" base_NamedElement="_ftZb4LC5Ed-2N7mfPK6MYw"/> - <dds4ccm:InterfacePort xmi:id="_kF_MwbC5Ed-2N7mfPK6MYw" base_Port="_kF_MwLC5Ed-2N7mfPK6MYw" isConjugated="true" isAsynchronous="true"/> - <dds4ccm:CCMComponent xmi:id="_xvo5ULC5Ed-2N7mfPK6MYw" base_Component="_xvfvYLC5Ed-2N7mfPK6MYw" base_NamedElement="_xvfvYLC5Ed-2N7mfPK6MYw"/> - <dds4ccm:AssemblyImplementation xmi:id="_4KUdwbC5Ed-2N7mfPK6MYw" base_Component="_4KUdwLC5Ed-2N7mfPK6MYw"/> - <dds4ccm:CCMPart xmi:id="_HCgaAbC6Ed-2N7mfPK6MYw" base_Property="_HCgaALC6Ed-2N7mfPK6MYw"/> - <dds4ccm:CCMPart xmi:id="_H9qasbC6Ed-2N7mfPK6MYw" base_Property="_H9qasLC6Ed-2N7mfPK6MYw"/> - <dds4ccm:CCMConnector xmi:id="_WS-TYLC6Ed-2N7mfPK6MYw" base_Connector="_WS1JcLC6Ed-2N7mfPK6MYw"/> -</xmi:XMI> diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM_Hello.jpg b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM_Hello.jpg Binary files differdeleted file mode 100644 index c41e0017639..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM_Hello.jpg +++ /dev/null diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.idl b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.idl deleted file mode 100644 index 21272c84699..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.idl +++ /dev/null @@ -1,17 +0,0 @@ -//============================================================================== -/// @file Hello_Common_defn.idl -//============================================================================== - -#ifndef HELLO_COMMON_DEFN_IDL -#define HELLO_COMMON_DEFN_IDL - -module Hello -{ - exception InternalError - { - long id; - string error_string; - }; -}; - -#endif diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.mpc b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.mpc deleted file mode 100644 index 91c28603c02..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.mpc +++ /dev/null @@ -1,34 +0,0 @@ -project(AMI_Hello_Tuto_defn_idl_gen) : taoidldefaults, typecode { - custom_only = 1 - idlflags += -Wb,stub_export_macro=HELLO_COMMON_DEFN_STUB_Export \ - -Wb,stub_export_include=Hello_common_defn_stub_export.h \ - -SS -Gxhst \ - -o ../GeneratedCode - - IDL_Files { - Hello_Common_defn.idl - gendir=../GeneratedCode - } -} - -project(AMI_Hello_Tuto_defn_stub) : ccm_stub, ami, ami4ccm_stub { - after += AMI_Hello_Tuto_defn_idl_gen - libpaths += ../lib - libout = ../lib - includes += ../GeneratedCode - sharedname = Hello_common_defn_stub - dynamicflags = HELLO_COMMON_DEFN_STUB_BUILD_DLL - - IDL_Files { - } - - Source_Files { - ../GeneratedCode/Hello_Common_defnC.cpp - } - - Header_Files { - ../GeneratedCode/Hello_Common_defnC.h - ../GeneratedCode/Hello_Common_defn_stub_export.h - } - -} diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.idl b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.idl deleted file mode 100644 index d1475e43d08..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.idl +++ /dev/null @@ -1,35 +0,0 @@ -//============================================================================== -/// @file Hello_MyFoo_obj.idl -//============================================================================== - -#ifndef HELLO_MYFOO_OBJ_IDL -#define HELLO_MYFOO_OBJ_IDL - -#include "Hello_Common_defn.idl" - -#pragma ciao lem "Hello_MyFoo_objE.idl" -#pragma ciao ami4ccm interface "Hello::MyFoo_obj" -#pragma ciao lem "Hello_MyFoo_objAE.idl" -//needed for 'uses multiple', not used in this example -#pragma ciao ami4ccm idl "Hello_MyFoo_objA.idl" - -module Hello -{ - // Sender/Receiver interface - interface MyFoo_obj - { - long foo (in string in_str, out string answer) - raises (InternalError); - void hello (out long answer) - raises (InternalError); - - attribute short rw_attrib - getraises (InternalError) - setraises (InternalError); - - readonly attribute short ro_attrib - raises (InternalError); - }; -}; - -#endif diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.mpc b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.mpc deleted file mode 100644 index f0b73c260d5..00000000000 --- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.mpc +++ /dev/null @@ -1,204 +0,0 @@ -project(AMI_Hello_Tuto_idl_gen) : componentidldefaults, ami, ami4ccm_stub { - after += AMI_Hello_Tuto_defn_idl_gen - custom_only = 1 - idlflags += -Wb,stub_export_macro=HELLO_MYFOO_OBJ_STUB_Export \ - -Wb,stub_export_include=Hello_MyFoo_obj_stub_export.h \ - -Wb,skel_export_macro=HELLO_MYFOO_OBJ_SKEL_Export \ - -Wb,skel_export_include=Hello_MyFoo_obj_skel_export.h \ - -Wb,conn_export_macro=HELLO_MYFOO_OBJ_CONN_Export \ - -Wb,conn_export_include=Hello_MyFoo_obj_conn_export.h \ - -Wb,exec_export_macro=HELLO_MYFOO_OBJ_EXEC_Export \ - -Wb,exec_export_include=Hello_MyFoo_obj_exec_export.h \ - -o ../GeneratedCode\ - -GM -Gxhcn - - IDL_Files { - Hello_MyFoo_obj.idl - gendir=../GeneratedCode - } -} - -project(AMI_Hello_Tuto_lem_gen) : ciaoidldefaults { - after += AMI_Hello_Tuto_idl_gen AMI_Hello_Tuto_lema_gen - custom_only = 1 - idlflags += -Wb,export_macro=HELLO_MYFOO_OBJ_LEM_STUB_Export \ - -Wb,export_include=Hello_MyFoo_obj_lem_stub_export.h \ - -I ../GeneratedCode\ - -o ../GeneratedCode\ - -SS -Gxhst - - IDL_Files { - ../GeneratedCode/Hello_MyFoo_objE.idl - gendir=../GeneratedCode - } -} - -project(AMI_Hello_Tuto_lema_gen) : ciaoidldefaults, typecode { - after += AMI_Hello_Tuto_idl_gen - custom_only = 1 - idlflags += -Wb,stub_export_macro=HELLO_MYFOO_OBJ_STUB_Export \ - -Wb,stub_export_include=Hello_MyFoo_obj_stub_export.h \ - -Wb,conn_export_macro=HELLO_MYFOO_OBJ_CONN_Export \ - -Wb,conn_export_include=Hello_MyFoo_obj_conn_export.h \ - -Wb,svnt_export_macro=HELLO_MYFOO_OBJ_SVNT_Export \ - -Wb,svnt_export_include=Hello_MyFoo_obj_svnt_export.h \ - -Wb,skel_export_macro=HELLO_MYFOO_OBJ_SKEL_Export \ - -Wb,skel_export_include=Hello_MyFoo_obj_skel_export.h \ - -I ../GeneratedCode\ - -o ../GeneratedCode\ - -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv - - IDL_Files { - ../GeneratedCode/Hello_MyFoo_objA.idl - gendir=../GeneratedCode - } -} - -project(AMI_Hello_Tuto_lemae_gen) : ciaoidldefaults { - after += AMI_Hello_Tuto_lema_gen - custom_only = 1 - idlflags += -Wb,stub_export_macro=HELLO_MYFOO_OBJ_LEM_STUB_Export \ - -Wb,stub_export_include=Hello_MyFoo_obj_lem_stub_export.h \ - -I ../GeneratedCode\ - -o ../GeneratedCode\ - -SS - - IDL_Files { - ../GeneratedCode/Hello_MyFoo_objAE.idl - gendir=../GeneratedCode - } -} - -project(AMI_Hello_Tuto_stub) : ccm_stub, ami, ami4ccm_stub { - after += AMI_Hello_Tuto_lem_gen AMI_Hello_Tuto_defn_stub - libs += Hello_common_defn_stub - libout = ../lib - libpaths += ../lib - includes += . ../GeneratedCode - - sharedname = Hello_MyFoo_obj_stub - dynamicflags = HELLO_MYFOO_OBJ_STUB_BUILD_DLL - - IDL_Files { - } - - Source_Files { - ../GeneratedCode/Hello_MyFoo_objC.cpp - ../GeneratedCode/Hello_MyFoo_objAC.cpp - } - - Header_Files { - ../GeneratedCode/Hello_MyFoo_objC.h - ../GeneratedCode/Hello_MyFoo_stub_export.h -} - - Inline_Files { - ../GeneratedCode/Hello_MyFoo_objC.inl - } -} - -project(AMI_Hello_Tuto_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub { - after += AMI_Hello_Tuto_lem_gen AMI_Hello_Tuto_stub AMI_Hello_Tuto_lemae_gen AMI_Hello_Tuto_skel - libs += Hello_MyFoo_obj_stub Hello_MyFoo_obj_skel - libout = ../lib - libpaths += ../lib - includes += . ../GeneratedCode - - sharedname = Hello_MyFoo_obj_lem_stub - dynamicflags = HELLO_MYFOO_OBJ_LEM_STUB_BUILD_DLL - - IDL_Files { - } - - Source_Files { - ../GeneratedCode/Hello_MyFoo_objEC.cpp - ../GeneratedCode/Hello_MyFoo_objAEC.cpp - } - - Header_Files { - ../Hello_MyFoo_objEC.h - ../Hello_MyFoo_obj_lem_stub_export.h -} - - Inline_Files { - ../GeneratedCode/Hello_MyFoo_objEC.inl - } -} - -project(AMI_Hello_Tuto_skel) : ciao_executor, ami, ami4ccm_servant { - after += AMI_Hello_Tuto_stub AMI_Hello_Tuto_defn_stub - sharedname = Hello_MyFoo_obj_skel - libs += Hello_MyFoo_obj_stub Hello_common_defn_stub - libout = ../lib - libpaths += ../lib - includes += . ../GeneratedCode - - dynamicflags = HELLO_MYFOO_OBJ_SKEL_BUILD_DLL - - IDL_Files { - } - - Source_Files { - ../GeneratedCode/Hello_MyFoo_objS.cpp - ../GeneratedCode/Hello_MyFoo_objAS.cpp - } - - Header_Files { - ../GeneratedCode/Hello_MyFoo_objS.h - ../GeneratedCode/Hello_MyFoo_obj_skel_export.h - } - - Inline_Files { - } -} - -project(AMI_Hello_Tuto_conn) : ciao_executor, ami, ami4ccm_lem_stub { - after += AMI_Hello_Tuto_lem_stub AMI_Hello_Tuto_skel AMI_Hello_Tuto_lema_gen AMI_Hello_Tuto_lemae_gen - sharedname = Hello_MyFoo_obj_conn - libs += Hello_MyFoo_obj_stub Hello_MyFoo_obj_skel Hello_MyFoo_obj_lem_stub - libpaths += ../lib - libout = ../lib - dynamicflags = HELLO_MYFOO_OBJ_CONN_BUILD_DLL - includes += . ../GeneratedCode - IDL_Files { - } - - Source_Files { - ../GeneratedCode/Hello_MyFoo_objA_conn.cpp - } - - Header_Files { - ../GeneratedCode/Hello_MyFoo_objA_conn.h - ../GeneratedCode/Hello_MyFoo_obj_conn_export.h - } - - Inline_Files { - } -} - -project(AMI_Hello_Tuto_svnt) : ciao_servant, ami, ami4ccm_servant { - after += AMI_Hello_Tuto_lem_stub AMI_Hello_Tuto_skel AMI_Hello_Tuto_lema_gen AMI_Hello_Tuto_lemae_gen\ - AMI_Hello_Tuto_conn AMI_Hello_Tuto_defn_stub - sharedname = Hello_MyFoo_obj_svnt - libs += Hello_MyFoo_obj_stub Hello_MyFoo_obj_skel Hello_MyFoo_obj_lem_stub\ - Hello_MyFoo_obj_conn Hello_common_defn_stub - libpaths += ../lib - libout = ../lib - dynamicflags = HELLO_MYFOO_OBJ_SVNT_BUILD_DLL - includes += . ../GeneratedCode - IDL_Files { - } - - Source_Files { - ../GeneratedCode/Hello_MyFoo_objA_svnt.cpp - } - - Header_Files { - ../GeneratedCode/Hello_MyFoo_objA_svnt.h - ../GeneratedCode/Hello_MyFoo_objA_svnt_export.h - } - - Inline_Files { - } -} - |