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

#include <types.h>

Collaboration diagram for rmw_subscription_t:
Collaboration graph
[legend]

Public Attributes

const char * implementation_identifier
 Name of the rmw implementation. More...
 
void * data
 Type erased pointer to this subscription. More...
 
const char * topic_name
 Name of the ros topic this subscription listens to. More...
 
rmw_subscription_options_t options
 Subscription options. More...
 
bool can_loan_messages
 Indicates whether this subscription can loan messages. More...
 

Member Data Documentation

◆ implementation_identifier

const char* rmw_subscription_t::implementation_identifier

Name of the rmw implementation.

◆ data

void* rmw_subscription_t::data

Type erased pointer to this subscription.

◆ topic_name

const char* rmw_subscription_t::topic_name

Name of the ros topic this subscription listens to.

◆ options

rmw_subscription_options_t rmw_subscription_t::options

Subscription options.

The options structure passed to rmw_create_subscription() 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_subscription_t::can_loan_messages

Indicates whether this subscription can loan messages.


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