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

#include <embObjMais.h>

+ Inheritance diagram for yarp::dev::embObjMais:

Public Types

enum  {
  mais_Channels = 15 ,
  mais_FormatData = 8
}
 

Public Member Functions

 embObjMais ()
 
 ~embObjMais ()
 
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 ()
 

Detailed Description

Definition at line 39 of file embObjMais.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
mais_Channels 
mais_FormatData 

Definition at line 46 of file embObjMais.h.

Constructor & Destructor Documentation

◆ embObjMais()

embObjMais::embObjMais ( )

Definition at line 121 of file embObjMais.cpp.

◆ ~embObjMais()

embObjMais::~embObjMais ( )

Definition at line 155 of file embObjMais.cpp.

Member Function Documentation

◆ calibrateChannel() [1/2]

int embObjMais::calibrateChannel ( int  ch)
virtual

Definition at line 521 of file embObjMais.cpp.

◆ calibrateChannel() [2/2]

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

Definition at line 527 of file embObjMais.cpp.

◆ calibrateSensor() [1/2]

int embObjMais::calibrateSensor ( )
virtual

Definition at line 509 of file embObjMais.cpp.

◆ calibrateSensor() [2/2]

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

Definition at line 515 of file embObjMais.cpp.

◆ close()

bool embObjMais::close ( void  )

Definition at line 582 of file embObjMais.cpp.

◆ getChannels()

int embObjMais::getChannels ( )
virtual

Definition at line 503 of file embObjMais.cpp.

◆ getState()

int embObjMais::getState ( int  ch)
virtual

Definition at line 496 of file embObjMais.cpp.

◆ initialised()

bool embObjMais::initialised ( )
virtual

Implements eth::IethResource.

Definition at line 168 of file embObjMais.cpp.

◆ open()

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

Definition at line 176 of file embObjMais.cpp.

◆ read()

int embObjMais::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 434 of file embObjMais.cpp.

◆ type()

eth::iethresType_t embObjMais::type ( )
virtual

Implements eth::IethResource.

Definition at line 533 of file embObjMais.cpp.

◆ update()

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

Implements eth::IethResource.

Definition at line 539 of file embObjMais.cpp.


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