WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
Translation2dProto.hpp
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
5#pragma once
6
7#include "pb.h"
12
13template <>
#define WPILIB_DLLEXPORT
Definition SymbolExports.hpp:36
Represents a translation in 2D space.
Definition Translation2d.hpp:30
Class for wrapping a nanopb istream.
Definition Protobuf.hpp:55
Class for wrapping a nanopb ostream.
Definition Protobuf.hpp:119
struct _wpi_proto_ProtobufTranslation2d wpi_proto_ProtobufTranslation2d
Definition CvSource.hpp:15
wpi_proto_ProtobufTranslation2d MessageStruct
Definition Translation2dProto.hpp:15
wpi::util::ProtoOutputStream< wpi::math::Translation2d > OutputStream
Definition Translation2dProto.hpp:17
static std::optional< wpi::math::Translation2d > Unpack(InputStream &stream)
static bool Pack(OutputStream &stream, const wpi::math::Translation2d &value)
wpi::util::ProtoInputStream< wpi::math::Translation2d > InputStream
Definition Translation2dProto.hpp:16
Protobuf serialization template.
Definition Protobuf.hpp:36