// generated from rosidl_typesupport_introspection_c/resource/idl__type_support.c.em
// with input from px4_msgs:msg/ArmingCheckReply.idl
// generated code does not contain a copyright notice

#include <stddef.h>
#include "px4_msgs/msg/detail/arming_check_reply__rosidl_typesupport_introspection_c.h"
#include "px4_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
#include "rosidl_typesupport_introspection_c/field_types.h"
#include "rosidl_typesupport_introspection_c/identifier.h"
#include "rosidl_typesupport_introspection_c/message_introspection.h"
#include "px4_msgs/msg/detail/arming_check_reply__functions.h"
#include "px4_msgs/msg/detail/arming_check_reply__struct.h"


// Include directives for member types
// Member `events`
#include "px4_msgs/msg/event.h"
// Member `events`
#include "px4_msgs/msg/detail/event__rosidl_typesupport_introspection_c.h"

#ifdef __cplusplus
extern "C"
{
#endif

void px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_init_function(
  void * message_memory, enum rosidl_runtime_c__message_initialization _init)
{
  // TODO(karsten1987): initializers are not yet implemented for typesupport c
  // see https://github.com/ros2/ros2/issues/397
  (void) _init;
  px4_msgs__msg__ArmingCheckReply__init(message_memory);
}

void px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_fini_function(void * message_memory)
{
  px4_msgs__msg__ArmingCheckReply__fini(message_memory);
}

size_t px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__size_function__ArmingCheckReply__events(
  const void * untyped_member)
{
  (void)untyped_member;
  return 5;
}

const void * px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__get_const_function__ArmingCheckReply__events(
  const void * untyped_member, size_t index)
{
  const px4_msgs__msg__Event * member =
    (const px4_msgs__msg__Event *)(untyped_member);
  return &member[index];
}

void * px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__get_function__ArmingCheckReply__events(
  void * untyped_member, size_t index)
{
  px4_msgs__msg__Event * member =
    (px4_msgs__msg__Event *)(untyped_member);
  return &member[index];
}

void px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__fetch_function__ArmingCheckReply__events(
  const void * untyped_member, size_t index, void * untyped_value)
{
  const px4_msgs__msg__Event * item =
    ((const px4_msgs__msg__Event *)
    px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__get_const_function__ArmingCheckReply__events(untyped_member, index));
  px4_msgs__msg__Event * value =
    (px4_msgs__msg__Event *)(untyped_value);
  *value = *item;
}

void px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__assign_function__ArmingCheckReply__events(
  void * untyped_member, size_t index, const void * untyped_value)
{
  px4_msgs__msg__Event * item =
    ((px4_msgs__msg__Event *)
    px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__get_function__ArmingCheckReply__events(untyped_member, index));
  const px4_msgs__msg__Event * value =
    (const px4_msgs__msg__Event *)(untyped_value);
  *item = *value;
}

static rosidl_typesupport_introspection_c__MessageMember px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_message_member_array[20] = {
  {
    "timestamp",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_UINT64,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, timestamp),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "request_id",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_UINT8,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, request_id),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "registration_id",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_UINT8,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, registration_id),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "health_component_index",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_UINT8,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, health_component_index),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "health_component_is_present",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, health_component_is_present),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "health_component_warning",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, health_component_warning),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "health_component_error",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, health_component_error),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "can_arm_and_run",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, can_arm_and_run),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "num_events",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_UINT8,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, num_events),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "events",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE,  // type
    0,  // upper bound of string
    NULL,  // members of sub message (initialized later)
    false,  // is key
    true,  // is array
    5,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, events),  // bytes offset in struct
    NULL,  // default value
    px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__size_function__ArmingCheckReply__events,  // size() function pointer
    px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__get_const_function__ArmingCheckReply__events,  // get_const(index) function pointer
    px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__get_function__ArmingCheckReply__events,  // get(index) function pointer
    px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__fetch_function__ArmingCheckReply__events,  // fetch(index, &value) function pointer
    px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__assign_function__ArmingCheckReply__events,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "mode_req_angular_velocity",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, mode_req_angular_velocity),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "mode_req_attitude",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, mode_req_attitude),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "mode_req_local_alt",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, mode_req_local_alt),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "mode_req_local_position",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, mode_req_local_position),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "mode_req_local_position_relaxed",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, mode_req_local_position_relaxed),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "mode_req_global_position",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, mode_req_global_position),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "mode_req_mission",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, mode_req_mission),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "mode_req_home_position",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, mode_req_home_position),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "mode_req_prevent_arming",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, mode_req_prevent_arming),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  },
  {
    "mode_req_manual_control",  // name
    rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN,  // type
    0,  // upper bound of string
    NULL,  // members of sub message
    false,  // is key
    false,  // is array
    0,  // array size
    false,  // is upper bound
    offsetof(px4_msgs__msg__ArmingCheckReply, mode_req_manual_control),  // bytes offset in struct
    NULL,  // default value
    NULL,  // size() function pointer
    NULL,  // get_const(index) function pointer
    NULL,  // get(index) function pointer
    NULL,  // fetch(index, &value) function pointer
    NULL,  // assign(index, value) function pointer
    NULL  // resize(index) function pointer
  }
};

static const rosidl_typesupport_introspection_c__MessageMembers px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_message_members = {
  "px4_msgs__msg",  // message namespace
  "ArmingCheckReply",  // message name
  20,  // number of fields
  sizeof(px4_msgs__msg__ArmingCheckReply),
  false,  // has_any_key_member_
  px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_message_member_array,  // message members
  px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_init_function,  // function to initialize message memory (memory has to be allocated)
  px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_fini_function  // function to terminate message instance (will not free memory)
};

// this is not const since it must be initialized on first access
// since C does not allow non-integral compile-time constants
static rosidl_message_type_support_t px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_message_type_support_handle = {
  0,
  &px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_message_members,
  get_message_typesupport_handle_function,
  &px4_msgs__msg__ArmingCheckReply__get_type_hash,
  &px4_msgs__msg__ArmingCheckReply__get_type_description,
  &px4_msgs__msg__ArmingCheckReply__get_type_description_sources,
};

ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_px4_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, px4_msgs, msg, ArmingCheckReply)() {
  px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_message_member_array[9].members_ =
    ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, px4_msgs, msg, Event)();
  if (!px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_message_type_support_handle.typesupport_identifier) {
    px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_message_type_support_handle.typesupport_identifier =
      rosidl_typesupport_introspection_c__identifier;
  }
  return &px4_msgs__msg__ArmingCheckReply__rosidl_typesupport_introspection_c__ArmingCheckReply_message_type_support_handle;
}
#ifdef __cplusplus
}
#endif
