Struct rmw_subscription_s

Struct Documentation

struct rmw_subscription_s

Public Members

const char *implementation_identifier

Name of the rmw implementation.

void *data

Type erased pointer to this subscription.

const char *topic_name

Name of the ros topic this subscription listens to.

rmw_subscription_options_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.

bool can_loan_messages

Indicates whether this subscription can loan messages.

bool is_cft_enabled

Indicates whether content filtered topic of this subscription is enabled.