|
Thunderbots Project
|


Public Member Functions | |
| MOCK_METHOD1 (serialWrite, bool(const std::vector< unsigned char > &write_val)) | |
| MOCK_METHOD1 (serialRead, std::vector< unsigned char >(size_t num_read_bytes)) | |
| MOCK_METHOD1 (flushSerialPort, bool(FlushType flush_type)) | |
Public Member Functions inherited from UartCommunication | |
| UartCommunication (const UartCommunication &)=delete | |
| UartCommunication & | operator= (const UartCommunication &)=delete |
| virtual bool | serialWrite (const std::vector< unsigned char > &write_val)=0 |
| virtual std::vector< unsigned char > | serialRead (size_t num_read_bytes)=0 |
| virtual bool | flushSerialPort (FlushType flush_type)=0 |
Additional Inherited Members | |
Public Types inherited from UartCommunication | |
| enum | FlushType { flush_receive = TCIFLUSH , flush_send = TCOFLUSH , flush_both = TCIOFLUSH } |