42 #include <visp3/core/vpConfig.h>
104 vpSerial(
const std::string &port =
"",
unsigned long baudrate = 9600, bytesize_t bytesize = eightbits,
105 parity_t parity = parity_none, stopbits_t stopbits = stopbits_one,
106 flowcontrol_t flowcontrol = flowcontrol_none);
149 bool read(
char *c,
long timeout_s);
150 std::string readline(
const std::string &eol);
151 void setBaudrate(
const unsigned long baudrate);
152 void setBytesize(
const bytesize_t &bytesize);
153 void setFlowcontrol(
const flowcontrol_t &flowcontrol);
154 void setParity(
const parity_t &parity);
155 void setPort(
const std::string &port);
156 void setStopbits(
const stopbits_t &stopbits);
157 void write(
const std::string &s);
169 unsigned long m_baudrate;
172 bytesize_t m_bytesize;
173 stopbits_t m_stopbits;
174 flowcontrol_t m_flowcontrol;
@ flowcontrol_software
Software flow control.
unsigned long getBaudrate()
flowcontrol_t getFlowcontrol()