1 #ifndef VIRUALSERIALINTERFACE_HPP 2 #define VIRUALSERIALINTERFACE_HPP 21 virtual void write(
const std::string& message) = 0;
28 virtual std::string
read() = 0;
Interface the simulate the serial connection to the robot arm.
Definition: VirtualSerialInterface.hpp:13
virtual std::string read()=0
This funtion is used to read data from the virual serial port.
virtual void write(const std::string &message)=0
This function is used to write data to the virual serial port.