HLR  0.0.1
VirtualSerialInterface.hpp
1 #ifndef VIRUALSERIALINTERFACE_HPP
2 #define VIRUALSERIALINTERFACE_HPP
3 
4 #include <string>
5 
6 namespace HLR
7 {
8 namespace Simulation
9 {
14 {
15 public:
21  virtual void write(const std::string& message) = 0;
22 
28  virtual std::string read() = 0;
29 };
30 };
31 };
32 
33 #endif /* VIRUALSERIALINTERFACE_HPP */
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.