ROS 2 rclcpp + rcl - rolling  rolling-a919a6e5
ROS 2 C++ Client Library with ROS Client Library
Public Member Functions | List of all members
rclcpp::detail::RMWImplementationSpecificPayload Class Reference

Mechanism for passing rmw implementation specific settings through the ROS interfaces. More...

#include <rclcpp/detail/rmw_implementation_specific_payload.hpp>

Inheritance diagram for rclcpp::detail::RMWImplementationSpecificPayload:
Inheritance graph
[legend]

Public Member Functions

bool has_been_customized () const
 Return false if this class has not been customized, otherwise true. More...
 
virtual const char * get_implementation_identifier () const
 Derrived classes should override this and return the identifier of its rmw implementation.
 

Detailed Description

Mechanism for passing rmw implementation specific settings through the ROS interfaces.

Definition at line 26 of file rmw_implementation_specific_payload.hpp.

Member Function Documentation

◆ has_been_customized()

bool rclcpp::detail::RMWImplementationSpecificPayload::has_been_customized ( ) const

Return false if this class has not been customized, otherwise true.

It does this based on the value of the rmw implementation identifier that this class reports, and so it is important for a specialization of this class to override the get_rmw_implementation_identifier() method to return something other than nullptr.

Definition at line 23 of file rmw_implementation_specific_payload.cpp.

References get_implementation_identifier().

Here is the call graph for this function:

The documentation for this class was generated from the following files: