serialportApi.h
Go to the documentation of this file.
61 typedef boost::function<void(boost::system::error_code, std::map<std::string, dpySerialPort::SerialPortConf> serialPortMap)> serialPort_list_handler;
69 typedef boost::function<void(boost::system::error_code error_code, const std::string &portid, const std::string &data)> serialport_receive_handler_function;
108 boost::system::error_code monitorServiceAvailability_S(dpySerialPort::SerialPortAvailabilityObserver *observer);
109 boost::system::error_code monitorServiceAvailability_U(dpySerialPort::SerialPortAvailabilityObserver *observer);
117 void asyncSetSerialPortConfiguration(dpySerialPort::handler_function handler, const std::string &portid, dpySerialPort::SerialPortConf serialPortConfiguration);
125 void syncSend(dpySerialPort::handler_function handler, const std::string &portid, const std::string &data);
boost::function< void(boost::system::error_code, std::map< std::string, dpySerialPort::SerialPortConf > serialPortMap)> serialPort_list_handler
Prototype of the handler function for getting serial port list.
Definition: serialportApi.h:61
virtual ~SerialPortAvailabilityObserver()
Destructor.
Definition: serialportApi.h:42
Definition: serialportTypes.h:44
Service Availability observer class.
Definition: serialportApi.h:29
boost::function< void(boost::system::error_code error_code, const std::string &portid, const std::string &data)> serialport_receive_handler_function
Prototype of the handler function for receiving serial port message.
Definition: serialportApi.h:69
boost::function< void(boost::system::error_code &ec)> handler_function
Handler for status function callback.
Definition: serialportApi.h:54
virtual void updateAvailability(const bool &available)=0
Method called when service availability changes.
Deepsy SERIAL PORT namespace that includes the different enums, structs or method signatures that sho...