4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcmd_5fvel2d_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcmd_5fvel2d_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3014000 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/unknown_field_set.h>
36 #pragma GCC system_header
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #include <sys/sysmacros.h>
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fcmd_5fvel2d_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
53 PROTOBUF_NAMESPACE_CLOSE
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
71 class CmdVel2DDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::CmdVel2D* Arena::CreateMaybeMessage<::ignition::msgs::CmdVel2D>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
83 class IGNITION_MSGS_VISIBLE CmdVel2D PROTOBUF_FINAL :
84 public ::PROTOBUF_NAMESPACE_ID::Message {
92 *
this = ::std::move(from);
99 inline CmdVel2D&
operator=(CmdVel2D&& from) noexcept {
100 if (GetArena() == from.GetArena()) {
101 if (
this != &from) InternalSwap(&from);
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
109 return GetDescriptor();
112 return GetMetadataStatic().descriptor;
115 return GetMetadataStatic().reflection;
120 return reinterpret_cast<const CmdVel2D*
>(
123 static constexpr
int kIndexInFileMessages =
126 friend void swap(CmdVel2D& a, CmdVel2D& b) {
129 inline void Swap(CmdVel2D* other) {
130 if (other ==
this)
return;
131 if (GetArena() == other->GetArena()) {
134 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
138 if (other ==
this)
return;
139 GOOGLE_DCHECK(GetArena() == other->GetArena());
145 inline CmdVel2D*
New() const final {
146 return CreateMaybeMessage<CmdVel2D>(
nullptr);
149 CmdVel2D*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
150 return CreateMaybeMessage<CmdVel2D>(arena);
152 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
153 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
156 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
157 bool IsInitialized() const final;
159 size_t ByteSizeLong() const final;
160 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
161 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
162 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
163 int GetCachedSize() const final {
return _cached_size_.Get(); }
166 inline void SharedCtor();
167 inline void SharedDtor();
168 void SetCachedSize(
int size)
const final;
169 void InternalSwap(CmdVel2D* other);
170 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172 return "ignition.msgs.CmdVel2D";
175 explicit CmdVel2D(::PROTOBUF_NAMESPACE_ID::Arena* arena);
177 static void ArenaDtor(
void*
object);
178 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
195 kHeaderFieldNumber = 1,
196 kVelocityFieldNumber = 2,
197 kThetaFieldNumber = 3,
202 bool _internal_has_header()
const;
205 const ::ignition::msgs::Header&
header()
const;
210 const ::ignition::msgs::Header& _internal_header()
const;
211 ::ignition::msgs::Header* _internal_mutable_header();
214 ::ignition::msgs::Header* header);
222 double _internal_velocity()
const;
223 void _internal_set_velocity(
double value);
231 double _internal_theta()
const;
232 void _internal_set_theta(
double value);
239 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
240 typedef void InternalArenaConstructable_;
241 typedef void DestructorSkippable_;
242 ::ignition::msgs::Header* header_;
245 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
246 friend struct ::TableStruct_ignition_2fmsgs_2fcmd_5fvel2d_2eproto;
254 #pragma GCC diagnostic push
255 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
260 inline bool CmdVel2D::_internal_has_header()
const {
261 return this != internal_default_instance() && header_ !=
nullptr;
263 inline bool CmdVel2D::has_header()
const {
264 return _internal_has_header();
266 inline const ::ignition::msgs::Header& CmdVel2D::_internal_header()
const {
267 const ::ignition::msgs::Header* p = header_;
268 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
271 inline const ::ignition::msgs::Header& CmdVel2D::header()
const {
273 return _internal_header();
275 inline void CmdVel2D::unsafe_arena_set_allocated_header(
276 ::ignition::msgs::Header* header) {
277 if (GetArena() ==
nullptr) {
278 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
288 inline ::ignition::msgs::Header* CmdVel2D::release_header() {
290 ::ignition::msgs::Header* temp = header_;
292 if (GetArena() !=
nullptr) {
293 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
297 inline ::ignition::msgs::Header* CmdVel2D::unsafe_arena_release_header() {
300 ::ignition::msgs::Header* temp = header_;
304 inline ::ignition::msgs::Header* CmdVel2D::_internal_mutable_header() {
306 if (header_ ==
nullptr) {
307 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
312 inline ::ignition::msgs::Header* CmdVel2D::mutable_header() {
314 return _internal_mutable_header();
316 inline void CmdVel2D::set_allocated_header(::ignition::msgs::Header* header) {
317 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
318 if (message_arena ==
nullptr) {
319 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
322 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
323 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
324 if (message_arena != submessage_arena) {
325 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
326 message_arena, header, submessage_arena);
337 inline void CmdVel2D::clear_velocity() {
340 inline double CmdVel2D::_internal_velocity()
const {
343 inline double CmdVel2D::velocity()
const {
345 return _internal_velocity();
347 inline void CmdVel2D::_internal_set_velocity(
double value) {
351 inline void CmdVel2D::set_velocity(
double value) {
352 _internal_set_velocity(value);
357 inline void CmdVel2D::clear_theta() {
360 inline double CmdVel2D::_internal_theta()
const {
363 inline double CmdVel2D::theta()
const {
365 return _internal_theta();
367 inline void CmdVel2D::_internal_set_theta(
double value) {
371 inline void CmdVel2D::set_theta(
double value) {
372 _internal_set_theta(value);
377 #pragma GCC diagnostic pop
394 #include <google/protobuf/port_undef.inc>
CmdVel2D(CmdVel2D &&from) noexcept
Definition: cmd_vel2d.pb.h:90
static const CmdVel2D & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: cmd_vel2d.pb.h:114
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void CopyFrom(const CmdVel2D &from)
::ignition::msgs::Header * release_header()
::ignition::msgs::Header * mutable_header()
void Swap(CmdVel2D *other)
Definition: cmd_vel2d.pb.h:129
CmdVel2D * New() const final
Definition: cmd_vel2d.pb.h:145
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: cmd_vel2d.pb.h:108
void set_theta(double value)
CmdVel2D & operator=(CmdVel2D &&from) noexcept
Definition: cmd_vel2d.pb.h:99
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_velocity(double value)
void UnsafeArenaSwap(CmdVel2D *other)
Definition: cmd_vel2d.pb.h:137
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
CmdVel2D & operator=(const CmdVel2D &from)
Definition: cmd_vel2d.pb.h:95
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
CmdVel2D(const CmdVel2D &from)
static const CmdVel2D * internal_default_instance()
Definition: cmd_vel2d.pb.h:119
CmdVel2D(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_allocated_header(::ignition::msgs::Header *header)
CmdVel2D * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: cmd_vel2d.pb.h:149
friend void swap(CmdVel2D &a, CmdVel2D &b)
Definition: cmd_vel2d.pb.h:126
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: cmd_vel2d.pb.h:111
void MergeFrom(const CmdVel2D &from)
CmdVel2D()
Definition: cmd_vel2d.pb.h:86
const ::ignition::msgs::Header & header() const
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fcmd_5fvel2d_2eproto
std::unique_ptr< CmdVel2D > CmdVel2DUniquePtr
Definition: cmd_vel2d.pb.h:380
std::shared_ptr< CmdVel2D > CmdVel2DSharedPtr
Definition: cmd_vel2d.pb.h:382
std::shared_ptr< const CmdVel2D > ConstCmdVel2DSharedPtr
Definition: cmd_vel2d.pb.h:383
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE CmdVel2DDefaultTypeInternal _CmdVel2D_default_instance_
std::unique_ptr< const CmdVel2D > ConstCmdVel2DUniquePtr
Definition: cmd_vel2d.pb.h:381
Definition: actor.pb.h:52
Definition: cmd_vel2d.pb.h:56
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)