Class ReceivingInterface
Defined in File receiving_interface.hpp
Inheritance Relationships
Base Type
public Poco::Runnable
Derived Types
public ClientControlModeInterface
(Class ClientControlModeInterface)public ClientGlobalAlignVisualizationInterface
(Class ClientGlobalAlignVisualizationInterface)public ClientLocalizationMapInterface
(Class ClientLocalizationMapInterface)public ClientLocalizationPoseInterface
(Class ClientLocalizationPoseInterface)public ClientLocalizationVisualizationInterface
(Class ClientLocalizationVisualizationInterface)public ClientMapMapInterface
(Class ClientMapMapInterface)public ClientMapVisualizationInterface
(Class ClientMapVisualizationInterface)public ClientRecordingMapInterface
(Class ClientRecordingMapInterface)public ClientRecordingVisualizationInterface
(Class ClientRecordingVisualizationInterface)
Class Documentation
-
class ReceivingInterface : public Poco::Runnable
The ReceivingInterface class is the base class for all receiving interfaces, such as ClientControlModeInterface, etc.
Subclassed by ClientControlModeInterface, ClientGlobalAlignVisualizationInterface, ClientLocalizationMapInterface, ClientLocalizationPoseInterface, ClientLocalizationVisualizationInterface, ClientMapMapInterface, ClientMapVisualizationInterface, ClientRecordingMapInterface, ClientRecordingVisualizationInterface
Public Functions
-
virtual ~ReceivingInterface()
-
virtual void onReadEvent(const Poco::AutoPtr<Poco::Net::ReadableNotification> ¬ification)
-
void run()
Protected Functions
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)
Protected Attributes
-
rclcpp::Node::SharedPtr node_
Node.
Protected Static Attributes
-
static constexpr Poco::UInt16 BINARY_CLIENT_CONTROL_MODE_PORT = {9004}
-
static constexpr Poco::UInt16 BINARY_CLIENT_MAP_MAP_PORT = {9005}
-
static constexpr Poco::UInt16 BINARY_CLIENT_MAP_VISUALIZATION_PORT = {9006}
-
static constexpr Poco::UInt16 BINARY_CLIENT_RECORDING_MAP_PORT = {9007}
-
static constexpr Poco::UInt16 BINARY_CLIENT_RECORDING_VISUALIZATION_PORT = {9008}
-
static constexpr Poco::UInt16 BINARY_CLIENT_LOCALIZATION_MAP_PORT = {9009}
-
static constexpr Poco::UInt16 BINARY_CLIENT_LOCALIZATION_VISUALIZATION_PORT = {9010}
-
static constexpr Poco::UInt16 BINARY_CLIENT_LOCALIZATION_POSE_PORT = {9011}
-
static constexpr Poco::UInt16 BINARY_CLIENT_GLOBAL_ALIGN_VISUALIZATION_PORT = {9012}
-
virtual ~ReceivingInterface()