Go to the documentation of this file.
40 #ifndef SERIAL_IMPL_UNIX_H
41 #define SERIAL_IMPL_UNIX_H
51 using std::invalid_argument;
69 unsigned long baudrate,
96 read (uint8_t *buf,
size_t size = 1);
219 #endif // SERIAL_IMPL_UNIX_H
221 #endif // !defined(_WIN32)
bool waitReadable(uint32_t timeout)
void sendBreak(int duration)
SerialImpl(const string &port, unsigned long baudrate, bytesize_t bytesize, parity_t parity, stopbits_t stopbits, flowcontrol_t flowcontrol)
parity_t getParity() const
stopbits_t getStopbits() const
void setTimeout(Timeout &timeout)
void setBreak(bool level)
void setParity(parity_t parity)
MillisecondTimer(const uint32_t millis)
size_t write(const uint8_t *data, size_t length)
flowcontrol_t getFlowcontrol() const
void setFlowcontrol(flowcontrol_t flowcontrol)
void waitByteTimes(size_t count)
void setPort(const string &port)
void setStopbits(stopbits_t stopbits)
void setBaudrate(unsigned long baudrate)
static timespec timespec_now()
void setBytesize(bytesize_t bytesize)
pthread_mutex_t read_mutex
TFSIMD_FORCE_INLINE tfScalar length(const Quaternion &q)
size_t read(uint8_t *buf, size_t size=1)
pthread_mutex_t write_mutex
flowcontrol_t flowcontrol_
Timeout getTimeout() const
bytesize_t getBytesize() const
unsigned long getBaudrate() const