#include <RobotAPI/drivers/WeissHapticSensor/SerialInterface.h>
|
void | close () override |
|
int | open () override |
|
| SerialInterface (const char *device, const unsigned int bitrate) |
|
std::string | toString () const override |
|
| ~SerialInterface () override |
|
| AbstractInterface () |
|
void | fireAndForgetCmd (unsigned char id, unsigned char *payload, unsigned int len, bool pending) |
|
bool | IsConnected () const |
|
void | logText (std::string message) |
|
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) |
|
int | write (unsigned char *buf, unsigned int len) |
|
virtual | ~AbstractInterface () |
|
Definition at line 30 of file SerialInterface.h.
◆ SerialInterface()
◆ ~SerialInterface()
◆ close()
◆ open()
◆ readInternal()
int readInternal |
( |
unsigned char * |
buf, |
|
|
unsigned int |
len |
|
) |
| |
|
overrideprotectedvirtual |
◆ toString()
std::string toString |
( |
| ) |
const |
|
overridevirtual |
◆ writeInternal()
int writeInternal |
( |
unsigned char * |
buf, |
|
|
unsigned int |
len |
|
) |
| |
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files: