42 #include <visp3/core/vpConfig.h>
108 flowcontrol_none = 0,
113 vpSerial(
const std::string &port =
"",
unsigned long baudrate = 9600, bytesize_t bytesize = eightbits,
114 parity_t parity = parity_none, stopbits_t stopbits = stopbits_one,
115 flowcontrol_t flowcontrol = flowcontrol_none);
158 bool read(
char *c,
long timeout_s);
159 std::string readline(
const std::string &eol);
160 void setBaudrate(
const unsigned long baudrate);
161 void setBytesize(
const bytesize_t &bytesize);
162 void setFlowcontrol(
const flowcontrol_t &flowcontrol);
163 void setParity(
const parity_t &parity);
164 void setPort(
const std::string &port);
165 void setStopbits(
const stopbits_t &stopbits);
166 void write(
const std::string &s);
178 unsigned long m_baudrate;
181 bytesize_t m_bytesize;
182 stopbits_t m_stopbits;
183 flowcontrol_t m_flowcontrol;
@ flowcontrol_software
Software flow control.
unsigned long getBaudrate()
flowcontrol_t getFlowcontrol()