YARP
Yet Another Robot Platform
yarp::dev::ICanBus Class Referenceabstract

Interface for a can bus device. More...

#include <yarp/dev/CanBusInterface.h>

Public Member Functions

virtual ~ICanBus ()
 
virtual bool canSetBaudRate (unsigned int rate)=0
 
virtual bool canGetBaudRate (unsigned int *rate)=0
 
virtual bool canIdAdd (unsigned int id)=0
 
virtual bool canIdDelete (unsigned int id)=0
 
virtual bool canRead (CanBuffer &msgs, unsigned int size, unsigned int *read, bool wait=false)=0
 
virtual bool canWrite (const CanBuffer &msgs, unsigned int size, unsigned int *sent, bool wait=false)=0
 

Detailed Description

Interface for a can bus device.

Definition at line 173 of file CanBusInterface.h.

Constructor & Destructor Documentation

◆ ~ICanBus()

virtual yarp::dev::ICanBus::~ICanBus ( )
inlinevirtual

Definition at line 176 of file CanBusInterface.h.

Member Function Documentation

◆ canGetBaudRate()

virtual bool yarp::dev::ICanBus::canGetBaudRate ( unsigned int *  rate)
pure virtual

◆ canIdAdd()

virtual bool yarp::dev::ICanBus::canIdAdd ( unsigned int  id)
pure virtual

◆ canIdDelete()

virtual bool yarp::dev::ICanBus::canIdDelete ( unsigned int  id)
pure virtual

◆ canRead()

virtual bool yarp::dev::ICanBus::canRead ( CanBuffer msgs,
unsigned int  size,
unsigned int *  read,
bool  wait = false 
)
pure virtual

◆ canSetBaudRate()

virtual bool yarp::dev::ICanBus::canSetBaudRate ( unsigned int  rate)
pure virtual

◆ canWrite()

virtual bool yarp::dev::ICanBus::canWrite ( const CanBuffer msgs,
unsigned int  size,
unsigned int *  sent,
bool  wait = false 
)
pure virtual

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