6#ifndef YARP_DEV_IINTERACTIONMODEIMPL_H
7#define YARP_DEV_IINTERACTIONMODEIMPL_H
15class ImplementInteractionMode;
16class StubImplInteractionModeRaw;
22class FixedSizeBuffersManager;
36 void* m_helper=
nullptr;
59 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos);
#define YARP_METHOD_NOT_YET_IMPLEMENTED()
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...
yarp::dev::ReturnValue setInteractionModes(const std::vector< int > &joints, const std::vector< yarp::dev::InteractionModeEnum > &modes) override
Set the interaction mode of the robot for a set of joints, values can be stiff or compliant.
std::vector< double > m_buffer_doubles
bool uninitialize()
Clean up internal data and memory.
yarp::dev::ReturnValue setInteractionMode(int axis, yarp::dev::InteractionModeEnum mode) override
Set the interaction mode of the robot, values can be stiff or compliant.
std::vector< int > m_buffer_ints
virtual ~ImplementInteractionMode()
Destructor.
std::vector< yarp::dev::InteractionModeEnum > m_buffer_enums
yarp::dev::ReturnValue getInteractionMode(int axis, yarp::dev::InteractionModeEnum &mode) override
Get the current interaction mode of the robot, values can be stiff or compliant.
yarp::dev::ReturnValue getInteractionModes(const std::vector< int > &joints, std::vector< 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 initialize(int size, const int *amap)
Initialize the internal data and alloc memory, smaller version.
Stub implementation of IInteractionMode interface.
yarp::dev::ReturnValue getInteractionModeRaw(int axis, yarp::dev::InteractionModeEnum &mode) override
Get the current interaction mode of the robot, values can be stiff or compliant.
yarp::dev::ReturnValue getInteractionModesRaw(const std::vector< int > &joints, std::vector< yarp::dev::InteractionModeEnum > &modes) override
Get the current interaction mode of the robot for a set of joints, values can be stiff or compliant.
yarp::dev::ReturnValue getInteractionModesRaw(std::vector< yarp::dev::InteractionModeEnum > &modes) override
Get the current interaction mode of the robot for a all the joints, values can be stiff or compliant.
virtual ~StubImplInteractionModeRaw()
Destructor.
yarp::dev::ReturnValue setInteractionModeRaw(int axis, yarp::dev::InteractionModeEnum mode) override
Set the interaction mode of the robot, values can be stiff or compliant.
yarp::dev::ReturnValue setInteractionModesRaw(const std::vector< int > &joints, const std::vector< 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::ReturnValue setInteractionModesRaw(const std::vector< yarp::dev::InteractionModeEnum > &modes) override
Set the interaction mode of the robot for a all the joints, values can be stiff or compliant.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.