iCub-main
Loading...
Searching...
No Matches
Public Member Functions | List of all members
yarp::dev::EsdCan Class Reference

ecan : implements yarp::dev::ICanBus for a esd can bus board. More...

#include <EsdCan.h>

+ Inheritance diagram for yarp::dev::EsdCan:

Public Member Functions

 EsdCan ()
 
 ~EsdCan ()
 
virtual bool canSetBaudRate (unsigned int rate)
 
virtual bool canGetBaudRate (unsigned int *rate)
 
virtual bool canIdAdd (unsigned int id)
 
virtual bool canIdDelete (unsigned int id)
 
virtual bool canRead (CanBuffer &msgs, unsigned int size, unsigned int *read, bool wait=false)
 
virtual bool canWrite (const CanBuffer &msgs, unsigned int size, unsigned int *sent, bool wait=false)
 
virtual bool open (yarp::os::Searchable &par)
 
virtual bool close ()
 

Detailed Description

ecan : implements yarp::dev::ICanBus for a esd can bus board.

YARP device name
ecan

Definition at line 102 of file EsdCan.h.

Constructor & Destructor Documentation

◆ EsdCan()

EsdCan::EsdCan ( )

Definition at line 24 of file EsdCan.cpp.

◆ ~EsdCan()

EsdCan::~EsdCan ( )

Definition at line 29 of file EsdCan.cpp.

Member Function Documentation

◆ canGetBaudRate()

bool EsdCan::canGetBaudRate ( unsigned int *  rate)
virtual

Definition at line 52 of file EsdCan.cpp.

◆ canIdAdd()

bool EsdCan::canIdAdd ( unsigned int  id)
virtual

Definition at line 70 of file EsdCan.cpp.

◆ canIdDelete()

bool EsdCan::canIdDelete ( unsigned int  id)
virtual

Definition at line 79 of file EsdCan.cpp.

◆ canRead()

bool EsdCan::canRead ( CanBuffer &  msgs,
unsigned int  size,
unsigned int *  read,
bool  wait = false 
)
virtual

Definition at line 88 of file EsdCan.cpp.

◆ canSetBaudRate()

bool EsdCan::canSetBaudRate ( unsigned int  rate)
virtual

Definition at line 35 of file EsdCan.cpp.

◆ canWrite()

bool EsdCan::canWrite ( const CanBuffer &  msgs,
unsigned int  size,
unsigned int *  sent,
bool  wait = false 
)
virtual

Definition at line 116 of file EsdCan.cpp.

◆ close()

bool EsdCan::close ( )
virtual

Definition at line 183 of file EsdCan.cpp.

◆ open()

bool EsdCan::open ( yarp::os::Searchable &  par)
virtual

Definition at line 148 of file EsdCan.cpp.


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