ROS 2 rclcpp + rcl - humble  humble
ROS 2 C++ Client Library with ROS Client Library
Public Member Functions | List of all members
rclcpp::MessageInfo Class Reference

Additional meta data about messages taken from subscriptions. More...

#include <rclcpp/message_info.hpp>

Public Member Functions

 MessageInfo ()=default
 Default empty constructor.
 
 MessageInfo (const rmw_message_info_t &rmw_message_info)
 Conversion constructor, which is intentionally not marked as explicit. More...
 
const rmw_message_info_t & get_rmw_message_info () const
 Return the message info as the underlying rmw message info type.
 
rmw_message_info_t & get_rmw_message_info ()
 Return the message info as the underlying rmw message info type.
 

Detailed Description

Additional meta data about messages taken from subscriptions.

Definition at line 26 of file message_info.hpp.

Constructor & Destructor Documentation

◆ MessageInfo()

rclcpp::MessageInfo::MessageInfo ( const rmw_message_info_t &  rmw_message_info)

Conversion constructor, which is intentionally not marked as explicit.

Parameters
[in]rmw_message_infomessage info to initialize the class

Definition at line 20 of file message_info.cpp.


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