rosidl_runtime_c  master
Generate the rosidl interfaces in C.
Classes | Macros | Typedefs | Functions | Variables
message_type_support_struct.h File Reference
#include "rosidl_runtime_c/visibility_control.h"
#include "rosidl_typesupport_interface/macros.h"
Include dependency graph for message_type_support_struct.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rosidl_message_type_support_t
 Contains rosidl message type support data. More...
 

Macros

#define ROSIDL_GET_MSG_TYPE_SUPPORT(PkgName, MsgSubfolder, MsgName)
 Get the message type support given a provided action and package. More...
 

Typedefs

typedef struct rosidl_message_type_support_t rosidl_message_type_support_t
 

Functions

const rosidl_message_type_support_tget_message_typesupport_handle (const rosidl_message_type_support_t *handle, const char *identifier)
 Get the message type support handle specific to this identifier. More...
 
const rosidl_message_type_support_tget_message_typesupport_handle_function (const rosidl_message_type_support_t *handle, const char *identifier)
 

Variables

const typedef rosidl_message_type_support_t *(* rosidl_message_typesupport_handle_function )(const rosidl_message_type_support_t *, const char *)
 

Macro Definition Documentation

◆ ROSIDL_GET_MSG_TYPE_SUPPORT

#define ROSIDL_GET_MSG_TYPE_SUPPORT (   PkgName,
  MsgSubfolder,
  MsgName 
)
Value:
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME( \
rosidl_typesupport_c, PkgName, MsgSubfolder, MsgName)()

Get the message type support given a provided action and package.

Typedef Documentation

◆ rosidl_message_type_support_t

Function Documentation

◆ get_message_typesupport_handle()

const rosidl_message_type_support_t* get_message_typesupport_handle ( const rosidl_message_type_support_t handle,
const char *  identifier 
)

Get the message type support handle specific to this identifier.

The handle's message typesupport identifier function is returned or if the parameters are NULL then an assert will happen.

Parameters
handleHandle to message type support
identifierThe typesupport identifier to get the handle function for
Returns
The associated message typesupport handle function.

◆ get_message_typesupport_handle_function()

const rosidl_message_type_support_t* get_message_typesupport_handle_function ( const rosidl_message_type_support_t handle,
const char *  identifier 
)

If the identifier is the same as this handle's typesupport_identifier the handle is simply returned or if the parameters are NULL then an assert will happen.

Parameters
handleHandle to message type support
identifierThe typesupport identifier to get the handle function for
Returns
if the identifier match's the handle's identifier then the handle's function is returned.

Variable Documentation

◆ rosidl_message_typesupport_handle_function

const typedef rosidl_message_type_support_t*(* rosidl_message_typesupport_handle_function) (const rosidl_message_type_support_t *, const char *)