Struct rmw_subscriptions_s

Struct Documentation

struct rmw_subscriptions_s

Array of subscriber handles.

An array of void * pointers representing type-erased middleware-specific subscriptions. The number of non-null entries may be smaller than the allocated size of the array. The number of subscriptions represented may be smaller than the allocated size of the array. The creator of this struct is responsible for allocating and deallocating the array.

Public Members

size_t subscriber_count

The number of subscribers represented by the array.

void **subscribers

Pointer to an array of void * pointers of subscriptions.