source: finroc_plugins_composite_ports/examples/gUser.xml @ 9:13d33375b9d9

Last change on this file since 9:13d33375b9d9 was 9:13d33375b9d9, checked in by Max Reichardt <mreichardt@…>, 2 years ago

Adds example program that illustrates how to use port composite interfaces - and some of the power and potential of this feature.

File size: 2.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<Finstructable version="1703" dependencies="finroc_plugins_composite_ports_example">
3  <interface name="Sensor Input">
4    <port name="Fancy 1" type="finroc.composite_ports.examples.interfaces.Fancy"/>
5    <port name="Fancy 2" type="finroc.composite_ports.examples.interfaces.Fancy"/>
6    <port name="I/O Interface 1" type="finroc.composite_ports.examples.interfaces.InputOutput"/>
7    <port name="I/O Interface 2" type="finroc.composite_ports.examples.interfaces.InputOutput"/>
8    <port name="I/O Interface 3" type="finroc.composite_ports.examples.interfaces.InputOutput"/>
9    <port name="I/O Interface 4" type="finroc.composite_ports.examples.interfaces.InputOutput"/>
10    <port name="Simple 1" type="finroc.composite_ports.examples.interfaces.Simple"/>
11    <port name="Simple 2" type="finroc.composite_ports.examples.interfaces.Simple"/>
12    <port name="Simple 3" type="finroc.composite_ports.examples.interfaces.Simple"/>
13    <port name="Simple 4" type="finroc.composite_ports.examples.interfaces.Simple"/>
14  </interface>
15  <element name="Interface User" group="finroc_plugins_composite_ports_example" type="InterfaceUser">
16    <parameters/>
17  </element>
18  <edge src="Sensor Input/Fancy 1" dest="Interface User/Sensor Input/Fancy 1"/>
19  <edge src="Sensor Input/Fancy 2" dest="Interface User/Sensor Input/Fancy 2"/>
20  <edge src="Sensor Input/I%2FO Interface 1" dest="Interface User/Sensor Input/I%2FO Interface 1"/>
21  <edge src="Sensor Input/I%2FO Interface 2" dest="Interface User/Sensor Input/I%2FO Interface 2"/>
22  <edge src="Sensor Input/I%2FO Interface 3" dest="Interface User/Sensor Input/I%2FO Interface 3"/>
23  <edge src="Sensor Input/I%2FO Interface 4" dest="Interface User/Sensor Input/I%2FO Interface 4"/>
24  <edge src="Sensor Input/Simple 1" dest="Interface User/Sensor Input/Simple 1"/>
25  <edge src="Sensor Input/Simple 2" dest="Interface User/Sensor Input/Simple 2"/>
26  <edge src="Sensor Input/Simple 3" dest="Interface User/Sensor Input/Simple 3"/>
27  <edge src="Sensor Input/Simple 4" dest="Interface User/Sensor Input/Simple 4"/>
28</Finstructable>
Note: See TracBrowser for help on using the repository browser.