Class ClientGlobalAlignVisualizationInterface

Inheritance Relationships

Base Type

Class Documentation

class ClientGlobalAlignVisualizationInterface : public ReceivingInterface

Public Functions

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