Class MessageInfo

Class Documentation

class MessageInfo

Additional meta data about messages taken from subscriptions.

Public Functions

MessageInfo() = default

Default empty constructor.

MessageInfo(const rmw_message_info_t &rmw_message_info)

Conversion constructor, which is intentionally not marked as explicit.

Parameters:

rmw_message_info[in] message info to initialize the class

virtual ~MessageInfo()
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.