Rev 1596 | Rev 1642 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1596 | Rev 1599 | ||
|---|---|---|---|
| Line 33... | Line 33... | ||
| 33 | 33 | ||
| 34 | SerialClient(boost::asio::io_service& io_service, ClientId id, ServerId server_id); |
34 | SerialClient(boost::asio::io_service& io_service, ClientId id, ServerId server_id); |
| 35 | virtual ~SerialClient(); |
35 | virtual ~SerialClient(); |
| 36 | 36 | ||
| 37 | void Connect(std::string address, unsigned int baud); |
37 | void Connect(std::string address, unsigned int baud); |
| 38 | void Disconnect(); |
- | |
| 39 | void Send(type::Byteset data); |
38 | void Send(type::Byteset data); |
| 40 | 39 | ||
| 41 | protected: |
40 | protected: |
| 42 | void Read(); |
41 | void Read(); |
| - | 42 | void Stop(); |
|
| 43 | 43 | ||
| 44 | private: |
44 | private: |
| 45 | boost::asio::serial_port serial_port_; |
45 | boost::asio::serial_port serial_port_; |
| 46 | }; |
46 | }; |
| 47 | 47 | ||