Orocos- getConnections?

Hi all,

I am quite new to orocos and to ROCK. I am currently working on a ROCK
feature (based) to display active connections.

I was wondering if there is any feature in orocos that would allow me to
see all current connections.

The use case for ROCK is like this: I have a port myport.out and I connect
it to myport.in.
This connection is based on the do_connection_to method from orocos. I
would like to do something like myport.getActiveConnections(), which would
rely on a function from orocos that returns all active connections from a
given port.

Is there something like this?

Best,
Radu

Orocos- getConnections?

Hi,

I think you should have a look here
https://gitorious.org/rtt_dot_service/rtt_dot_service , you will find an
example of what you are asking for (if I have understood correctly ;) ).

I am pretty curious if the same can be done using Lua.. from what I have
seen through the RTT-Lua binding it is not possible to acquire the
connection list or the name of the component from which an instance has
been created.

It is still possible to obtain a connections list in Lua with a"workaround"
but I think a native support from RTT-Lua could be useful.

Nicola

2014-03-19 16:02 GMT+01:00 Raduh Studio <raduh [dot] studio [..] ...>:

> Hi all,
>
> I am quite new to orocos and to ROCK. I am currently working on a ROCK
> feature (based) to display active connections.
>
> I was wondering if there is any feature in orocos that would allow me to
> see all current connections.
>
> The use case for ROCK is like this: I have a port myport.out and I connect
> it to myport.in.
> This connection is based on the do_connection_to method from orocos. I
> would like to do something like myport.getActiveConnections(), which would
> rely on a function from orocos that returns all active connections from a
> given port.
>
> Is there something like this?
>
> Best,
> Radu
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>