robotology-legacy/yarpmanager2

modules with different port type

Closed this issue · 2 comments

The module's port representation should be changed depending of the port type as it is done in the GTK version of the builder:

module

<module>
    <name>TestModule</name>

     <!-- <data> can have multiple <input> or <output> tags. -->
     <data>
        <input port_type="stream">
            <port carrier="tcp">/port:i1</port>
        </input>

        <input port_type="event">
            <port carrier="tcp">/port:i2</port>
        </input>

        <input port_type="service">
            <port carrier="tcp">/port:i3</port>
        </input>

        <!-- output datas if available -->
        <output port_type="stream">
            <port carrier="tcp">/port:o1</port>
        </output>

        <output port_type="event">
            <port carrier="tcp">/port:o2</port>
        </output>

        <output port_type="service">
            <port carrier="tcp">/port:o3</port>
        </output>
    </data>
</module>

Fixed

perfect! :)