iCub-main
Public Types | Public Member Functions | List of all members
iDriver2 Class Referenceabstract

#include <driver.h>

+ Inheritance diagram for iDriver2:

Public Types

enum  iDriver2Type {
  can_driver2 = 0 ,
  eth_driver2 = 1
}
 

Public Member Functions

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

Detailed Description

Definition at line 94 of file driver.h.

Member Enumeration Documentation

◆ iDriver2Type

Enumerator
can_driver2 
eth_driver2 

Definition at line 97 of file driver.h.

Constructor & Destructor Documentation

◆ ~iDriver2()

virtual iDriver2::~iDriver2 ( )
inlinevirtual

Definition at line 99 of file driver.h.

Member Function Documentation

◆ init()

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

Implemented in eDriver2, and cDriver2.

◆ receive_message()

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

Implemented in eDriver2, and cDriver2.

◆ send_message()

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

Implemented in eDriver2, and cDriver2.

◆ type()

virtual iDriver2Type iDriver2::type ( )
pure virtual

Implemented in eDriver2, and cDriver2.

◆ uninit()

virtual int iDriver2::uninit ( )
pure virtual

Implemented in eDriver2, and cDriver2.


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