6#ifndef YARP_DEV_IINTERACTIONMODEIMPL_H
7#define YARP_DEV_IINTERACTIONMODEIMPL_H
14class ImplementInteractionMode;
15class StubImplInteractionModeRaw;
21class FixedSizeBuffersManager;
56 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos);
114 yError(
"%s: not yet implemented\n", func);
116 yError(
"Function not yet implemented\n");
Interface settings the way the robot interacts with the environment: basic interaction types are Stif...
Interface settings the way the robot interacts with the environment: basic interaction types are Stif...
Interface settings the way the robot interacts with the environment: basic interaction types are Stif...
bool setInteractionMode(int axis, yarp::dev::InteractionModeEnum mode) override
Set the interaction mode of the robot, values can be stiff or compliant.
bool getInteractionMode(int axis, yarp::dev::InteractionModeEnum *mode) override
Get the current interaction mode of the robot, values can be stiff or compliant.
yarp::dev::IInteractionModeRaw * iInteraction
bool setInteractionModes(int n_joints, int *joints, yarp::dev::InteractionModeEnum *modes) override
Set the interaction mode of the robot for a set of joints, values can be stiff or compliant.
yarp::dev::impl::FixedSizeBuffersManager< int > * intBuffManager
bool getInteractionModes(int n_joints, int *joints, yarp::dev::InteractionModeEnum *modes) override
Get the current interaction mode of the robot for a set of joints, values can be stiff or compliant.
bool uninitialize()
Clean up internal data and memory.
yarp::dev::impl::FixedSizeBuffersManager< yarp::dev::InteractionModeEnum > * imodeBuffManager
virtual ~ImplementInteractionMode()
Destructor.
bool initialize(int size, const int *amap)
Initialize the internal data and alloc memory, smaller version.
Stub implementation of IInteractionMode interface.
bool getInteractionModeRaw(int axis, yarp::dev::InteractionModeEnum *mode) override
Get the current interaction mode of the robot, values can be stiff or compliant.
bool setInteractionModesRaw(yarp::dev::InteractionModeEnum *modes) override
Set the interaction mode of the robot for a all the joints, values can be stiff or compliant.
bool NOT_YET_IMPLEMENTED(const char *func=0)
Helper for printing error message, see below.
bool setInteractionModesRaw(int n_joints, int *joints, yarp::dev::InteractionModeEnum *modes) override
Set the interaction mode of the robot for a set of joints, values can be stiff or compliant.
virtual ~StubImplInteractionModeRaw()
Destructor.
bool getInteractionModesRaw(int n_joints, int *joints, yarp::dev::InteractionModeEnum *modes) override
Get the current interaction mode of the robot for a set of joints, values can be stiff or compliant.
bool setInteractionModeRaw(int axis, yarp::dev::InteractionModeEnum mode) override
Set the interaction mode of the robot, values can be stiff or compliant.
bool getInteractionModesRaw(yarp::dev::InteractionModeEnum *modes) override
Get the current interaction mode of the robot for a all the joints, values can be stiff or compliant.
A manager of fixed size buffers in multi-thread environment.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.