-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rossystem metamodel: add ComponentRef to reference rosnode in process…
…; uncapitalize index
- Loading branch information
Showing
2 changed files
with
60 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,68 +2,76 @@ | |
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="system" nsURI="http://www.ipa.fraunhofer.de/rossystem" nsPrefix="system"> | ||
<eClassifiers xsi:type="ecore:EClass" name="System"> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="Processes" upperBound="-1" | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="processes" upperBound="-1" | ||
eType="#//Process" containment="true"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="Components" upperBound="-1" | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="components" upperBound="-1" | ||
eType="#//Component" containment="true"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="Connections" upperBound="-1" | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="connections" upperBound="-1" | ||
eType="#//Connection" containment="true"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="Parameter" upperBound="-1" | ||
eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//Parameter" | ||
derived="true" containment="true"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="parameter" upperBound="-1" | ||
eType="#//RosParameter" derived="true" containment="true"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="Rossystem" eSuperTypes="#//System"/> | ||
<eClassifiers xsi:type="ecore:EClass" name="Process"> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Threads" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="Nodes" upperBound="-1" | ||
eType="#//RosNode"/> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="threads" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="nodes" upperBound="-1" | ||
eType="#//Component" containment="true"/> | ||
This comment has been minimized.
Sorry, something went wrong. |
||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="Component" abstract="true"/> | ||
<eClassifiers xsi:type="ecore:EClass" name="Connection" abstract="true"/> | ||
<eClassifiers xsi:type="ecore:EClass" name="RosNode" eSuperTypes="#//Component"> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="From" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//Node"/> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="from" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//Node"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="rosinterfaces" upperBound="-1" | ||
eType="#//RosInterface" containment="true"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="rosparameters" upperBound="-1" | ||
eType="#//RosParameter" containment="true"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="RosInterface"> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="Reference" lowerBound="1" | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="reference" lowerBound="1" | ||
eType="#//InterfaceReference" containment="true"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="InterfaceReference"/> | ||
<eClassifiers xsi:type="ecore:EClass" name="RosPublisherReference" eSuperTypes="#//InterfaceReference"> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="From" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//Publisher"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="from" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//Publisher"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="RosSubscriberReference" eSuperTypes="#//InterfaceReference"> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="From" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//Subscriber"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="from" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//Subscriber"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="RosServiceServerReference" eSuperTypes="#//InterfaceReference"> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="From" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//ServiceServer"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="from" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//ServiceServer"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="RosServerClientReference" eSuperTypes="#//InterfaceReference"> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="From" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//ServiceClient"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="from" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//ServiceClient"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="RosActionServerReference" eSuperTypes="#//InterfaceReference"> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="From" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//ActionServer"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="from" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//ActionServer"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="RosActionClientReference" eSuperTypes="#//InterfaceReference"> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="From" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//ActionClient"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="from" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//ActionClient"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="RosParameterReference" eSuperTypes="#//InterfaceReference"> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="From" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//Parameter"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="from" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//Parameter"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="RosParameter"> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//ParameterValue" | ||
containment="true"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="From" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//Parameter"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="from" lowerBound="1" eType="ecore:EClass ../../de.fraunhofer.ipa.ros/model/ros.ecore#//Parameter"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="RosConnection" eSuperTypes="#//Connection"> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="from" lowerBound="1" eType="#//RosInterface"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="to" lowerBound="1" eType="#//RosInterface"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="SystemRef"> | ||
This comment has been minimized.
Sorry, something went wrong. |
||
<eStructuralFeatures xsi:type="ecore:EReference" name="systemRef" lowerBound="1" | ||
eType="#//System"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="ComponentRef" eSuperTypes="#//Component"> | ||
This comment has been minimized.
Sorry, something went wrong.
ipa-nhg
Member
|
||
<eStructuralFeatures xsi:type="ecore:EReference" name="componentRef" lowerBound="1" | ||
eType="#//Component"/> | ||
</eClassifiers> | ||
</ecore:EPackage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contaiment here should be false, you want to do a reference of defined components, you don't want to create it new within the process definition