rclcpp  master
C++ ROS Client Library API
Public Member Functions | List of all members
rclcpp::MessageInfo Class Reference

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

#include <message_info.hpp>

Public Member Functions

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

Detailed Description

Additional meta data about messages taken from subscriptions.

Constructor & Destructor Documentation

◆ MessageInfo() [1/2]

rclcpp::MessageInfo::MessageInfo ( )
default

Default empty constructor.

◆ MessageInfo() [2/2]

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

◆ ~MessageInfo()

virtual rclcpp::MessageInfo::~MessageInfo ( )
virtual

Member Function Documentation

◆ get_rmw_message_info() [1/2]

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

Return the message info as the underlying rmw message info type.

◆ get_rmw_message_info() [2/2]

rmw_message_info_t& rclcpp::MessageInfo::get_rmw_message_info ( )

Return the message info as the underlying rmw message info type.


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