| <?xml version="1.0" encoding="UTF-8"?> |
| <xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:C_Cpp="http://www.eclipse.org/papyrus/C_Cpp/1" xmlns:UMLRealTime="http://www.eclipse.org/papyrus/umlrt" xmlns:UMLRealTimeStateMach="http://www.eclipse.org/papyrus/umlrt/statemachine" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> |
| <uml:Model xmi:id="_oU-gMAY9EeW4gpOQAAFNDQ" name="RTSInfo"> |
| <packageImport xmi:type="uml:PackageImport" xmi:id="_yFy6AAY9EeW4gpOQAAFNDQ"> |
| <importedPackage xmi:type="uml:Profile" href="pathmap://PapyrusC_Cpp_PROFILES/C_Cpp.profile.uml#_j9REUByGEduN1bTiWJ0lyw"/> |
| </packageImport> |
| <packageImport xmi:type="uml:PackageImport" xmi:id="_yT3LMAY9EeW4gpOQAAFNDQ"> |
| <importedPackage xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> |
| </packageImport> |
| <packageImport xmi:type="uml:PackageImport" xmi:id="_yhvPIAY9EeW4gpOQAAFNDQ"> |
| <importedPackage xmi:type="uml:Profile" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_1h74oEeVEeO0lv5O1DTHOQ"/> |
| </packageImport> |
| <packageImport xmi:type="uml:PackageImport" xmi:id="_yvaewAY9EeW4gpOQAAFNDQ"> |
| <importedPackage xmi:type="uml:Profile" href="pathmap://UML_RT_PROFILE/UMLRealTimeSM-addendum.profile.uml#_KLcn0FDtEeOA4ecmvfqvaw"/> |
| </packageImport> |
| <packageImport xmi:type="uml:PackageImport" xmi:id="_y-CwoAY9EeW4gpOQAAFNDQ"> |
| <importedPackage xmi:type="uml:Profile" href="pathmap://UMLRT_CPP/RTCppProperties.profile.uml#_vl5LALs8EeSTjNEQkASznQ"/> |
| </packageImport> |
| <packagedElement xmi:type="uml:Class" xmi:id="_HU1DkAY-EeW4gpOQAAFNDQ" name="TestCapsule" classifierBehavior="_scZMEAY-EeW4gpOQAAFNDQ" isActive="true"> |
| <ownedBehavior xmi:type="uml:StateMachine" xmi:id="_scZMEAY-EeW4gpOQAAFNDQ" name="StateMachine1"> |
| <region xmi:type="uml:Region" xmi:id="_tu580AY-EeW4gpOQAAFNDQ" name="Region1"> |
| <transition xmi:type="uml:Transition" xmi:id="_yGytoAY_EeWgr6Eokj3LVQ" source="_yV-OkAY-EeW4gpOQAAFNDQ" target="_xJFvQAY_EeWgr6Eokj3LVQ"> |
| <effect xmi:type="uml:OpaqueBehavior" xmi:id="_8fMr4AY_EeWgr6Eokj3LVQ" name="initialize"> |
| <language>C++</language> |
| <body>std::cout << "Capsule name: " << this->getName() << std::endl; |
| |
| std::cout << "CapsuleClass name: " << this->getClass()->name << std::endl;</body> |
| </effect> |
| </transition> |
| <subvertex xmi:type="uml:Pseudostate" xmi:id="_yV-OkAY-EeW4gpOQAAFNDQ" name="Initial1"/> |
| <subvertex xmi:type="uml:State" xmi:id="_xJFvQAY_EeWgr6Eokj3LVQ" name="State1"> |
| <entry xmi:type="uml:OpaqueBehavior" xmi:id="_q6BeIA4EEeWZmqO69MGcNA" name="getStateName"> |
| <language>C++</language> |
| <body>std::cout << "Capsule state: " << this->getCurrentStateString() << std::endl; |
| </body> |
| </entry> |
| </subvertex> |
| </region> |
| </ownedBehavior> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_zn9eEAZCEeWrG7dPIKiAWw" name="Top"> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_6fcTQAZCEeWrG7dPIKiAWw" name="testCapsulePartName" type="_HU1DkAY-EeW4gpOQAAFNDQ"/> |
| </packagedElement> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_oU-gMQY9EeW4gpOQAAFNDQ"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_oU-gMgY9EeW4gpOQAAFNDQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/umlrt#/"/> |
| </eAnnotations> |
| <appliedProfile xmi:type="uml:Profile" href="pathmap://UML_RT_PROFILE/uml-rt.profile.uml#_1h74oEeVEeO0lv5O1DTHOQ"/> |
| </profileApplication> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kuOxEAY_EeWgr6Eokj3LVQ"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kuYiEAY_EeWgr6Eokj3LVQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/umlrt/statemachine#/"/> |
| </eAnnotations> |
| <appliedProfile xmi:type="uml:Profile" href="pathmap://UML_RT_PROFILE/UMLRealTimeSM-addendum.profile.uml#_KLcn0FDtEeOA4ecmvfqvaw"/> |
| </profileApplication> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_nWga4AY_EeWgr6Eokj3LVQ"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_nWiQEAY_EeWgr6Eokj3LVQ" source="PapyrusVersion"> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_nWi3IAY_EeWgr6Eokj3LVQ" key="Version" value="0.0.3"/> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_nWi3IQY_EeWgr6Eokj3LVQ" key="Comment" value=""/> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_nWi3IgY_EeWgr6Eokj3LVQ" key="Copyright" value=""/> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_nWi3IwY_EeWgr6Eokj3LVQ" key="Date" value="2015-03-19"/> |
| <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_nWi3JAY_EeWgr6Eokj3LVQ" key="Author" value=""/> |
| </eAnnotations> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_nWhpAAY_EeWgr6Eokj3LVQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="pathmap://UMLRT_CPP/RTCppProperties.profile.uml#_WyvuoM4NEeSo_bwoIR2YQw"/> |
| </eAnnotations> |
| <appliedProfile xmi:type="uml:Profile" href="pathmap://UMLRT_CPP/RTCppProperties.profile.uml#_vl5LALs8EeSTjNEQkASznQ"/> |
| </profileApplication> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_puRjgAY_EeWgr6Eokj3LVQ"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_puSKkAY_EeWgr6Eokj3LVQ" 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 xmi:type="uml:Profile" href="pathmap://PapyrusC_Cpp_PROFILES/C_Cpp.profile.uml#_j9REUByGEduN1bTiWJ0lyw"/> |
| </profileApplication> |
| </uml:Model> |
| <UMLRealTime:Capsule xmi:id="_HU58EAY-EeW4gpOQAAFNDQ" base_Class="_HU1DkAY-EeW4gpOQAAFNDQ"/> |
| <UMLRealTimeStateMach:RTStateMachine xmi:id="_sLUNsAY_EeWgr6Eokj3LVQ" base_StateMachine="_scZMEAY-EeW4gpOQAAFNDQ"/> |
| <UMLRealTimeStateMach:RTRegion xmi:id="_tMSigAY_EeWgr6Eokj3LVQ" base_Region="_tu580AY-EeW4gpOQAAFNDQ"/> |
| <UMLRealTimeStateMach:RTPseudostate xmi:id="_vsDJgAY_EeWgr6Eokj3LVQ" base_Pseudostate="_yV-OkAY-EeW4gpOQAAFNDQ"/> |
| <C_Cpp:Include xmi:id="_M09ZYAZAEeWgr6Eokj3LVQ" body="#include <iostream>
" base_class="_HU1DkAY-EeW4gpOQAAFNDQ"/> |
| <UMLRealTime:Capsule xmi:id="_zoJrUAZCEeWrG7dPIKiAWw" base_Class="_zn9eEAZCEeWrG7dPIKiAWw"/> |
| <UMLRealTime:CapsulePart xmi:id="_8DkYcAZCEeWrG7dPIKiAWw" base_Property="_6fcTQAZCEeWrG7dPIKiAWw"/> |
| </xmi:XMI> |