Program Listing for File field__struct.h

Return to documentation for file (include/rosidl_runtime_c/type_description/field__struct.h)

// DO NOT EDIT MANUALLY - this copied file managed by copy_type_description_generated_sources.bash
// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from type_description_interfaces:msg/Field.idl
// generated code does not contain a copyright notice

#ifndef ROSIDL_RUNTIME_C__TYPE_DESCRIPTION__FIELD__STRUCT_H_
#define ROSIDL_RUNTIME_C__TYPE_DESCRIPTION__FIELD__STRUCT_H_

#ifdef __cplusplus
extern "C"
{
#endif

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

// Constants defined in the message

// Include directives for member types
// Member 'name'
// Member 'default_value'
#include "rosidl_runtime_c/string.h"
// Member 'type'
#include "rosidl_runtime_c/type_description/field_type__struct.h"


typedef struct rosidl_runtime_c__type_description__Field
{
  rosidl_runtime_c__String name;
  rosidl_runtime_c__type_description__FieldType type;
  rosidl_runtime_c__String default_value;
} rosidl_runtime_c__type_description__Field;

// Struct for a sequence of rosidl_runtime_c__type_description__Field.
typedef struct rosidl_runtime_c__type_description__Field__Sequence
{
  rosidl_runtime_c__type_description__Field * data;
  size_t size;
  size_t capacity;
} rosidl_runtime_c__type_description__Field__Sequence;

#ifdef __cplusplus
}
#endif

#endif  // ROSIDL_RUNTIME_C__TYPE_DESCRIPTION__FIELD__STRUCT_H_