iCub-main
Public Member Functions | List of all members
yarp::dev::embObjPOS Class Reference

#include <embObjPOS.h>

+ Inheritance diagram for yarp::dev::embObjPOS:

Public Member Functions

 embObjPOS ()
 
 ~embObjPOS ()
 
bool open (yarp::os::Searchable &config)
 
bool close ()
 
virtual int read (yarp::sig::Vector &out)
 Read a vector from the sensor. More...
 
virtual int getState (int ch)
 
virtual int getChannels ()
 
virtual int calibrateChannel (int ch, double v)
 
virtual int calibrateSensor ()
 
virtual int calibrateSensor (const yarp::sig::Vector &value)
 
virtual int calibrateChannel (int ch)
 
virtual bool initialised ()
 
virtual eth::iethresType_t type ()
 
virtual bool update (eOprotID32_t id32, double timestamp, void *rxdata)
 
- Public Member Functions inherited from eth::IethResource
virtual ~IethResource ()
 
const char * stringOfType ()
 
virtual bool getEntityName (uint32_t entityId, std::string &entityName)
 

Detailed Description

Definition at line 33 of file embObjPOS.h.

Constructor & Destructor Documentation

◆ embObjPOS()

embObjPOS::embObjPOS ( )

Definition at line 63 of file embObjPOS.cpp.

◆ ~embObjPOS()

embObjPOS::~embObjPOS ( )

Definition at line 68 of file embObjPOS.cpp.

Member Function Documentation

◆ calibrateChannel() [1/2]

int embObjPOS::calibrateChannel ( int  ch)
virtual

Definition at line 308 of file embObjPOS.cpp.

◆ calibrateChannel() [2/2]

int embObjPOS::calibrateChannel ( int  ch,
double  v 
)
virtual

Definition at line 314 of file embObjPOS.cpp.

◆ calibrateSensor() [1/2]

int embObjPOS::calibrateSensor ( )
virtual

Definition at line 296 of file embObjPOS.cpp.

◆ calibrateSensor() [2/2]

int embObjPOS::calibrateSensor ( const yarp::sig::Vector &  value)
virtual

Definition at line 302 of file embObjPOS.cpp.

◆ close()

bool embObjPOS::close ( void  )

Definition at line 354 of file embObjPOS.cpp.

◆ getChannels()

int embObjPOS::getChannels ( )
virtual

Definition at line 290 of file embObjPOS.cpp.

◆ getState()

int embObjPOS::getState ( int  ch)
virtual

Definition at line 283 of file embObjPOS.cpp.

◆ initialised()

bool embObjPOS::initialised ( )
virtual

Implements eth::IethResource.

Definition at line 74 of file embObjPOS.cpp.

◆ open()

bool embObjPOS::open ( yarp::os::Searchable &  config)

Definition at line 80 of file embObjPOS.cpp.

◆ read()

int embObjPOS::read ( yarp::sig::Vector &  out)
virtual

Read a vector from the sensor.

Parameters
outa vector containing the sensor's last readings.
Returns
AS_OK or return code. AS_TIMEOUT if the sensor timed-out.

Definition at line 266 of file embObjPOS.cpp.

◆ type()

eth::iethresType_t embObjPOS::type ( )
virtual

Implements eth::IethResource.

Definition at line 320 of file embObjPOS.cpp.

◆ update()

bool embObjPOS::update ( eOprotID32_t  id32,
double  timestamp,
void *  rxdata 
)
virtual

Implements eth::IethResource.

Definition at line 326 of file embObjPOS.cpp.


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