WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
spline.npb.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4/* Automatically generated nanopb header */
5/* Generated by nanopb-0.4.9 */
6
7#ifndef PB_WPI_PROTO_SPLINE_NPB_H_INCLUDED
8#define PB_WPI_PROTO_SPLINE_NPB_H_INCLUDED
9#include <pb.h>
10#include <span>
11#include <string_view>
12
13#if PB_PROTO_HEADER_VERSION != 40
14#error Regenerate this file with the current version of nanopb generator.
15#endif
16
17/* Struct definitions */
28
39
40
41/* Initializer values for message structs */
42#define wpi_proto_ProtobufCubicHermiteSpline_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
43#define wpi_proto_ProtobufQuinticHermiteSpline_init_default {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
44#define wpi_proto_ProtobufCubicHermiteSpline_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
45#define wpi_proto_ProtobufQuinticHermiteSpline_init_zero {{{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}, {{NULL}, NULL}}
46
47/* Field tags (for use in manual encoding/decoding) */
48#define wpi_proto_ProtobufCubicHermiteSpline_x_initial_tag 1
49#define wpi_proto_ProtobufCubicHermiteSpline_x_final_tag 2
50#define wpi_proto_ProtobufCubicHermiteSpline_y_initial_tag 3
51#define wpi_proto_ProtobufCubicHermiteSpline_y_final_tag 4
52#define wpi_proto_ProtobufQuinticHermiteSpline_x_initial_tag 1
53#define wpi_proto_ProtobufQuinticHermiteSpline_x_final_tag 2
54#define wpi_proto_ProtobufQuinticHermiteSpline_y_initial_tag 3
55#define wpi_proto_ProtobufQuinticHermiteSpline_y_final_tag 4
56
57/* Struct field encoding specification for nanopb */
58#define wpi_proto_ProtobufCubicHermiteSpline_FIELDLIST(X, a) \
59X(a, CALLBACK, REPEATED, DOUBLE, x_initial, 1) \
60X(a, CALLBACK, REPEATED, DOUBLE, x_final, 2) \
61X(a, CALLBACK, REPEATED, DOUBLE, y_initial, 3) \
62X(a, CALLBACK, REPEATED, DOUBLE, y_final, 4)
63#define wpi_proto_ProtobufCubicHermiteSpline_CALLBACK pb_default_field_callback
64#define wpi_proto_ProtobufCubicHermiteSpline_DEFAULT NULL
65
66#define wpi_proto_ProtobufQuinticHermiteSpline_FIELDLIST(X, a) \
67X(a, CALLBACK, REPEATED, DOUBLE, x_initial, 1) \
68X(a, CALLBACK, REPEATED, DOUBLE, x_final, 2) \
69X(a, CALLBACK, REPEATED, DOUBLE, y_initial, 3) \
70X(a, CALLBACK, REPEATED, DOUBLE, y_final, 4)
71#define wpi_proto_ProtobufQuinticHermiteSpline_CALLBACK pb_default_field_callback
72#define wpi_proto_ProtobufQuinticHermiteSpline_DEFAULT NULL
73
74/* Maximum encoded size of messages (where known) */
75/* wpi_proto_ProtobufCubicHermiteSpline_size depends on runtime parameters */
76/* wpi_proto_ProtobufQuinticHermiteSpline_size depends on runtime parameters */
77
78
79#endif
struct _wpi_proto_ProtobufCubicHermiteSpline wpi_proto_ProtobufCubicHermiteSpline
struct _wpi_proto_ProtobufQuinticHermiteSpline wpi_proto_ProtobufQuinticHermiteSpline
Definition spline.npb.h:18
pb_callback_t y_initial
Definition spline.npb.h:25
static pb_filedesc_t file_descriptor(void) noexcept
pb_callback_t x_initial
Definition spline.npb.h:23
pb_callback_t y_final
Definition spline.npb.h:26
pb_callback_t x_final
Definition spline.npb.h:24
static const pb_msgdesc_t * msg_descriptor(void) noexcept
static std::string_view msg_name(void) noexcept
Definition spline.npb.h:29
static pb_filedesc_t file_descriptor(void) noexcept
pb_callback_t y_final
Definition spline.npb.h:37
pb_callback_t x_initial
Definition spline.npb.h:34
static std::string_view msg_name(void) noexcept
pb_callback_t x_final
Definition spline.npb.h:35
pb_callback_t y_initial
Definition spline.npb.h:36
static const pb_msgdesc_t * msg_descriptor(void) noexcept
Definition pb.h:414
Definition pb.h:322
Definition pb.h:331