Class ClientControlModeInterface

Inheritance Relationships

Base Type

Class Documentation

class ClientControlModeInterface : public ReceivingInterface

Public Functions

ClientControlModeInterface(const Poco::Net::IPAddress &hostadress, rclcpp::Node::SharedPtr node)
virtual size_t tryToParseData(const std::vector<char> &datagram, rclcpp::Node::SharedPtr node) override

Actual function to be overwritten by child to handle data, e.g., convert to ros messages and publish.

Parameters:

datagram_buffer – The data received via the binary connection socket

Returns:

amount of bytes successfully parsed and can be removed from the buffer (0 if not parsing failed)