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_options_t Struct Reference

Options that can be used to configure the creation of a publisher in rmw. More...

#include <types.h>

Public Attributes

void * rmw_specific_publisher_payload
 Used to pass rmw implementation specific resources during publisher creation. More...
 

Detailed Description

Options that can be used to configure the creation of a publisher in rmw.

Member Data Documentation

◆ rmw_specific_publisher_payload

void* rmw_publisher_options_t::rmw_specific_publisher_payload

Used to pass rmw implementation specific resources during publisher creation.

This field is type erased (rather than forward declared) because it will usually be a non-owned reference to an language specific object, e.g. C++ it may be a polymorphic class that only the rmw implementation can use.

The resource pointed to here needs to outlive this options structure, and any rmw_publisher objects that are created using it, as they copy this structure and may use this payload throughout their lifetime.


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