iCub-main
Public Member Functions | List of all members
iDriver Class Referenceabstract

#include <driver.h>

+ Inheritance diagram for iDriver:

Public Member Functions

virtual ~iDriver ()
 
virtual int init (yarp::os::Searchable &config)=0
 
virtual int uninit ()=0
 
virtual int receive_message (yarp::dev::CanBuffer &messages, int howMany=MAX_READ_MSG, double TIMEOUT=1)=0
 
virtual int send_message (yarp::dev::CanBuffer &message, int n)=0
 
virtual yarp::dev::CanBuffer createBuffer (int m)=0
 
virtual void destroyBuffer (yarp::dev::CanBuffer &buff)=0
 

Detailed Description

Definition at line 280 of file driver.h.

Constructor & Destructor Documentation

◆ ~iDriver()

virtual iDriver::~iDriver ( )
inlinevirtual

Definition at line 283 of file driver.h.

Member Function Documentation

◆ createBuffer()

virtual yarp::dev::CanBuffer iDriver::createBuffer ( int  m)
pure virtual

Implemented in eDriver, and cDriver.

◆ destroyBuffer()

virtual void iDriver::destroyBuffer ( yarp::dev::CanBuffer &  buff)
pure virtual

Implemented in eDriver, and cDriver.

◆ init()

virtual int iDriver::init ( yarp::os::Searchable &  config)
pure virtual

Implemented in eDriver, and cDriver.

◆ receive_message()

virtual int iDriver::receive_message ( yarp::dev::CanBuffer &  messages,
int  howMany = MAX_READ_MSG,
double  TIMEOUT = 1 
)
pure virtual

Implemented in eDriver, and cDriver.

◆ send_message()

virtual int iDriver::send_message ( yarp::dev::CanBuffer &  message,
int  n 
)
pure virtual

Implemented in eDriver, and cDriver.

◆ uninit()

virtual int iDriver::uninit ( )
pure virtual

Implemented in eDriver, and cDriver.


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