rosidl_runtime_c
master
Generate the rosidl interfaces in C.
|
Go to the documentation of this file.
15 #ifndef ROSIDL_RUNTIME_C__PRIMITIVES_SEQUENCE_FUNCTIONS_H_
16 #define ROSIDL_RUNTIME_C__PRIMITIVES_SEQUENCE_FUNCTIONS_H_
43 #define ROSIDL_RUNTIME_C__DECLARE_PRIMITIVE_SEQUENCE_INIT(STRUCT_NAME) \
45 ROSIDL_GENERATOR_C_PUBLIC \
46 bool rosidl_runtime_c__ ## STRUCT_NAME ## __Sequence__init( \
47 rosidl_runtime_c__ ## STRUCT_NAME ## __Sequence * sequence, size_t size);
58 #define ROSIDL_RUNTIME_C__DECLARE_PRIMITIVE_SEQUENCE_FINI(STRUCT_NAME) \
60 ROSIDL_GENERATOR_C_PUBLIC \
61 void rosidl_runtime_c__ ## STRUCT_NAME ## __Sequence__fini( \
62 rosidl_runtime_c__ ## STRUCT_NAME ## __Sequence * sequence);
70 #define ROSIDL_RUNTIME_C__DECLARE_PRIMITIVE_SEQUENCE_FUNCTIONS(STRUCT_NAME) \
71 ROSIDL_RUNTIME_C__DECLARE_PRIMITIVE_SEQUENCE_INIT(STRUCT_NAME) \
72 ROSIDL_RUNTIME_C__DECLARE_PRIMITIVE_SEQUENCE_FINI(STRUCT_NAME)
102 rosidl_runtime_c__boolean__Sequence * sequence,
size_t size);
106 rosidl_runtime_c__boolean__Sequence * sequence);
111 rosidl_runtime_c__octet__Sequence * sequence,
size_t size);
115 rosidl_runtime_c__octet__Sequence * sequence);
120 rosidl_runtime_c__float__Sequence * sequence,
size_t size);
124 rosidl_runtime_c__float__Sequence * sequence);
129 rosidl_runtime_c__double__Sequence * sequence,
size_t size);
133 rosidl_runtime_c__double__Sequence * sequence);
140 #endif // ROSIDL_RUNTIME_C__PRIMITIVES_SEQUENCE_FUNCTIONS_H_
void rosidl_runtime_c__float32__Sequence__fini(rosidl_runtime_c__float__Sequence *sequence)
void rosidl_runtime_c__float64__Sequence__fini(rosidl_runtime_c__double__Sequence *sequence)
void rosidl_runtime_c__byte__Sequence__fini(rosidl_runtime_c__octet__Sequence *sequence)
void rosidl_runtime_c__bool__Sequence__fini(rosidl_runtime_c__boolean__Sequence *sequence)
bool rosidl_runtime_c__float64__Sequence__init(rosidl_runtime_c__double__Sequence *sequence, size_t size)
bool rosidl_runtime_c__bool__Sequence__init(rosidl_runtime_c__boolean__Sequence *sequence, size_t size)
#define ROSIDL_RUNTIME_C__DECLARE_PRIMITIVE_SEQUENCE_FUNCTIONS(STRUCT_NAME)
See ROSIDL_RUNTIME_C__DECLARE_PRIMITIVE_SEQUENCE_INIT(STRUCT_NAME) and ROSIDL_RUNTIME_C__DECLARE_PRIM...
Definition: primitives_sequence_functions.h:70
bool rosidl_runtime_c__float32__Sequence__init(rosidl_runtime_c__float__Sequence *sequence, size_t size)
bool rosidl_runtime_c__byte__Sequence__init(rosidl_runtime_c__octet__Sequence *sequence, size_t size)
#define ROSIDL_GENERATOR_C_PUBLIC
Definition: visibility_control.h:48