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

#include <embObjPSC.h>

+ Inheritance diagram for yarp::dev::embObjPSC:

Public Member Functions

 embObjPSC ()
 
 ~embObjPSC ()
 
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 35 of file embObjPSC.h.

Constructor & Destructor Documentation

◆ embObjPSC()

embObjPSC::embObjPSC ( )

Definition at line 63 of file embObjPSC.cpp.

◆ ~embObjPSC()

embObjPSC::~embObjPSC ( )

Definition at line 69 of file embObjPSC.cpp.

Member Function Documentation

◆ calibrateChannel() [1/2]

int embObjPSC::calibrateChannel ( int  ch)
virtual

Definition at line 295 of file embObjPSC.cpp.

◆ calibrateChannel() [2/2]

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

Definition at line 301 of file embObjPSC.cpp.

◆ calibrateSensor() [1/2]

int embObjPSC::calibrateSensor ( )
virtual

Definition at line 283 of file embObjPSC.cpp.

◆ calibrateSensor() [2/2]

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

Definition at line 289 of file embObjPSC.cpp.

◆ close()

bool embObjPSC::close ( void  )

Definition at line 341 of file embObjPSC.cpp.

◆ getChannels()

int embObjPSC::getChannels ( )
virtual

Definition at line 277 of file embObjPSC.cpp.

◆ getState()

int embObjPSC::getState ( int  ch)
virtual

Definition at line 270 of file embObjPSC.cpp.

◆ initialised()

bool embObjPSC::initialised ( )
virtual

Implements eth::IethResource.

Definition at line 75 of file embObjPSC.cpp.

◆ open()

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

Definition at line 83 of file embObjPSC.cpp.

◆ read()

int embObjPSC::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 253 of file embObjPSC.cpp.

◆ type()

eth::iethresType_t embObjPSC::type ( )
virtual

Implements eth::IethResource.

Definition at line 307 of file embObjPSC.cpp.

◆ update()

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

Implements eth::IethResource.

Definition at line 313 of file embObjPSC.cpp.


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