Class ClientExpandMapPriorMapInterface

Inheritance Relationships

Base Type

Class Documentation

class ClientExpandMapPriorMapInterface : public ReceivingInterface

Public Functions

ClientExpandMapPriorMapInterface(const Poco::Net::IPAddress &hostadress, const Poco::UInt16 binaryClientExpandMapPriorMapPort, 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)