[Bug 937] New: No port disconnect functionality in rttlua

http://bugs.orocos.org/show_bug.cgi?id=937

Summary: No port disconnect functionality in rttlua
Product: Toolchain
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: Lua
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Created attachment 781
--> http://bugs.orocos.org/attachment.cgi?id=781
patch

Currently it is not possible to disconnect ports in lua. The attached patch
provides both disconnect options:

portA:disconnect() -> disconnects all connected ports from portA
portA:disconnect(portB) -> only disconnects portB from portA

Ruben

[Bug 937] No port disconnect functionality in rttlua

http://bugs.orocos.org/show_bug.cgi?id=937

Markus Klotzbuecher <markus [dot] klotzbuecher [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |markus [dot] klotzbuecher [..] ...
| |leuven.be
Resolution| |FIXED

Ruben Smits's picture

[Bug 937] No port disconnect functionality in rttlua

[Bug 937] New: No port disconnect functionality in rttlua

On Thu, Apr 05, 2012 at 08:30:31AM +0000, Ruben Smits wrote:
>
> http://bugs.orocos.org/show_bug.cgi?id=937
>
> Summary: No port disconnect functionality in rttlua
> Product: Toolchain
> Version: master
> Platform: All
> OS/Version: All
> Status: NEW
> Severity: enhancement
> Priority: P3
> Component: Lua
> AssignedTo: orocos-dev [..] ...
> ReportedBy: ruben [dot] smits [..] ...
> CC: orocos-dev [..] ...
> Estimated Hours: 0.0
>
>
> Created attachment 781
> --> http://bugs.orocos.org/attachment.cgi?id=781
> patch
>
> Currently it is not possible to disconnect ports in lua. The attached patch
> provides both disconnect options:
>
> portA:disconnect() -> disconnects all connected ports from portA
> portA:disconnect(portB) -> only disconnects portB from portA

Great! Could you please also update the docs of both
ocl/lua/docapi/rtt.[In|Out]putPort.luadoc?

Thanks in advance.
Markus

[Bug 937] New: No port disconnect functionality in rttlua

On 04/05/2012 11:01 AM, Markus Klotzbuecher wrote:
> On Thu, Apr 05, 2012 at 08:30:31AM +0000, Ruben Smits wrote:
>>
>> http://bugs.orocos.org/show_bug.cgi?id=937
>>
>> Summary: No port disconnect functionality in rttlua
>> Product: Toolchain
>> Version: master
>> Platform: All
>> OS/Version: All
>> Status: NEW
>> Severity: enhancement
>> Priority: P3
>> Component: Lua
>> AssignedTo: orocos-dev [..] ...
>> ReportedBy: ruben [dot] smits [..] ...
>> CC: orocos-dev [..] ...
>> Estimated Hours: 0.0
>>
>>
>> Created attachment 781
>> --> http://bugs.orocos.org/attachment.cgi?id=781
>> patch
>>
>> Currently it is not possible to disconnect ports in lua. The attached patch
>> provides both disconnect options:
>>
>> portA:disconnect() -> disconnects all connected ports from portA
>> portA:disconnect(portB) -> only disconnects portB from portA
>
> Great! Could you please also update the docs of both
> ocl/lua/docapi/rtt.[In|Out]putPort.luadoc?
>
> Thanks in advance.
> Markus
thanks!
just what I needed! :)

Nick