iCub-main
Public Member Functions | List of all members
cDriver Class Reference

#include <driver.h>

+ Inheritance diagram for cDriver:

Public Member Functions

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

Detailed Description

Definition at line 294 of file driver.h.

Constructor & Destructor Documentation

◆ cDriver()

cDriver::cDriver ( )

Definition at line 485 of file driver.cpp.

◆ ~cDriver()

cDriver::~cDriver ( )
inline

Definition at line 302 of file driver.h.

Member Function Documentation

◆ createBuffer()

yarp::dev::CanBuffer cDriver::createBuffer ( int  m)
virtual

Implements iDriver.

Definition at line 593 of file driver.cpp.

◆ destroyBuffer()

void cDriver::destroyBuffer ( yarp::dev::CanBuffer &  buff)
virtual

Implements iDriver.

Definition at line 599 of file driver.cpp.

◆ init()

int cDriver::init ( yarp::os::Searchable &  config)
virtual

Implements iDriver.

Definition at line 490 of file driver.cpp.

◆ receive_message()

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

Implements iDriver.

Definition at line 525 of file driver.cpp.

◆ send_message()

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

Implements iDriver.

Definition at line 580 of file driver.cpp.

◆ uninit()

int cDriver::uninit ( )
virtual

Implements iDriver.

Definition at line 518 of file driver.cpp.


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