13 #ifndef RTDM_SERIALPORT_H
14 #define RTDM_SERIALPORT_H
74 ssize_t
Write(
const void *buf,
size_t nbyte);
84 ssize_t
Read(
void *buf,
size_t nbyte);
98 #endif // RTDM_SERIALPORT_H
ssize_t Write(const void *buf, size_t nbyte)
Write datas.
Base class for all Framework's classes.
Definition: Object.h:77
namespace of the flair Framework
Definition: Ahrs.h:19
void SetBaudrate(int baudrate)
Set baudrate.
unsigned long long Time
Time definition, in ns.
Definition: Object.h:49
RTDM_SerialPort(const Object *parent, std::string port_name, std::string device)
Constructor.
Base class for serial port.
Definition: SerialPort.h:25
~RTDM_SerialPort()
Destructor.
Class for real time serial port using RTDM.
Definition: RTDM_SerialPort.h:27
ssize_t Read(void *buf, size_t nbyte)
Read datas.
void FlushInput(void)
Flush input datas.
void SetRxTimeout(Time timeout_ns)
Set RX timeout.
Base class for serial port.