rosidl_runtime_c  master
Generate the rosidl interfaces in C.
Classes | Macros | Typedefs | Functions | Variables
service_type_support_struct.h File Reference
#include "rosidl_runtime_c/visibility_control.h"
#include "rosidl_typesupport_interface/macros.h"
Include dependency graph for service_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_service_type_support_t
 Contains rosidl service type support data. More...
 

Macros

#define ROSIDL_GET_SRV_TYPE_SUPPORT(PkgName, SrvSubfolder, SrvName)
 Get the service type support given a provided action and package. More...
 

Typedefs

typedef struct rosidl_service_type_support_t rosidl_service_type_support_t
 

Functions

const rosidl_service_type_support_tget_service_typesupport_handle (const rosidl_service_type_support_t *handle, const char *identifier)
 Get the service type support handle specific to this identifier. More...
 
const rosidl_service_type_support_tget_service_typesupport_handle_function (const rosidl_service_type_support_t *handle, const char *identifier)
 Get the service type support handle function specific to this identifier. More...
 

Variables

const typedef rosidl_service_type_support_t *(* rosidl_service_typesupport_handle_function )(const rosidl_service_type_support_t *, const char *)
 

Macro Definition Documentation

◆ ROSIDL_GET_SRV_TYPE_SUPPORT

#define ROSIDL_GET_SRV_TYPE_SUPPORT (   PkgName,
  SrvSubfolder,
  SrvName 
)
Value:
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME( \
rosidl_typesupport_c, PkgName, SrvSubfolder, SrvName)()

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

Typedef Documentation

◆ rosidl_service_type_support_t

Function Documentation

◆ get_service_typesupport_handle()

const rosidl_service_type_support_t* get_service_typesupport_handle ( const rosidl_service_type_support_t handle,
const char *  identifier 
)

Get the service 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 service type support
identifierThe typesupport identifier to get the handle function for
Returns
The associated service typesupport handle function.

◆ get_service_typesupport_handle_function()

const rosidl_service_type_support_t* get_service_typesupport_handle_function ( const rosidl_service_type_support_t handle,
const char *  identifier 
)

Get the service type support handle function specific to this 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 service 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_service_typesupport_handle_function

const typedef rosidl_service_type_support_t*(* rosidl_service_typesupport_handle_function) (const rosidl_service_type_support_t *, const char *)