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

#include <driver.h>

+ Inheritance diagram for cDriver2:

Public Member Functions

 cDriver2 ()
 
 ~cDriver2 ()
 
int init (yarp::os::Searchable &config, bool verbose=true)
 
int uninit ()
 
int receive_message (vector< CanPacket > &canpackets, int howMany=MAX_READ_MSG, double TIMEOUT=1)
 
int send_message (vector< CanPacket > &canpackets, int n)
 
iDriver2Type type ()
 
- Public Member Functions inherited from iDriver2
virtual ~iDriver2 ()
 

Additional Inherited Members

- Public Types inherited from iDriver2
enum  iDriver2Type {
  can_driver2 = 0 ,
  eth_driver2 = 1
}
 

Detailed Description

Definition at line 114 of file driver.h.

Constructor & Destructor Documentation

◆ cDriver2()

cDriver2::cDriver2 ( )

Definition at line 23 of file driver.cpp.

◆ ~cDriver2()

cDriver2::~cDriver2 ( )
inline

Definition at line 118 of file driver.h.

Member Function Documentation

◆ init()

int cDriver2::init ( yarp::os::Searchable &  config,
bool  verbose = true 
)
virtual

Implements iDriver2.

Definition at line 29 of file driver.cpp.

◆ receive_message()

int cDriver2::receive_message ( vector< CanPacket > &  canpackets,
int  howMany = MAX_READ_MSG,
double  TIMEOUT = 1 
)
virtual

Implements iDriver2.

Definition at line 75 of file driver.cpp.

◆ send_message()

int cDriver2::send_message ( vector< CanPacket > &  canpackets,
int  n 
)
virtual

Implements iDriver2.

Definition at line 138 of file driver.cpp.

◆ type()

iDriver2Type cDriver2::type ( )
inlinevirtual

Implements iDriver2.

Definition at line 123 of file driver.h.

◆ uninit()

int cDriver2::uninit ( )
virtual

Implements iDriver2.

Definition at line 64 of file driver.cpp.


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