Template Class AsyncManager

Inheritance Relationships

Base Type

Class Documentation

template<typename IoType>
class AsyncManager : public io::AsyncManagerBase

This is the central interface between ROSaic and the Rx(s), managing I/O operations such as reading messages and sending commands..

IoType is either boost::asio::serial_port or boost::asio::tcp::ip

Public Functions

AsyncManager(ROSaicNodeBase *node, TelegramQueue *telegramQueue)

Class constructor.

Parameters:
  • node[in] Pointer to node

  • telegramQueue[in] Telegram queue

~AsyncManager()
virtual bool connect()

Connects the stream.

void setPort(const std::string &port)
virtual void send(const std::string &cmd)

Sends commands to the receiver.