yarp
yarp copied to clipboard
Const correctness in YARP
Several methods in yarp classes should be const but are not.
This is a ZenHub "Epic" to collect them all
Please excuse me, I'm probably not posting in the right place. This is to note that joint-group commands in yarp::dev::IInteractionMode(Raw) lack a const in the second, int * parameter:
https://github.com/robotology/yarp/blob/fe0de91d52fcdf1e3ba46f5b8a9c0a551de46c18/src/libYARP_dev/include/yarp/dev/IInteractionMode.h#L70
https://github.com/robotology/yarp/blob/fe0de91d52fcdf1e3ba46f5b8a9c0a551de46c18/src/libYARP_dev/include/yarp/dev/IInteractionMode.h#L103
https://github.com/robotology/yarp/blob/fe0de91d52fcdf1e3ba46f5b8a9c0a551de46c18/src/libYARP_dev/include/yarp/dev/IInteractionMode.h#L150
https://github.com/robotology/yarp/blob/fe0de91d52fcdf1e3ba46f5b8a9c0a551de46c18/src/libYARP_dev/include/yarp/dev/IInteractionMode.h#L183