Struct MessageMembers_s

Struct Documentation

struct MessageMembers_s

Structure used to describe all fields of a single interface type.

Public Members

const char *message_namespace_

The namespace in which the interface resides, e.g. for example_messages/msg the namespaces generated would be example_message::msg”.

const char *message_name_

The name of the interface, e.g. “Int16”.

uint32_t member_count_

The number of fields in the interface.

size_t size_of_

The size of the interface structure in memory.

const MessageMember *members_

A pointer to the array that describes each field of the interface.

void (*init_function)(void*, rosidl_runtime_cpp::MessageInitialization)

The function used to initialise the interface’s in-memory representation.

void (*fini_function)(void*)

The function used to clean up the interface’s in-memory representation.