YARP
Yet Another Robot Platform
yarp::dev::ImplementRemoteVariables Class Reference

#include <yarp/dev/ImplementRemoteVariables.h>

+ Inheritance diagram for yarp::dev::ImplementRemoteVariables:

Public Member Functions

 ImplementRemoteVariables (yarp::dev::IRemoteVariablesRaw *y)
 
virtual ~ImplementRemoteVariables ()
 
bool getRemoteVariable (std::string key, yarp::os::Bottle &val) override
 
bool setRemoteVariable (std::string key, const yarp::os::Bottle &val) override
 
bool getRemoteVariablesList (yarp::os::Bottle *listOfKeys) override
 
- Public Member Functions inherited from yarp::dev::IRemoteVariables
virtual ~IRemoteVariables ()
 Destructor. More...
 

Protected Member Functions

bool initialize (int size, const int *amap)
 Initialize the internal data and alloc memory. More...
 
bool uninitialize ()
 Clean up internal data and memory. More...
 

Protected Attributes

IRemoteVariablesRawivar
 
void * helper
 
double * temp1
 
double * temp2
 

Detailed Description

Definition at line 20 of file ImplementRemoteVariables.h.

Constructor & Destructor Documentation

◆ ImplementRemoteVariables()

ImplementRemoteVariables::ImplementRemoteVariables ( yarp::dev::IRemoteVariablesRaw y)

Definition at line 17 of file ImplementRemoteVariables.cpp.

◆ ~ImplementRemoteVariables()

ImplementRemoteVariables::~ImplementRemoteVariables ( )
virtual

Definition at line 25 of file ImplementRemoteVariables.cpp.

Member Function Documentation

◆ getRemoteVariable()

bool ImplementRemoteVariables::getRemoteVariable ( std::string  key,
yarp::os::Bottle val 
)
overridevirtual

Implements yarp::dev::IRemoteVariables.

Definition at line 62 of file ImplementRemoteVariables.cpp.

◆ getRemoteVariablesList()

bool ImplementRemoteVariables::getRemoteVariablesList ( yarp::os::Bottle listOfKeys)
overridevirtual

Implements yarp::dev::IRemoteVariables.

Definition at line 77 of file ImplementRemoteVariables.cpp.

◆ initialize()

bool ImplementRemoteVariables::initialize ( int  size,
const int *  amap 
)
protected

Initialize the internal data and alloc memory.

Parameters
sizeis the number of controlled axes the driver deals with.
amapis a lookup table mapping axes onto physical drivers.
Returns
true if initialized succeeded, false if it wasn't executed, or assert.

Definition at line 30 of file ImplementRemoteVariables.cpp.

◆ setRemoteVariable()

bool ImplementRemoteVariables::setRemoteVariable ( std::string  key,
const yarp::os::Bottle val 
)
overridevirtual

Implements yarp::dev::IRemoteVariables.

Definition at line 69 of file ImplementRemoteVariables.cpp.

◆ uninitialize()

bool ImplementRemoteVariables::uninitialize ( )
protected

Clean up internal data and memory.

Returns
true if uninitialization is executed, false otherwise.

Definition at line 48 of file ImplementRemoteVariables.cpp.

Member Data Documentation

◆ helper

void* yarp::dev::ImplementRemoteVariables::helper
protected

Definition at line 24 of file ImplementRemoteVariables.h.

◆ ivar

IRemoteVariablesRaw* yarp::dev::ImplementRemoteVariables::ivar
protected

Definition at line 23 of file ImplementRemoteVariables.h.

◆ temp1

double* yarp::dev::ImplementRemoteVariables::temp1
protected

Definition at line 25 of file ImplementRemoteVariables.h.

◆ temp2

double* yarp::dev::ImplementRemoteVariables::temp2
protected

Definition at line 26 of file ImplementRemoteVariables.h.


The documentation for this class was generated from the following files: