1 #ifndef KINEMATICS_RV2AJ_DRIVER_SERIAL_HPP 2 #define KINEMATICS_RV2AJ_DRIVER_SERIAL_HPP 60 void open(
const std::string& dev);
81 void write(
const std::string& msg);
92 #endif // KINEMATICS_RV2AJ_DRIVER_SERIAL_HPP Serial()=default
Constructor.
OO wrapper around POSIX serial devices.
Definition: Serial.hpp:13
void write(const std::string &msg)
Writes message to open serial device.
bool opened() const
Returns whether serial device is open.
virtual ~Serial()
Destructor.
void close()
Closes active serial device.
Serial & operator=(const Serial &s)=delete
Copy assignment operator, deleted.
void open(const std::string &dev)
Open specified serial device.