source: finroc_plugins_composite_ports/examples/gUser.xml @ 10:475d7a686fd6

Last change on this file since 10:475d7a686fd6 was 10:475d7a686fd6, checked in by Max Reichardt <mreichardt@…>, 2 years ago

Adds support for inheritance among port composite interfaces (sub and superclass interfaces can be connected). Change also includes that connecting secondary backends (of port composite interfaces with multiple port types) will not connect the primary. This adds more flexibility/convenience w.r.t. connecting only parts of port composite interfaces.

File size: 2.2 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    <port name="I/O Interconnected" type="finroc.composite_ports.examples.interfaces.InputOutput"/>
15  </interface>
16  <element name="Interface User" group="finroc_plugins_composite_ports_example" type="InterfaceUser">
17    <parameters/>
18  </element>
19  <edge src="Sensor Input/Fancy 1" dest="Interface User/Sensor Input/Fancy 1"/>
20  <edge src="Sensor Input/Fancy 2" dest="Interface User/Sensor Input/Fancy 2"/>
21  <edge src="Sensor Input/I%2FO Interface 1" dest="Interface User/Sensor Input/I%2FO Interface 1"/>
22  <edge src="Sensor Input/I%2FO Interface 2" dest="Interface User/Sensor Input/I%2FO Interface 2"/>
23  <edge src="Sensor Input/I%2FO Interface 3" dest="Interface User/Sensor Input/I%2FO Interface 3"/>
24  <edge src="Sensor Input/I%2FO Interface 4" dest="Interface User/Sensor Input/I%2FO Interface 4"/>
25  <edge src="Sensor Input/Simple 1" dest="Interface User/Sensor Input/Simple 1"/>
26  <edge src="Sensor Input/Simple 2" dest="Interface User/Sensor Input/Simple 2"/>
27  <edge src="Sensor Input/Simple 3" dest="Interface User/Sensor Input/Simple 3"/>
28  <edge src="Sensor Input/Simple 4" dest="Interface User/Sensor Input/Simple 4"/>
29</Finstructable>
Note: See TracBrowser for help on using the repository browser.