iCub-main
Loading...
Searching...
No Matches
Public Member Functions | List of all members
eDriver2 Class Reference

#include <driver.h>

+ Inheritance diagram for eDriver2:

Public Member Functions

 eDriver2 ()
 
 ~eDriver2 ()
 
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 ()
 
void set_verbose (bool v)
 
- 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 147 of file driver.h.

Constructor & Destructor Documentation

◆ eDriver2()

eDriver2::eDriver2 ( )

Definition at line 193 of file driver.cpp.

◆ ~eDriver2()

eDriver2::~eDriver2 ( )

Definition at line 199 of file driver.cpp.

Member Function Documentation

◆ init()

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

Implements iDriver2.

Definition at line 206 of file driver.cpp.

◆ receive_message()

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

Implements iDriver2.

Definition at line 378 of file driver.cpp.

◆ send_message()

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

Implements iDriver2.

Definition at line 429 of file driver.cpp.

◆ set_verbose()

void eDriver2::set_verbose ( bool  v)

◆ type()

iDriver2Type eDriver2::type ( )
inlinevirtual

Implements iDriver2.

Definition at line 156 of file driver.h.

◆ uninit()

int eDriver2::uninit ( )
virtual

Implements iDriver2.

Definition at line 366 of file driver.cpp.


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