Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Const correctness in YARP #1618

Open
drdanz opened this issue Mar 23, 2018 · 1 comment
Open

Const correctness in YARP #1618

drdanz opened this issue Mar 23, 2018 · 1 comment
Labels
Issue Type: API Bug This is a bug in the API Type: Epic
Milestone

Comments

@drdanz
Copy link
Member

drdanz commented Mar 23, 2018

Several methods in yarp classes should be const but are not.
This is a ZenHub "Epic" to collect them all

@drdanz drdanz changed the title Const correctness Const correctness in YARP Mar 23, 2018
@PeterBowman
Copy link
Member

PeterBowman commented Sep 28, 2019

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:

virtual bool getInteractionModes(int n_joints, int *joints, yarp::dev::InteractionModeEnum* modes)=0;

virtual bool setInteractionModes(int n_joints, int *joints, yarp::dev::InteractionModeEnum* modes)=0;

virtual bool getInteractionModesRaw(int n_joints, int *joints, yarp::dev::InteractionModeEnum* modes)=0;

virtual bool setInteractionModesRaw(int n_joints, int *joints, yarp::dev::InteractionModeEnum* modes)=0;

@drdanz drdanz added this to the YARP 4.0.0 milestone Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue Type: API Bug This is a bug in the API Type: Epic
Projects
None yet
Development

No branches or pull requests

3 participants