#ifndef CPCTRL_SEND_H #define CPCTRL_SEND_H #include "ConfigParser.h" #include "SerialPort.h" class Send { public: Send(); size_t sendto(const std::string &data); size_t sendto(const std::vector &data); bool isRunning() const; private: std::unique_ptr UdpReceiver{}; std::unique_ptr UdpSender{}; std::unique_ptr Serial{}; bool isUdp{}; bool isHH{}; bool running_{}; }; #endif //CPCTRL_SEND_H