rosidl_runtime_c
master
Generate the rosidl interfaces in C.
|
Go to the documentation of this file.
15 #ifndef ROSIDL_RUNTIME_C__U16STRING_FUNCTIONS_H_
16 #define ROSIDL_RUNTIME_C__U16STRING_FUNCTIONS_H_
154 rosidl_runtime_c__U16String__Sequence * sequence,
size_t size);
165 rosidl_runtime_c__U16String__Sequence * sequence);
178 rosidl_runtime_c__U16String__Sequence *
190 rosidl_runtime_c__U16String__Sequence * sequence);
196 #endif // ROSIDL_RUNTIME_C__U16STRING_FUNCTIONS_H_
bool rosidl_runtime_c__U16String__Sequence__init(rosidl_runtime_c__U16String__Sequence *sequence, size_t size)
Initialize a U16 string sequence structure.
bool rosidl_runtime_c__U16String__assignn(rosidl_runtime_c__U16String *str, const uint16_t *value, size_t n)
Assign the uint16_t value of n characters to the rosidl_runtime_c__U16String structure.
bool rosidl_runtime_c__U16String__init(rosidl_runtime_c__U16String *str)
Initialize a rosidl_runtime_c__U16String structure.
bool rosidl_runtime_c__U16String__assign(rosidl_runtime_c__U16String *str, const uint16_t *value)
Assign the uint16_t pointer to the rosidl_runtime_c__U16String structure.
bool rosidl_runtime_c__U16String__resize(rosidl_runtime_c__U16String *str, size_t n)
Resize the uint16_t pointer.
void rosidl_runtime_c__U16String__fini(rosidl_runtime_c__U16String *str)
Deallocate the memory of the rosidl_runtime_c__U16String structure.
void rosidl_runtime_c__U16String__Sequence__fini(rosidl_runtime_c__U16String__Sequence *sequence)
Deallocate the memory of the string sequence structure.
void rosidl_runtime_c__U16String__Sequence__destroy(rosidl_runtime_c__U16String__Sequence *sequence)
Destroy a U16 string sequence structure.
rosidl_runtime_c__U16String__Sequence * rosidl_runtime_c__U16String__Sequence__create(size_t size)
Create a U16 string sequence structure with a specific size.
size_t rosidl_runtime_c__U16String__len(const uint16_t *value)
Get the length of the uint16_t pointer.
An array of 16-bit characters terminated by a null character.
Definition: u16string.h:23
bool rosidl_runtime_c__U16String__assignn_from_char(rosidl_runtime_c__U16String *str, const char *value, size_t n)
Assign the c string pointer value of n characters to the rosidl_runtime_c__U16String structure.
#define ROSIDL_GENERATOR_C_PUBLIC
Definition: visibility_control.h:48