22 #ifndef REGILO_SERIALCONTROLLER_HPP 23 #define REGILO_SERIALCONTROLLER_HPP 25 #include <boost/asio/serial_port.hpp> 27 #include "controller.hpp" 46 virtual void connect(
const std::string& endpoint)
override;
48 virtual inline std::string
getEndpoint()
const override {
return endpoint; }
53 #endif // REGILO_SERIALCONTROLLER_HPP Definition: controller.hpp:35
virtual void connect(const std::string &endpoint) override
Connect the controller to a device.
StreamController()
Default constructor.
Definition: controller.hpp:206
The SerialController class is used to communicate with a device using the serial port.
Definition: serialcontroller.hpp:34
virtual std::string getEndpoint() const override
Get the endpoint of device.
Definition: serialcontroller.hpp:48
The StreamController class is used to communicate with a device.
Definition: controller.hpp:98