#include <RobotAPI/drivers/WeissHapticSensor/AbstractInterface.h>
|
| AbstractInterface () |
|
virtual void | close ()=0 |
|
void | fireAndForgetCmd (unsigned char id, unsigned char *payload, unsigned int len, bool pending) |
|
bool | IsConnected () const |
|
void | logText (std::string message) |
|
virtual int | open ()=0 |
|
int | read (unsigned char *buf, unsigned int len) |
|
Response | receive (bool pending, unsigned char expectedId) |
|
int | receive (msg_t *msg) |
|
Response | receiveWithoutChecks () |
|
int | send (unsigned char id, unsigned int len, unsigned char *data) |
|
void | startLogging (std::string file) |
|
Response | submitCmd (unsigned char id, unsigned char *payload, unsigned int len, bool pending) |
|
virtual std::string | toString () const =0 |
|
int | write (unsigned char *buf, unsigned int len) |
|
virtual | ~AbstractInterface () |
|
|
virtual int | readInternal (unsigned char *buf, unsigned int len)=0 |
|
virtual int | writeInternal (unsigned char *buf, unsigned int len)=0 |
|
Definition at line 49 of file AbstractInterface.h.
◆ AbstractInterface()
◆ ~AbstractInterface()
◆ close()
◆ fireAndForgetCmd()
void fireAndForgetCmd |
( |
unsigned char |
id, |
|
|
unsigned char * |
payload, |
|
|
unsigned int |
len, |
|
|
bool |
pending |
|
) |
| |
◆ IsConnected()
bool IsConnected |
( |
| ) |
const |
|
inline |
◆ logText()
void logText |
( |
std::string |
message | ) |
|
◆ open()
◆ read()
int read |
( |
unsigned char * |
buf, |
|
|
unsigned int |
len |
|
) |
| |
◆ readInternal()
virtual int readInternal |
( |
unsigned char * |
buf, |
|
|
unsigned int |
len |
|
) |
| |
|
protectedpure virtual |
◆ receive() [1/2]
Response receive |
( |
bool |
pending, |
|
|
unsigned char |
expectedId |
|
) |
| |
◆ receive() [2/2]
int receive |
( |
msg_t * |
msg | ) |
|
◆ receiveWithoutChecks()
◆ send()
int send |
( |
unsigned char |
id, |
|
|
unsigned int |
len, |
|
|
unsigned char * |
data |
|
) |
| |
◆ startLogging()
void startLogging |
( |
std::string |
file | ) |
|
◆ submitCmd()
Response submitCmd |
( |
unsigned char |
id, |
|
|
unsigned char * |
payload, |
|
|
unsigned int |
len, |
|
|
bool |
pending |
|
) |
| |
◆ toString()
virtual std::string toString |
( |
| ) |
const |
|
pure virtual |
◆ write()
int write |
( |
unsigned char * |
buf, |
|
|
unsigned int |
len |
|
) |
| |
◆ writeInternal()
virtual int writeInternal |
( |
unsigned char * |
buf, |
|
|
unsigned int |
len |
|
) |
| |
|
protectedpure virtual |
◆ operator<<
◆ connected
The documentation for this class was generated from the following files: