Class ClientRecordingMapInterface

Inheritance Relationships

Base Type

Class Documentation

class ClientRecordingMapInterface : public ReceivingInterface

Public Functions

ClientRecordingMapInterface(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)