6#ifndef YARP_IPOSITIONDIRECTIMPL_H
7#define YARP_IPOSITIONDIRECTIMPL_H
13class ImplementPositionDirect;
14class StubImplPositionDirectRaw;
20class FixedSizeBuffersManager;
33 void* m_helper=
nullptr;
47 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos);
#define YARP_METHOD_NOT_YET_IMPLEMENTED()
Interface for a generic control board device implementing position control in encoder coordinates.
Interface for a generic control board device implementing position control.
Default implementation of the IPositionDirect interface.
virtual ~ImplementPositionDirect()
Destructor.
bool uninitialize()
Clean up internal data and memory.
yarp::dev::ReturnValue getRefPosition(const int joint, double *ref) override
Get the last position reference for the specified axis.
yarp::dev::ReturnValue getRefPositions(double *refs) override
Get the last position reference for all axes.
yarp::dev::ReturnValue setPositions(const int n_joint, const int *joints, const double *refs) override
Set new reference point for all axes.
bool initialize(int size, const int *amap, const double *enc, const double *zos)
Initialize the internal data and alloc memory.
std::vector< int > m_buffer_ints
std::vector< double > m_buffer_doubles
yarp::dev::ReturnValue getAxes(size_t &axes) override
Get the number of controlled axes.
yarp::dev::ReturnValue setPosition(int j, double ref) override
Set new position for a single axis.
Stub implementation of IPositionControl2Raw interface.
yarp::dev::ReturnValue setPosition(int j, double ref) override
Set new position for a single axis.
yarp::dev::ReturnValue setPositions(const double *refs) override
Set new position for a set of axis.
virtual ~StubImplPositionDirectRaw()
yarp::dev::ReturnValue setPositions(const int n_joint, const int *joints, const double *refs) override
Set new reference point for all axes.
yarp::dev::ReturnValue getAxes(size_t &axis) override
Get the number of controlled axes.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.