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

cfw2can : driver implementing the yarp::dev::ICanBus interface for a cfw2 can bus device (cfw2 pc104 card). More...

#include <Cfw2Can.h>

+ Inheritance diagram for yarp::dev::Cfw2Can:

Public Member Functions

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

cfw2can : driver implementing the yarp::dev::ICanBus interface for a cfw2 can bus device (cfw2 pc104 card).

YARP device name
cfw2can

Definition at line 95 of file Cfw2Can.h.

Constructor & Destructor Documentation

◆ Cfw2Can()

Cfw2Can::Cfw2Can ( )

Definition at line 22 of file Cfw2Can.cpp.

◆ ~Cfw2Can()

Cfw2Can::~Cfw2Can ( )

Definition at line 27 of file Cfw2Can.cpp.

Member Function Documentation

◆ canGetBaudRate()

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

Definition at line 39 of file Cfw2Can.cpp.

◆ canIdAdd()

bool Cfw2Can::canIdAdd ( unsigned int  id)
virtual

Definition at line 46 of file Cfw2Can.cpp.

◆ canIdDelete()

bool Cfw2Can::canIdDelete ( unsigned int  id)
virtual

Definition at line 56 of file Cfw2Can.cpp.

◆ canRead()

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

Definition at line 66 of file Cfw2Can.cpp.

◆ canSetBaudRate()

bool Cfw2Can::canSetBaudRate ( unsigned int  rate)
virtual

Definition at line 33 of file Cfw2Can.cpp.

◆ canWrite()

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

Definition at line 85 of file Cfw2Can.cpp.

◆ close()

bool Cfw2Can::close ( )
virtual

Definition at line 141 of file Cfw2Can.cpp.

◆ open()

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

Definition at line 107 of file Cfw2Can.cpp.


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