diff options
Diffstat (limited to 'extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/tmpModel/ClientServerTraceTestTmp.uml')
-rw-r--r-- | extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/tmpModel/ClientServerTraceTestTmp.uml | 419 |
1 files changed, 0 insertions, 419 deletions
diff --git a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/tmpModel/ClientServerTraceTestTmp.uml b/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/tmpModel/ClientServerTraceTestTmp.uml deleted file mode 100644 index b888cf0b88c..00000000000 --- a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/tmpModel/ClientServerTraceTestTmp.uml +++ /dev/null @@ -1,419 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Alloc="http://www.eclipse.org/papyrus/Alloc/1" xmlns:C_Cpp="http://www.eclipse.org/papyrus/C_Cpp/1" xmlns:FCM="http://www.eclipse.org/papyrus/FCM/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/Alloc/1 http://www.eclipse.org/papyrus/MARTE/1#//Alloc"> - <uml:Model xmi:id="_O6TiIDLUEd26WNosUASSSw" name="ClientServerTraceTest"> - <packageImport xmi:id="_9_R7cJ47EeKx_dvqpam_eQ"> - <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> - </packageImport> - <packageImport xmi:id="_9_R7cZ47EeKx_dvqpam_eQ"> - <importedPackage xmi:type="uml:Model" href="pathmap://QML_CORE/core.uml#_O6TiIDLUEd26WNosUASSSw"/> - </packageImport> - <packageImport xmi:id="_9_SigJ47EeKx_dvqpam_eQ"> - <importedPackage xmi:type="uml:Model" href="pathmap://QML_CORE/corba.uml#_DtQEwDLdEd2_U4efLnjQIw"/> - </packageImport> - <packageImport xmi:id="_9_SigZ47EeKx_dvqpam_eQ"> - <importedPackage xmi:type="uml:Model" href="pathmap://QML_DISTRIBUTION/distribution.uml#_O6TiIDLUEd26WNosUASSSw"/> - </packageImport> - <packageImport xmi:id="_9_TJkJ47EeKx_dvqpam_eQ"> - <importedPackage xmi:type="uml:Model" href="pathmap://QML_TRACE/tracing.uml#_H-ZqYDKeEd-WprEKTCaiMA"/> - </packageImport> - <packagedElement xmi:type="uml:Package" xmi:id="_9_UXsJ47EeKx_dvqpam_eQ" name="globalenums"/> - <packagedElement xmi:type="uml:Package" xmi:id="_9_YpIJ47EeKx_dvqpam_eQ" name="deployment"> - <packagedElement xmi:type="uml:Package" xmi:id="_9_YpIZ47EeKx_dvqpam_eQ" name="monolithic"> - <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_9_Z3QJ47EeKx_dvqpam_eQ" clientDependency="_-GqV0J47EeKx_dvqpam_eQ" name="mySystem" classifier="_bYJagDLiEd2RVeNawwNNzg"> - <slot xmi:id="_-G18AJ47EeKx_dvqpam_eQ" definingFeature="_gV1cgDLiEd2RVeNawwNNzg"> - <value xmi:type="uml:InstanceValue" xmi:id="_-G2jEJ47EeKx_dvqpam_eQ" instance="_-GzfwJ47EeKx_dvqpam_eQ"/> - </slot> - <slot xmi:id="_-G4YQJ47EeKx_dvqpam_eQ" definingFeature="_i-I7gDLiEd2RVeNawwNNzg"> - <value xmi:type="uml:InstanceValue" xmi:id="_-G4YQZ47EeKx_dvqpam_eQ" instance="_-G3KIJ47EeKx_dvqpam_eQ"/> - </slot> - <slot xmi:id="_-XSLwJ47EeKx_dvqpam_eQ" definingFeature="p_QO2s0E2rEeGl8qrc8BM7vA"> - <value xmi:type="uml:InstanceValue" xmi:id="_-XSLwZ47EeKx_dvqpam_eQ" instance="_-XQ9oJ47EeKx_dvqpam_eQ"/> - </slot> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_-GqV0J47EeKx_dvqpam_eQ" name="allocate mySystem to monoNode" client="_9_Z3QJ47EeKx_dvqpam_eQ" supplier="_gFXHwDeMEeGPyrZ5I3hMlA"/> - <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_-GzfwJ47EeKx_dvqpam_eQ" name="mySystem.server" classifier="_oqZNUDLaEd2qeKRLMdIx_A"/> - <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_-G3KIJ47EeKx_dvqpam_eQ" name="mySystem.client" classifier="_IfjoETLbEd2qeKRLMdIx_A"/> - <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_-XQ9oJ47EeKx_dvqpam_eQ" name="mySystem.qp_connector" classifier="_jOU60A1jEd6tvthBDl600Q"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_9_aeUJ47EeKx_dvqpam_eQ" name="components"> - <packagedElement xmi:type="uml:Package" xmi:id="_9_aeUZ47EeKx_dvqpam_eQ" name="System"> - <packagedElement xmi:type="uml:Class" xmi:id="_bYJagDLiEd2RVeNawwNNzg" name="System_impl"> - <ownedAttribute xmi:id="_gV1cgDLiEd2RVeNawwNNzg" name="server" type="_oqZNUDLaEd2qeKRLMdIx_A" isUnique="false" aggregation="composite"/> - <ownedAttribute xmi:id="_i-I7gDLiEd2RVeNawwNNzg" name="client" type="_IfjoETLbEd2qeKRLMdIx_A" isUnique="false" aggregation="composite"/> - <ownedAttribute xmi:id="p_QO2s0E2rEeGl8qrc8BM7vA" name="qp_connector" type="_jOU60A1jEd6tvthBDl600Q" aggregation="composite"/> - <ownedConnector xmi:id="_QO2s0E2rEeGl8qrc8BM7vA0" name="c qp_connector 0"> - <end xmi:id="_-XPIcZ47EeKx_dvqpam_eQ" partWithPort="_i-I7gDLiEd2RVeNawwNNzg" role="_DtWn4DLcEd2qeKRLMdIx_A"/> - <end xmi:id="_-XPIcp47EeKx_dvqpam_eQ" partWithPort="p_QO2s0E2rEeGl8qrc8BM7vA" role="_P4xVsNtuEd2eM5kqcby5ZA"/> - </ownedConnector> - <ownedConnector xmi:id="_QO2s0E2rEeGl8qrc8BM7vA1" name="c qp_connector 1"> - <end xmi:id="_-XPvgZ47EeKx_dvqpam_eQ" partWithPort="_gV1cgDLiEd2RVeNawwNNzg" role="_4KiE8DLbEd2qeKRLMdIx_A"/> - <end xmi:id="_-XPvgp47EeKx_dvqpam_eQ" partWithPort="p_QO2s0E2rEeGl8qrc8BM7vA" role="_Qk0jYNtuEd2eM5kqcby5ZA"/> - </ownedConnector> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_9_bscJ47EeKx_dvqpam_eQ" name="Server"> - <packagedElement xmi:type="uml:Class" xmi:id="_oqZNUDLaEd2qeKRLMdIx_A" clientDependency="_YQqH0JYlEd6G9q9hwr11bw" name="CServer_impl" classifierBehavior="_5Vd9UDclEeKAhIrFXfR8zQ"> - <ownedAttribute xmi:type="uml:Port" xmi:id="_4KiE8DLbEd2qeKRLMdIx_A" name="p" type="_cn-H0DLbEd2qeKRLMdIx_A" aggregation="composite"/> - <interfaceRealization xmi:id="_YQqH0JYlEd6G9q9hwr11bw" name="derived realization of ICompute" client="_oqZNUDLaEd2qeKRLMdIx_A" supplier="_cn-H0DLbEd2qeKRLMdIx_A" contract="_cn-H0DLbEd2qeKRLMdIx_A"/> - <ownedBehavior xmi:type="uml:StateMachine" xmi:id="_5Vd9UDclEeKAhIrFXfR8zQ" name="ServerStateMachine"> - <region xmi:id="_57WRkDclEeKAhIrFXfR8zQ" name="Region1"> - <transition xmi:id="_8ZB08DclEeKAhIrFXfR8zQ" name="Transition0" source="_66D8kDclEeKAhIrFXfR8zQ" target="_66D8kDclEeKAhIrFXfR8zQ"/> - <transition xmi:id="_-v4XkDclEeKAhIrFXfR8zQ" name="Transition1" source="_9f6kgDclEeKAhIrFXfR8zQ" target="_66D8kDclEeKAhIrFXfR8zQ"/> - <subvertex xmi:type="uml:State" xmi:id="_66D8kDclEeKAhIrFXfR8zQ" name="State0"/> - <subvertex xmi:type="uml:Pseudostate" xmi:id="_9f6kgDclEeKAhIrFXfR8zQ" name="Initial0"/> - </region> - </ownedBehavior> - <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_ML-4AKI5Ed6FqJCjEUrkqQ" name="add" specification="_TbIjUJYlEd6G9q9hwr11bw"> - <language>C/C++</language> - <body>cout << "a=" << a << " b=" << b << " a+b=" << a+b << endl; -return a+b;</body> - </ownedBehavior> - <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_I1R3YAcDEeGnrLqQ0OQeAg" name="mult" specification="_4ZEZwHecEd6r18stFZxmFQ"> - <language>C/C++</language> - <body>cout << "a*b=" << a*b; -return a*b;</body> - </ownedBehavior> - <ownedOperation xmi:id="_TbIjUJYlEd6G9q9hwr11bw" name="add" method="_ML-4AKI5Ed6FqJCjEUrkqQ"> - <ownedParameter xmi:id="_TbZCAJYlEd6G9q9hwr11bw" name="a"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_FxVBkB6LEd6Nj_33Eb_pxw"/> - </ownedParameter> - <ownedParameter xmi:id="_TbdTcJYlEd6G9q9hwr11bw" name="b"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_FxVBkB6LEd6Nj_33Eb_pxw"/> - </ownedParameter> - <ownedParameter xmi:id="_TbkoMJYlEd6G9q9hwr11bw" name="res" direction="return"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_FxVBkB6LEd6Nj_33Eb_pxw"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_4ZEZwHecEd6r18stFZxmFQ" name="mult" method="_I1R3YAcDEeGnrLqQ0OQeAg"> - <ownedParameter xmi:id="_nvpKUDVdEeKoYLVLZgpRiw" name="a"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_qgMSAB6SEd6ITtm_FH3jRw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_nvup4DVdEeKoYLVLZgpRiw" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_nvvQ8DVdEeKoYLVLZgpRiw" value="1"/> - </ownedParameter> - <ownedParameter xmi:id="_nvwfEDVdEeKoYLVLZgpRiw" name="b"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_wbw4kB6SEd6ITtm_FH3jRw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_nvy7UDVdEeKoYLVLZgpRiw" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_nvziYDVdEeKoYLVLZgpRiw" value="1"/> - </ownedParameter> - <ownedParameter xmi:id="_nv1XkDVdEeKoYLVLZgpRiw" name="res" direction="return"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_FxVBkB6LEd6Nj_33Eb_pxw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_nv3z0DVdEeKoYLVLZgpRiw" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_nv4a4DVdEeKoYLVLZgpRiw" value="1"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_rrf74DVdEeKoYLVLZgpRiw" name="check"> - <ownedParameter xmi:id="_4UNv4DVdEeKoYLVLZgpRiw" name="write"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_4UO-ADVdEeKoYLVLZgpRiw" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_4UPlEDVdEeKoYLVLZgpRiw" value="1"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_9OJPEDVkEeKoYLVLZgpRiw" name="testOp"> - <ownedParameter xmi:id="_Br-FQDVlEeKoYLVLZgpRiw" name="testPar"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_9XvcQB6REd6ITtm_FH3jRw"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6ERa0DW2EeKyT6LlKoWJIA" name="length"> - <ownedParameter xmi:id="_FfLX4DW3EeKyT6LlKoWJIA" name="p1" type="_krMkcDW2EeKyT6LlKoWJIA"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_FfN0IDW3EeKyT6LlKoWJIA" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_FfObMDW3EeKyT6LlKoWJIA" value="1"/> - </ownedParameter> - </ownedOperation> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_9_uAUJ47EeKx_dvqpam_eQ" name="Interfaces"> - <packagedElement xmi:type="uml:Interface" xmi:id="_cn-H0DLbEd2qeKRLMdIx_A" name="ICompute"> - <ownedOperation xmi:id="_DGs6wDLgEd28fJKJJnUaeQ" name="add"> - <ownedParameter xmi:id="_DGs6wTLgEd28fJKJJnUaeQ" name="a"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_FxVBkB6LEd6Nj_33Eb_pxw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_DGs6wzLgEd28fJKJJnUaeQ" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_DGs6wjLgEd28fJKJJnUaeQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_DGs6xDLgEd28fJKJJnUaeQ"> - <value xsi:nil="true"/> - </defaultValue> - </ownedParameter> - <ownedParameter xmi:id="_DGs6xTLgEd28fJKJJnUaeQ" name="b"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_FxVBkB6LEd6Nj_33Eb_pxw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_DGs6xzLgEd28fJKJJnUaeQ" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_DGs6xjLgEd28fJKJJnUaeQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_DGs6yDLgEd28fJKJJnUaeQ"> - <value xsi:nil="true"/> - </defaultValue> - </ownedParameter> - <ownedParameter xmi:id="_DGs6yTLgEd28fJKJJnUaeQ" name="res" direction="return"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_FxVBkB6LEd6Nj_33Eb_pxw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_DGs6yzLgEd28fJKJJnUaeQ" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_DGs6yjLgEd28fJKJJnUaeQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_DGs6zDLgEd28fJKJJnUaeQ"> - <value xsi:nil="true"/> - </defaultValue> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_L8EY8DLgEd28fJKJJnUaeQ" name="mult" isAbstract="true"> - <ownedParameter xmi:id="_L8EY8TLgEd28fJKJJnUaeQ" name="a"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_qgMSAB6SEd6ITtm_FH3jRw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_L8EY8zLgEd28fJKJJnUaeQ" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_L8EY8jLgEd28fJKJJnUaeQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_L8EY9DLgEd28fJKJJnUaeQ"> - <value xsi:nil="true"/> - </defaultValue> - </ownedParameter> - <ownedParameter xmi:id="_L8EY9TLgEd28fJKJJnUaeQ" name="b"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_wbw4kB6SEd6ITtm_FH3jRw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_L8EY9zLgEd28fJKJJnUaeQ" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_L8EY9jLgEd28fJKJJnUaeQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_L8EY-DLgEd28fJKJJnUaeQ"> - <value xsi:nil="true"/> - </defaultValue> - </ownedParameter> - <ownedParameter xmi:id="_L8EY-TLgEd28fJKJJnUaeQ" name="res" direction="return"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_FxVBkB6LEd6Nj_33Eb_pxw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_L8EY-zLgEd28fJKJJnUaeQ" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_L8EY-jLgEd28fJKJJnUaeQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_L8EY_DLgEd28fJKJJnUaeQ"> - <value xsi:nil="true"/> - </defaultValue> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_rrbqcDVdEeKoYLVLZgpRiw" name="check" isAbstract="true"> - <ownedParameter xmi:id="_0xTp0DVdEeKoYLVLZgpRiw" name="write"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6DewoDW2EeKyT6LlKoWJIA" name="length"> - <ownedParameter xmi:id="_AP4BcDW3EeKyT6LlKoWJIA" name="p1" type="_krMkcDW2EeKyT6LlKoWJIA"/> - </ownedOperation> - </packagedElement> - <packagedElement xmi:type="uml:DataType" xmi:id="_krMkcDW2EeKyT6LlKoWJIA" name="Point"> - <ownedAttribute xmi:id="_m0WCQDW2EeKyT6LlKoWJIA" name="x" visibility="public"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_-5FTMB6REd6ITtm_FH3jRw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_pOAoUDW2EeKyT6LlKoWJIA" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_pOB2cDW2EeKyT6LlKoWJIA" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_pOESsDW2EeKyT6LlKoWJIA"> - <value xsi:nil="true"/> - </defaultValue> - </ownedAttribute> - <ownedAttribute xmi:id="_yJIJMDW2EeKyT6LlKoWJIA" name="y" visibility="public"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_-5FTMB6REd6ITtm_FH3jRw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_yd44QDW2EeKyT6LlKoWJIA" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_yd6GYDW2EeKyT6LlKoWJIA" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_yd77kDW2EeKyT6LlKoWJIA"> - <value xsi:nil="true"/> - </defaultValue> - </ownedAttribute> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_-C1lwJ47EeKx_dvqpam_eQ" name="Client"> - <packagedElement xmi:type="uml:Class" xmi:id="_IfjoETLbEd2qeKRLMdIx_A" clientDependency="_ZmdDkEdDEeGxo4rn9hBAOQ" name="CClient_impl"> - <generalization xmi:id="_34FjAPx3Ed6O2oOTPfeAMA"> - <general xmi:type="uml:Class" href="pathmap://QML_CORE/core.uml#_N6fa4JsrEd61Eo3nmu3JhQ"/> - </generalization> - <ownedAttribute xmi:type="uml:Port" xmi:id="_DtWn4DLcEd2qeKRLMdIx_A" name="q" type="_cn-H0DLbEd2qeKRLMdIx_A" aggregation="composite"/> - <interfaceRealization xmi:id="_ZmdDkEdDEeGxo4rn9hBAOQ" name="derived realization of IStart" client="_IfjoETLbEd2qeKRLMdIx_A"> - <supplier xmi:type="uml:Interface" href="pathmap://QML_CORE/sysinterfaces.uml#_PTWzwCS-Ed-A_I32T0fkaA"/> - <contract href="pathmap://QML_CORE/sysinterfaces.uml#_PTWzwCS-Ed-A_I32T0fkaA"/> - </interfaceRealization> - <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_yXNVoKF4Ed6FqJCjEUrkqQ" name="run" specification="_ZnGj0EdDEeGxo4rn9hBAOQ"> - <language>C/C++</language> - <body>cout << "call via port q: add (2, 3);" << endl; -for (int i=0; i<20; i++) { - cout << "result: " << q->add (2, (i+3)) << endl; - usleep((i+10)*5*1000); - cout << "result: " << q->mult (3.0, 7.0) << endl; - usleep(20*1000); - testOp(i*2); - usleep(30*1000); -}</body> - </ownedBehavior> - <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_yVALQDclEeKAhIrFXfR8zQ" name="testOp" specification="_Qzp7gDclEeKAhIrFXfR8zQ"> - <language>C/C++</language> - <body>cout << "This is a test operation" << endl;</body> - </ownedBehavior> - <ownedOperation xmi:id="_ZnGj0EdDEeGxo4rn9hBAOQ" name="run" method="_yXNVoKF4Ed6FqJCjEUrkqQ"/> - <ownedOperation xmi:id="_Qzp7gDclEeKAhIrFXfR8zQ" name="testOp" method="_yVALQDclEeKAhIrFXfR8zQ"> - <ownedParameter xmi:id="_rXu4UDc_EeKPle9CbXIcpQ" name="j"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_9XvcQB6REd6ITtm_FH3jRw"/> - </ownedParameter> - </ownedOperation> - </packagedElement> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_-GTJcJ47EeKx_dvqpam_eQ" name="platform"> - <packagedElement xmi:type="uml:Package" xmi:id="_-GTJcZ47EeKx_dvqpam_eQ" name="HWArchitectureMonolithicPlatform"> - <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_gFXHwDeMEeGPyrZ5I3hMlA" name="monoNode" classifier="_zY9vMDLiEd2RVeNawwNNzg"/> - </packagedElement> - <packagedElement xmi:type="uml:Node" xmi:id="_zY9vMDLiEd2RVeNawwNNzg" name="MonoNode"/> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_-HFMkJ47EeKx_dvqpam_eQ" name="methodCall_ICompute"> - <templateBinding xmi:id="_-HFMkZ47EeKx_dvqpam_eQ"> - <parameterSubstitution xmi:id="_-HFMkp47EeKx_dvqpam_eQ" actual="_cn-H0DLbEd2qeKRLMdIx_A"> - <formal xmi:type="uml:ClassifierTemplateParameter" href="pathmap://QML_CORE/core.uml#_WzWVUPfBEd2TbIfwytOyPA"/> - </parameterSubstitution> - <signature href="pathmap://QML_CORE/core.uml#_V0b2APfBEd2TbIfwytOyPA"/> - </templateBinding> - <packagedElement xmi:type="uml:Package" xmi:id="_-HIP4J47EeKx_dvqpam_eQ" name="SyncCall"> - <packagedElement xmi:type="uml:Class" xmi:id="_jOU60A1jEd6tvthBDl600Q" clientDependency="_1tfFAJyCEd6WR4pSVO_UYw" name="DirectCall_impl"> - <generalization xmi:id="_lm4GkA1jEd6tvthBDl600Q" general="_Zx2ZUA1jEd6tvthBDl600Q"/> - <interfaceRealization xmi:id="_1tfFAJyCEd6WR4pSVO_UYw" name="derived realization of ICompute" client="_jOU60A1jEd6tvthBDl600Q" supplier="_cn-H0DLbEd2qeKRLMdIx_A" contract="_cn-H0DLbEd2qeKRLMdIx_A"/> - <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_GSdesJ09Ed6l5bTPBsl00Q" name="add" specification="__y0hwJ08Ed6l5bTPBsl00Q"> - <language>C/C++</language> - <body>// put pre-interceptors here -return rconn->add(a, b); -// put post-interceptors here</body> - </ownedBehavior> - <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_GSdesJ09Ed6l5bTPBsl00Q0" name="mult" specification="__y0hwJ08Ed6l5bTPBsl00Q0"> - <language>C/C++</language> - <body>// put pre-interceptors here -return rconn->mult(a, b); -// put post-interceptors here</body> - </ownedBehavior> - <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_GSdesJ09Ed6l5bTPBsl00Q1" name="check" specification="__y0hwJ08Ed6l5bTPBsl00Q1"> - <language>C/C++</language> - <body>// put pre-interceptors here -rconn->check(write); -// put post-interceptors here</body> - </ownedBehavior> - <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_GSdesJ09Ed6l5bTPBsl00Q2" name="length" specification="__y0hwJ08Ed6l5bTPBsl00Q2"> - <language>C/C++</language> - <body>// put pre-interceptors here -rconn->length(p1); -// put post-interceptors here</body> - </ownedBehavior> - <ownedOperation xmi:id="__y0hwJ08Ed6l5bTPBsl00Q" name="add" method="_GSdesJ09Ed6l5bTPBsl00Q"> - <ownedParameter xmi:id="_-Ifh0J47EeKx_dvqpam_eQ" name="a"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_FxVBkB6LEd6Nj_33Eb_pxw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_-Ifh0Z47EeKx_dvqpam_eQ" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_-Ifh0p47EeKx_dvqpam_eQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_-Ifh0547EeKx_dvqpam_eQ"> - <value xsi:nil="true"/> - </defaultValue> - </ownedParameter> - <ownedParameter xmi:id="_-IgI4J47EeKx_dvqpam_eQ" name="b"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_FxVBkB6LEd6Nj_33Eb_pxw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_-IgI4Z47EeKx_dvqpam_eQ" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_-IgI4p47EeKx_dvqpam_eQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_-IgI4547EeKx_dvqpam_eQ"> - <value xsi:nil="true"/> - </defaultValue> - </ownedParameter> - <ownedParameter xmi:id="_-Igv8J47EeKx_dvqpam_eQ" name="res" direction="return"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_FxVBkB6LEd6Nj_33Eb_pxw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_-Igv8Z47EeKx_dvqpam_eQ" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_-Igv8p47EeKx_dvqpam_eQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_-Igv8547EeKx_dvqpam_eQ"> - <value xsi:nil="true"/> - </defaultValue> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="__y0hwJ08Ed6l5bTPBsl00Q0" name="mult" method="_GSdesJ09Ed6l5bTPBsl00Q0"> - <ownedParameter xmi:id="_-UeIUJ47EeKx_dvqpam_eQ" name="a"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_qgMSAB6SEd6ITtm_FH3jRw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_-UeIUZ47EeKx_dvqpam_eQ" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_-UeIUp47EeKx_dvqpam_eQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_-UeIU547EeKx_dvqpam_eQ"> - <value xsi:nil="true"/> - </defaultValue> - </ownedParameter> - <ownedParameter xmi:id="_-UeIVJ47EeKx_dvqpam_eQ" name="b"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_wbw4kB6SEd6ITtm_FH3jRw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_-UeIVZ47EeKx_dvqpam_eQ" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_-UeIVp47EeKx_dvqpam_eQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_-UeIV547EeKx_dvqpam_eQ"> - <value xsi:nil="true"/> - </defaultValue> - </ownedParameter> - <ownedParameter xmi:id="_-UevYJ47EeKx_dvqpam_eQ" name="res" direction="return"> - <type xmi:type="uml:PrimitiveType" href="pathmap://QML_CORE/corba.uml#_FxVBkB6LEd6Nj_33Eb_pxw"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_-UevYZ47EeKx_dvqpam_eQ" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_-UevYp47EeKx_dvqpam_eQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_-UevY547EeKx_dvqpam_eQ"> - <value xsi:nil="true"/> - </defaultValue> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="__y0hwJ08Ed6l5bTPBsl00Q1" name="check" method="_GSdesJ09Ed6l5bTPBsl00Q1"> - <ownedParameter xmi:id="_-VjtcJ47EeKx_dvqpam_eQ" name="write"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="__y0hwJ08Ed6l5bTPBsl00Q2" name="length" method="_GSdesJ09Ed6l5bTPBsl00Q2"> - <ownedParameter xmi:id="_-WeTcJ47EeKx_dvqpam_eQ" name="p1" type="_krMkcDW2EeKyT6LlKoWJIA"/> - </ownedOperation> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_Zx2ZUA1jEd6tvthBDl600Q" name="SyncCall" isAbstract="true"> - <generalization xmi:id="_STdvYDBFEd6V16eboHV1gw" general="_j29X4NttEd2eM5kqcby5ZA"/> - <generalization xmi:id="_T1zr4DBFEd6V16eboHV1gw" general="_mIpj8Ns8Ed2eM5kqcby5ZA"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_j29X4NttEd2eM5kqcby5ZA" name="OPC_useI" isAbstract="true"> - <ownedAttribute xmi:type="uml:Port" xmi:id="_P4xVsNtuEd2eM5kqcby5ZA" name="fconn" type="_cn-H0DLbEd2qeKRLMdIx_A" aggregation="composite"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_mIpj8Ns8Ed2eM5kqcby5ZA" name="OPC_provideI" isAbstract="true"> - <ownedAttribute xmi:type="uml:Port" xmi:id="_Qk0jYNtuEd2eM5kqcby5ZA" name="rconn" visibility="public" type="_cn-H0DLbEd2qeKRLMdIx_A" aggregation="composite"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_rftH8ENwEeGoAtSeIK7WLg" value="1"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_rfxZYENwEeGoAtSeIK7WLg" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_rf3gAENwEeGoAtSeIK7WLg"> - <value xsi:nil="true"/> - </defaultValue> - </ownedAttribute> - </packagedElement> - </packagedElement> - <profileApplication xmi:id="_99LpsJ47EeKx_dvqpam_eQ"> - <eAnnotations xmi:id="_99PUEJ47EeKx_dvqpam_eQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/uml2/4.0.0/UML/Profile/L2#/"/> - </eAnnotations> - <appliedProfile href="pathmap://UML_PROFILES/StandardL2.profile.uml#_0"/> - </profileApplication> - <profileApplication xmi:id="_99bhUJ47EeKx_dvqpam_eQ"> - <eAnnotations xmi:id="_99bhUZ47EeKx_dvqpam_eQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/C_Cpp/1#/"/> - </eAnnotations> - <appliedProfile href="pathmap://PapyrusC_Cpp_PROFILES/C_Cpp.profile.uml#_j9REUByGEduN1bTiWJ0lyw"/> - </profileApplication> - <profileApplication xmi:id="_99l5YJ47EeKx_dvqpam_eQ"> - <eAnnotations xmi:id="_99mgcJ47EeKx_dvqpam_eQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/FCM/1#/"/> - </eAnnotations> - <appliedProfile href="pathmap://FCM_PROFILES/FCM.profile.uml#_5mvT0MtjEd2H_o0jIC6qDQ"/> - </profileApplication> - <profileApplication xmi:id="_9_RUYJ47EeKx_dvqpam_eQ"> - <eAnnotations xmi:id="_9_RUYZ47EeKx_dvqpam_eQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//Alloc"/> - </eAnnotations> - <appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_ar8OsAPMEdyuUt-4qHuVvQ"/> - </profileApplication> - </uml:Model> - <FCM:RuleApplication xmi:id="_9_kPUJ47EeKx_dvqpam_eQ" base_Class="_oqZNUDLaEd2qeKRLMdIx_A"> - <containerRule href="pathmap://QML_TRACE/tracing.uml#_RWQC8PwkEeGWn-a9PUOYcA"/> - <containerRule href="pathmap://QML_TRACE/tracing.uml#_NtAukCqLEeKGrchWittz_g"/> - </FCM:RuleApplication> - <C_Cpp:Include xmi:id="_9_q9AJ47EeKx_dvqpam_eQ" body="#include <iostream>
using namespace std;" base_class="_oqZNUDLaEd2qeKRLMdIx_A"/> - <FCM:Port xmi:id="_-ARZ8J47EeKx_dvqpam_eQ" base_Port="_4KiE8DLbEd2qeKRLMdIx_A"> - <kind href="pathmap://QML_CORE/core.uml#_wySlkFRxEd6GqrP6fkWBoQ"/> - </FCM:Port> - <C_Cpp:Include xmi:id="_-C86gJ47EeKx_dvqpam_eQ" body="#include <unistd.h>
#include <iostream>
using namespace std;" base_class="_IfjoETLbEd2qeKRLMdIx_A"/> - <FCM:RuleApplication xmi:id="_-DIgsJ47EeKx_dvqpam_eQ" base_Class="_IfjoETLbEd2qeKRLMdIx_A"> - <containerRule href="pathmap://QML_TRACE/tracing.uml#_NtAukCqLEeKGrchWittz_g"/> - </FCM:RuleApplication> - <FCM:Port xmi:id="_-EGxEJ47EeKx_dvqpam_eQ" base_Port="_DtWn4DLcEd2qeKRLMdIx_A"> - <kind href="pathmap://QML_CORE/core.uml#_9Fif4FRxEd6GqrP6fkWBoQ"/> - </FCM:Port> - <FCM:Target xmi:id="_-GevoJ47EeKx_dvqpam_eQ" base_Node="_zY9vMDLiEd2RVeNawwNNzg"> - <targetArch href="pathmap://QML_CORE/core.uml#_FYOqwF0OEd-12d_h0i1xhQ"/> - <usedOS href="pathmap://QML_CORE/core.uml#_1eULwF0NEd-12d_h0i1xhQ"/> - </FCM:Target> - <Alloc:Allocate xmi:id="_-GxqkJ47EeKx_dvqpam_eQ" base_Abstraction="_-GqV0J47EeKx_dvqpam_eQ"/> - <FCM:InteractionComponent xmi:id="_-HNIYJ47EeKx_dvqpam_eQ" base_Class="_jOU60A1jEd6tvthBDl600Q"/> - <FCM:InteractionComponent xmi:id="_-HYukJ47EeKx_dvqpam_eQ" base_Class="_Zx2ZUA1jEd6tvthBDl600Q"/> - <FCM:Port xmi:id="_-HhRcJ47EeKx_dvqpam_eQ" base_Port="_P4xVsNtuEd2eM5kqcby5ZA" conjugated="true"> - <kind href="pathmap://QML_CORE/core.uml#_9Fif4FRxEd6GqrP6fkWBoQ"/> - </FCM:Port> - <FCM:Port xmi:id="_-HxJEJ47EeKx_dvqpam_eQ" base_Port="_Qk0jYNtuEd2eM5kqcby5ZA" conjugated="true"> - <kind href="pathmap://QML_CORE/core.uml#_wySlkFRxEd6GqrP6fkWBoQ"/> - </FCM:Port> - <FCM:Template xmi:id="_-IcegJ47EeKx_dvqpam_eQ" base_Element="__y0hwJ08Ed6l5bTPBsl00Q" kind="LoopOperations"/> - <FCM:Template xmi:id="_-UbsEJ47EeKx_dvqpam_eQ" base_Element="__y0hwJ08Ed6l5bTPBsl00Q0" kind="LoopOperations"/> - <FCM:Template xmi:id="_-VifUJ47EeKx_dvqpam_eQ" base_Element="__y0hwJ08Ed6l5bTPBsl00Q1" kind="LoopOperations"/> - <FCM:Template xmi:id="_-WdFUJ47EeKx_dvqpam_eQ" base_Element="__y0hwJ08Ed6l5bTPBsl00Q2" kind="LoopOperations"/> -</xmi:XMI> |