3#include <NDEVR/Connection.h>
21 virtual uint04 peek(
char* s,
uint04 size)
const override;
23 virtual void tx(
const String& command)
override;
25 virtual void close()
override;
26 virtual bool isOpen()
const override;
27 virtual uint04 bytesAvailable()
const override;
30 virtual bool waitForReadyRead(
const TimeSpan& span)
override;
31 void handleSerialPortError(
int error,
ProgressInfo* log);
32 static void ToString(
const QSerialPort& value,
String&
string);
33 static void FromString(
const String&
string, QSerialPort& value);
36 String threadID()
const override;
38 QSerialPort* m_serial_port =
nullptr;
44 virtual bool handlesType(
const String& request)
const override;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition Connection.h:134
Definition Connection.h:155
Definition ProgressInfo.hpp:43
Definition SerialPortConnection.h:42
Definition SerialPortConnection.h:17
TranslatedString m_last_error
Definition SerialPortConnection.h:39
Definition TranslatedString.h:9
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
ConnectionOpenType
Definition Connection.h:69
Definition Connection.h:87
Definition Connection.h:120
Definition BaseValues.hpp:272
Definition SerialPortConnection.h:8
uint04 parity
Definition SerialPortConnection.h:12
uint04 flow_control
Definition SerialPortConnection.h:14
uint04 stop_bits
Definition SerialPortConnection.h:13
String port_name
Definition SerialPortConnection.h:9
uint04 baud_rate
Definition SerialPortConnection.h:10
uint04 data_bits
Definition SerialPortConnection.h:11