// generated from rosidl_generator_c/resource/idl__description.c.em
// with input from rosbag2_interfaces:msg/WriteSplitEvent.idl
// generated code does not contain a copyright notice

#include "rosbag2_interfaces/msg/detail/write_split_event__functions.h"

ROSIDL_GENERATOR_C_PUBLIC_rosbag2_interfaces
const rosidl_type_hash_t *
rosbag2_interfaces__msg__WriteSplitEvent__get_type_hash(
  const rosidl_message_type_support_t * type_support)
{
  (void)type_support;
  static rosidl_type_hash_t hash = {1, {
      0x5e, 0xf5, 0x8f, 0x71, 0x06, 0xa5, 0xcf, 0xf8,
      0xf5, 0xa7, 0x94, 0x02, 0x8c, 0x18, 0x11, 0x7e,
      0xe2, 0x10, 0x15, 0x85, 0x0d, 0xdc, 0xc5, 0x67,
      0xdf, 0x44, 0x9f, 0x41, 0x93, 0x29, 0x60, 0xf8,
    }};
  return &hash;
}

#include <assert.h>
#include <string.h>

// Include directives for referenced types

// Hashes for external referenced types
#ifndef NDEBUG
#endif

static char rosbag2_interfaces__msg__WriteSplitEvent__TYPE_NAME[] = "rosbag2_interfaces/msg/WriteSplitEvent";

// Define type names, field names, and default values
static char rosbag2_interfaces__msg__WriteSplitEvent__FIELD_NAME__closed_file[] = "closed_file";
static char rosbag2_interfaces__msg__WriteSplitEvent__FIELD_NAME__opened_file[] = "opened_file";

static rosidl_runtime_c__type_description__Field rosbag2_interfaces__msg__WriteSplitEvent__FIELDS[] = {
  {
    {rosbag2_interfaces__msg__WriteSplitEvent__FIELD_NAME__closed_file, 11, 11},
    {
      rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_STRING,
      0,
      0,
      {NULL, 0, 0},
    },
    {NULL, 0, 0},
  },
  {
    {rosbag2_interfaces__msg__WriteSplitEvent__FIELD_NAME__opened_file, 11, 11},
    {
      rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_STRING,
      0,
      0,
      {NULL, 0, 0},
    },
    {NULL, 0, 0},
  },
};

const rosidl_runtime_c__type_description__TypeDescription *
rosbag2_interfaces__msg__WriteSplitEvent__get_type_description(
  const rosidl_message_type_support_t * type_support)
{
  (void)type_support;
  static bool constructed = false;
  static const rosidl_runtime_c__type_description__TypeDescription description = {
    {
      {rosbag2_interfaces__msg__WriteSplitEvent__TYPE_NAME, 38, 38},
      {rosbag2_interfaces__msg__WriteSplitEvent__FIELDS, 2, 2},
    },
    {NULL, 0, 0},
  };
  if (!constructed) {
    constructed = true;
  }
  return &description;
}

static char toplevel_type_raw_source[] =
  "# The full path of the file that was finished and closed\n"
  "string closed_file\n"
  "# The full path of the new file that was created to continue recording\n"
  "string opened_file";

static char msg_encoding[] = "msg";

// Define all individual source functions

const rosidl_runtime_c__type_description__TypeSource *
rosbag2_interfaces__msg__WriteSplitEvent__get_individual_type_description_source(
  const rosidl_message_type_support_t * type_support)
{
  (void)type_support;
  static const rosidl_runtime_c__type_description__TypeSource source = {
    {rosbag2_interfaces__msg__WriteSplitEvent__TYPE_NAME, 38, 38},
    {msg_encoding, 3, 3},
    {toplevel_type_raw_source, 166, 166},
  };
  return &source;
}

const rosidl_runtime_c__type_description__TypeSource__Sequence *
rosbag2_interfaces__msg__WriteSplitEvent__get_type_description_sources(
  const rosidl_message_type_support_t * type_support)
{
  (void)type_support;
  static rosidl_runtime_c__type_description__TypeSource sources[1];
  static const rosidl_runtime_c__type_description__TypeSource__Sequence source_sequence = {sources, 1, 1};
  static bool constructed = false;
  if (!constructed) {
    sources[0] = *rosbag2_interfaces__msg__WriteSplitEvent__get_individual_type_description_source(NULL),
    constructed = true;
  }
  return &source_sequence;
}
