Yarp: BufferedPort has method isClosed() and Port has method isOpen()

Created on 12 Nov 2019  路  3Comments  路  Source: robotology/yarp

The title is quite explanatory of the API issue :sweat_smile:

YARP v3.2.1 Library - YARP_os API Bug

Most helpful comment

We should probably have both methods in both classes

All 3 comments

We should probably have both methods in both classes

  • isClosed() comes from TypedReader from which BufferedPort is derived
  • isOpen() is defined in Port
  • open() and close() are defined in Contactable

I think it would be a good idea to move both isOpen and isClosed in Contactable, but this is a small API/ABI break.

I think it would be a good idea to move both isOpen and isClosed in Contactable, but this is a small API/ABI break.

Totally agree.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lornat75 picture lornat75  路  4Comments

S-Dafarra picture S-Dafarra  路  3Comments

jeljaik picture jeljaik  路  3Comments

Nicogene picture Nicogene  路  3Comments

diegoferigo picture diegoferigo  路  3Comments