Interface (in C++ terms), that could be used for any I/O manager, synchronous and asynchronous alike. More...
#include <async_manager.hpp>

Public Types | |
| typedef boost::function< void(Timestamp, const uint8_t *, std::size_t &)> | Callback |
Public Member Functions | |
| virtual bool | isOpen () const =0 |
| Determines whether or not the connection is open. More... | |
| virtual bool | send (const std::string &cmd)=0 |
| Sends commands to the receiver. More... | |
| virtual void | setCallback (const Callback &callback)=0 |
| Sets the callback function. More... | |
| virtual void | wait (uint16_t *count)=0 |
| virtual | ~Manager () |
Interface (in C++ terms), that could be used for any I/O manager, synchronous and asynchronous alike.
Definition at line 91 of file async_manager.hpp.
| typedef boost::function<void(Timestamp, const uint8_t*, std::size_t&)> io_comm_rx::Manager::Callback |
Definition at line 95 of file async_manager.hpp.
|
inlinevirtual |
Definition at line 96 of file async_manager.hpp.
|
pure virtual |
Determines whether or not the connection is open.
Implemented in io_comm_rx::AsyncManager< StreamT >.
|
pure virtual |
Sends commands to the receiver.
Implemented in io_comm_rx::AsyncManager< StreamT >.
|
pure virtual |
Sets the callback function.
Implemented in io_comm_rx::AsyncManager< StreamT >.
|
pure virtual |
Waits count seconds before throwing ROS_INFO message in case no message from the receiver arrived
Implemented in io_comm_rx::AsyncManager< StreamT >.