Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2ftrack_5fvisual_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2ftrack_5fvisual_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2ftrack_5fvisual_2eproto IGNITION_MSGS_VISIBLE
52 static const ::google::protobuf::internal::ParseTableField entries[];
53 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54 static const ::google::protobuf::internal::ParseTable schema[1];
55 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56 static const ::google::protobuf::internal::SerializationTable serialization_table[];
57 static const ::google::protobuf::uint32 offsets[];
64 class TrackVisualDefaultTypeInternal;
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::TrackVisual* Arena::CreateMaybeMessage<::ignition::msgs::TrackVisual>(Arena*);
78 class IGNITION_MSGS_VISIBLE
TrackVisual :
public ::google::protobuf::Message {
92 *
this = ::std::move(from);
95 inline TrackVisual& operator=(TrackVisual&& from) noexcept {
96 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97 if (
this != &from) InternalSwap(&from);
104 static const ::google::protobuf::Descriptor* descriptor();
105 static const TrackVisual& default_instance();
107 static void InitAsDefaultInstance();
112 static constexpr
int kIndexInFileMessages =
123 return CreateMaybeMessage<TrackVisual>(NULL);
127 return CreateMaybeMessage<TrackVisual>(arena);
129 void CopyFrom(const ::google::protobuf::Message& from)
final;
130 void MergeFrom(const ::google::protobuf::Message& from)
final;
134 bool IsInitialized() const final;
136 size_t ByteSizeLong() const final;
137 bool MergePartialFromCodedStream(
138 ::
google::protobuf::io::CodedInputStream* input) final;
139 void SerializeWithCachedSizes(
140 ::
google::protobuf::io::CodedOutputStream* output) const final;
141 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
142 bool deterministic, ::
google::protobuf::uint8* target) const final;
143 int GetCachedSize() const final {
return _cached_size_.Get(); }
148 void SetCachedSize(
int size)
const final;
151 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
154 inline void* MaybeArenaPtr()
const {
159 ::google::protobuf::Metadata GetMetadata() const final;
167 static const
int kNameFieldNumber = 2;
168 const ::
std::
string& name() const;
169 void set_name(const ::
std::
string& value);
173 void set_name(
const char* value);
174 void set_name(
const char* value,
size_t size);
180 bool has_header()
const;
182 static const int kHeaderFieldNumber = 1;
184 const ::ignition::msgs::Header& _internal_header()
const;
186 const ::ignition::msgs::Header& header()
const;
192 bool has_xyz()
const;
194 static const int kXyzFieldNumber = 9;
196 const ::ignition::msgs::Vector3d& _internal_xyz()
const;
198 const ::ignition::msgs::Vector3d& xyz()
const;
204 void clear_min_dist();
205 static const int kMinDistFieldNumber = 5;
206 double min_dist()
const;
207 void set_min_dist(
double value);
210 void clear_max_dist();
211 static const int kMaxDistFieldNumber = 6;
212 double max_dist()
const;
213 void set_max_dist(
double value);
217 static const int kIdFieldNumber = 3;
218 ::google::protobuf::uint32 id()
const;
219 void set_id(::google::protobuf::uint32 value);
222 void clear_inherit_orientation();
223 static const int kInheritOrientationFieldNumber = 4;
224 bool inherit_orientation()
const;
225 void set_inherit_orientation(
bool value);
228 void clear_static_();
229 static const int kStaticFieldNumber = 7;
230 bool static_()
const;
231 void set_static_(
bool value);
234 void clear_use_model_frame();
235 static const int kUseModelFrameFieldNumber = 8;
236 bool use_model_frame()
const;
237 void set_use_model_frame(
bool value);
240 void clear_inherit_yaw();
241 static const int kInheritYawFieldNumber = 10;
242 bool inherit_yaw()
const;
243 void set_inherit_yaw(
bool value);
248 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
249 ::google::protobuf::internal::ArenaStringPtr name_;
254 ::google::protobuf::uint32 id_;
255 bool inherit_orientation_;
257 bool use_model_frame_;
259 mutable ::google::protobuf::internal::CachedSize _cached_size_;
260 friend struct ::protobuf_ignition_2fmsgs_2ftrack_5fvisual_2eproto::TableStruct;
268 #pragma GCC diagnostic push
269 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
277 inline const ::ignition::msgs::Header& TrackVisual::_internal_header()
const {
281 const ::ignition::msgs::Header* p = header_;
295 if (header_ == NULL) {
296 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
303 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
304 if (message_arena == NULL) {
305 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
308 ::google::protobuf::Arena* submessage_arena = NULL;
309 if (message_arena != submessage_arena) {
310 header = ::google::protobuf::internal::GetOwnedMessage(
311 message_arena,
header, submessage_arena);
323 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
327 return name_.GetNoArena();
331 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
338 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
343 GOOGLE_DCHECK(value != NULL);
345 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
350 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
351 ::
std::string(
reinterpret_cast<const char*
>(value), size));
357 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
362 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
370 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
name);
390 inherit_orientation_ =
false;
394 return inherit_orientation_;
398 inherit_orientation_ = value;
446 use_model_frame_ =
false;
450 return use_model_frame_;
454 use_model_frame_ = value;
462 inline const ::ignition::msgs::Vector3d& TrackVisual::_internal_xyz()
const {
466 const ::ignition::msgs::Vector3d* p = xyz_;
481 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
488 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
489 if (message_arena == NULL) {
490 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(xyz_);
493 ::google::protobuf::Arena* submessage_arena = NULL;
494 if (message_arena != submessage_arena) {
495 xyz = ::google::protobuf::internal::GetOwnedMessage(
496 message_arena,
xyz, submessage_arena);
508 inherit_yaw_ =
false;
516 inherit_yaw_ = value;
521 #pragma GCC diagnostic pop
538 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2ftrack_5fvisual_2eproto
const ::ignition::msgs::Header & header() const
Definition: track_visual.pb.h:280
::std::string * release_name()
Definition: track_visual.pb.h:359
TrackVisual * New(::google::protobuf::Arena *arena) const final
Definition: track_visual.pb.h:126
void clear_name()
Definition: track_visual.pb.h:322
void clear_min_dist()
Definition: track_visual.pb.h:403
IGNITION_MSGS_VISIBLE TrackVisualDefaultTypeInternal _TrackVisual_default_instance_
::std::string * mutable_name()
Definition: track_visual.pb.h:354
Definition: vector3d.pb.h:77
const ::ignition::msgs::Vector3d & xyz() const
Definition: track_visual.pb.h:465
void set_allocated_name(::std::string *name)
Definition: track_visual.pb.h:364
std::unique_ptr< const TrackVisual > ConstTrackVisualUniquePtr
Definition: track_visual.pb.h:525
void set_inherit_yaw(bool value)
Definition: track_visual.pb.h:514
void clear_static_()
Definition: track_visual.pb.h:431
Definition: track_visual.pb.h:49
bool inherit_orientation() const
Definition: track_visual.pb.h:392
TrackVisual * New() const final
Definition: track_visual.pb.h:122
void Swap(TrackVisual *other)
bool static_() const
Definition: track_visual.pb.h:434
void set_id(::google::protobuf::uint32 value)
Definition: track_visual.pb.h:382
friend void swap(TrackVisual &a, TrackVisual &b)
Definition: track_visual.pb.h:116
static const TrackVisual * internal_default_instance()
Definition: track_visual.pb.h:108
TrackVisual & operator=(const TrackVisual &from)
Definition: track_visual.pb.h:85
std::unique_ptr< TrackVisual > TrackVisualUniquePtr
Definition: track_visual.pb.h:524
void set_name(const ::std::string &value)
Definition: track_visual.pb.h:329
::ignition::msgs::Vector3d * release_xyz()
Definition: track_visual.pb.h:471
void clear_inherit_yaw()
Definition: track_visual.pb.h:507
::ignition::msgs::Vector3d * mutable_xyz()
Definition: track_visual.pb.h:478
bool use_model_frame() const
Definition: track_visual.pb.h:448
void set_inherit_orientation(bool value)
Definition: track_visual.pb.h:396
std::shared_ptr< TrackVisual > TrackVisualSharedPtr
Definition: track_visual.pb.h:526
const ::std::string & name() const
Definition: track_visual.pb.h:325
double min_dist() const
Definition: track_visual.pb.h:406
::ignition::msgs::Header * mutable_header()
Definition: track_visual.pb.h:293
::ignition::msgs::Header * release_header()
Definition: track_visual.pb.h:286
Definition: track_visual.pb.h:78
bool has_xyz() const
Definition: track_visual.pb.h:459
double max_dist() const
Definition: track_visual.pb.h:420
bool inherit_yaw() const
Definition: track_visual.pb.h:510
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
void IGNITION_MSGS_VISIBLE AddDescriptors()
void set_max_dist(double value)
Definition: track_visual.pb.h:424
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
bool has_header() const
Definition: track_visual.pb.h:274
void clear_id()
Definition: track_visual.pb.h:375
void clear_inherit_orientation()
Definition: track_visual.pb.h:389
::google::protobuf::uint32 id() const
Definition: track_visual.pb.h:378
Definition: track_visual.pb.h:51
void clear_use_model_frame()
Definition: track_visual.pb.h:445
void set_allocated_header(::ignition::msgs::Header *header)
Definition: track_visual.pb.h:302
void set_static_(bool value)
Definition: track_visual.pb.h:438
void set_use_model_frame(bool value)
Definition: track_visual.pb.h:452
void clear_max_dist()
Definition: track_visual.pb.h:417
std::shared_ptr< const TrackVisual > ConstTrackVisualSharedPtr
Definition: track_visual.pb.h:527
void set_allocated_xyz(::ignition::msgs::Vector3d *xyz)
Definition: track_visual.pb.h:487
Definition: actor.pb.h:78
void set_min_dist(double value)
Definition: track_visual.pb.h:410