rmw  master
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
Public Attributes | List of all members
rmw_publisher_t Struct Reference

Structure which encapsulates an rmw publisher. More...

#include <types.h>

Collaboration diagram for rmw_publisher_t:
Collaboration graph
[legend]

Public Attributes

const char * implementation_identifier
 Name of the rmw implementation. More...
 
void * data
 Type erased pointer to this publisher's data. More...
 
const char * topic_name
 The name of the ROS topic this publisher publishes to. More...
 
rmw_publisher_options_t options
 Publisher options. More...
 
bool can_loan_messages
 Indicate whether this publisher supports loaning messages. More...
 

Detailed Description

Structure which encapsulates an rmw publisher.

Member Data Documentation

◆ implementation_identifier

const char* rmw_publisher_t::implementation_identifier

Name of the rmw implementation.

◆ data

void* rmw_publisher_t::data

Type erased pointer to this publisher's data.

◆ topic_name

const char* rmw_publisher_t::topic_name

The name of the ROS topic this publisher publishes to.

◆ options

rmw_publisher_options_t rmw_publisher_t::options

Publisher options.

The options structure passed to rmw_create_publisher() should be assigned to this field by the rmw implementation. The fields should not be modified after creation, but the contents of the options structure may or may not be const, i.e. shallow const-ness. This field is not marked const to avoid any const casting during setup.

◆ can_loan_messages

bool rmw_publisher_t::can_loan_messages

Indicate whether this publisher supports loaning messages.


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