Skip to content

Commit

Permalink
fixed bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
randaz81 committed May 18, 2022
1 parent e3aeb72 commit 1be46cb
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions bindings/yarp.i
Original file line number Diff line number Diff line change
Expand Up @@ -431,11 +431,6 @@ MAKE_COMMS(Bottle)
%include <yarp/dev/IPositionDirect.h>
%include <yarp/dev/MultipleAnalogSensorsInterfaces.h>

#ifndef YARP_NO_DEPRECATED // Since YARP 3.0.0
%include <yarp/dev/FrameGrabberControl2.h>
%include <yarp/dev/IControlMode2.h>
#endif

#ifndef YARP_NO_DEPRECATED // Since YARP 3.5.0
%include <yarp/dev/IFrameGrabber.h>
%include <yarp/dev/IFrameGrabberRgb.h>
Expand Down Expand Up @@ -817,28 +812,10 @@ typedef yarp::os::BufferedPort<ImageRgbFloat> BufferedPortImageRgbFloat;
CAST_POLYDRIVER_TO_INTERFACE(ITorqueControl)
CAST_POLYDRIVER_TO_INTERFACE(IControlMode)
CAST_POLYDRIVER_TO_INTERFACE(IJointFault)

#ifndef YARP_NO_DEPRECATED // Since YARP 3.0.0
yarp::dev::IControlMode *viewIControlMode2() {
yarp::dev::IControlMode *result;
self->view(result);
return result;
}
#endif

CAST_POLYDRIVER_TO_INTERFACE(IInteractionMode)
CAST_POLYDRIVER_TO_INTERFACE(IPWMControl)
CAST_POLYDRIVER_TO_INTERFACE(ICurrentControl)
CAST_POLYDRIVER_TO_INTERFACE(IAnalogSensor)

#ifndef YARP_NO_DEPRECATED // Since YARP 3.0.0
yarp::dev::IFrameGrabberControls *viewIFrameGrabberControls2() {
yarp::dev::IFrameGrabberControls *result;
self->view(result);
return result;
}
#endif

CAST_POLYDRIVER_TO_INTERFACE(IFrameGrabberControls)
CAST_POLYDRIVER_TO_INTERFACE(IPositionDirect)
CAST_POLYDRIVER_TO_INTERFACE(IRemoteVariables)
Expand Down

0 comments on commit 1be46cb

Please sign in to comment.