Ignition Msgs

API Reference

5.8.1
pose_trajectory.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/pose_trajectory.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5ftrajectory_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5ftrajectory_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3019000 < 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.
20 #endif
21 
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> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
34 #include "ignition/msgs/pose.pb.h"
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fpose_5ftrajectory_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
50 namespace internal {
51 class AnyMetadata;
52 } // namespace internal
53 PROTOBUF_NAMESPACE_CLOSE
54 
55 // Internal implementation detail -- do not use these members.
57  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65  static const uint32_t offsets[];
66 };
67 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpose_5ftrajectory_2eproto;
68 namespace ignition {
69 namespace msgs {
70 class PoseTrajectory;
71 struct PoseTrajectoryDefaultTypeInternal;
72 IGNITION_MSGS_VISIBLE extern PoseTrajectoryDefaultTypeInternal _PoseTrajectory_default_instance_;
73 } // namespace msgs
74 } // namespace ignition
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PoseTrajectory* Arena::CreateMaybeMessage<::ignition::msgs::PoseTrajectory>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
78 namespace ignition {
79 namespace msgs {
80 
81 // ===================================================================
82 
83 class IGNITION_MSGS_VISIBLE PoseTrajectory final :
84  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.PoseTrajectory) */ {
85  public:
86  inline PoseTrajectory() : PoseTrajectory(nullptr) {}
87  ~PoseTrajectory() override;
88  explicit constexpr PoseTrajectory(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
89 
91  PoseTrajectory(PoseTrajectory&& from) noexcept
92  : PoseTrajectory() {
93  *this = ::std::move(from);
94  }
95 
96  inline PoseTrajectory& operator=(const PoseTrajectory& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline PoseTrajectory& operator=(PoseTrajectory&& from) noexcept {
101  if (this == &from) return *this;
102  if (GetOwningArena() == from.GetOwningArena()
103  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104  && GetOwningArena() != nullptr
105  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
106  ) {
107  InternalSwap(&from);
108  } else {
109  CopyFrom(from);
110  }
111  return *this;
112  }
113 
114  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
115  return GetDescriptor();
116  }
117  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
118  return default_instance().GetMetadata().descriptor;
119  }
120  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
121  return default_instance().GetMetadata().reflection;
122  }
124  return *internal_default_instance();
125  }
126  static inline const PoseTrajectory* internal_default_instance() {
127  return reinterpret_cast<const PoseTrajectory*>(
129  }
130  static constexpr int kIndexInFileMessages =
131  0;
132 
133  friend void swap(PoseTrajectory& a, PoseTrajectory& b) {
134  a.Swap(&b);
135  }
136  inline void Swap(PoseTrajectory* other) {
137  if (other == this) return;
138  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139  if (GetOwningArena() != nullptr &&
140  GetOwningArena() == other->GetOwningArena()) {
141  #else // PROTOBUF_FORCE_COPY_IN_SWAP
142  if (GetOwningArena() == other->GetOwningArena()) {
143  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
144  InternalSwap(other);
145  } else {
146  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
147  }
148  }
150  if (other == this) return;
151  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152  InternalSwap(other);
153  }
154 
155  // implements Message ----------------------------------------------
156 
157  PoseTrajectory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158  return CreateMaybeMessage<PoseTrajectory>(arena);
159  }
160  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161  void CopyFrom(const PoseTrajectory& from);
162  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163  void MergeFrom(const PoseTrajectory& from);
164  private:
165  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
166  public:
167  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
168  bool IsInitialized() const final;
169 
170  size_t ByteSizeLong() const final;
171  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172  uint8_t* _InternalSerialize(
173  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174  int GetCachedSize() const final { return _cached_size_.Get(); }
175 
176  private:
177  void SharedCtor();
178  void SharedDtor();
179  void SetCachedSize(int size) const final;
180  void InternalSwap(PoseTrajectory* other);
181 
182  private:
183  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185  return "ignition.msgs.PoseTrajectory";
186  }
187  protected:
188  explicit PoseTrajectory(::PROTOBUF_NAMESPACE_ID::Arena* arena,
189  bool is_message_owned = false);
190  private:
191  static void ArenaDtor(void* object);
192  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
193  public:
194 
195  static const ClassData _class_data_;
196  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
197 
198  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
199 
200  // nested types ----------------------------------------------------
201 
202  // accessors -------------------------------------------------------
203 
204  enum : int {
205  kPoseFieldNumber = 3,
206  kNameFieldNumber = 1,
207  kIdFieldNumber = 2,
208  };
209  // repeated .ignition.msgs.Pose pose = 3;
210  int pose_size() const;
211  private:
212  int _internal_pose_size() const;
213  public:
214  void clear_pose();
215  ::ignition::msgs::Pose* mutable_pose(int index);
216  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >*
217  mutable_pose();
218  private:
219  const ::ignition::msgs::Pose& _internal_pose(int index) const;
220  ::ignition::msgs::Pose* _internal_add_pose();
221  public:
222  const ::ignition::msgs::Pose& pose(int index) const;
223  ::ignition::msgs::Pose* add_pose();
224  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >&
225  pose() const;
226 
227  // string name = 1;
228  void clear_name();
229  const std::string& name() const;
230  template <typename ArgT0 = const std::string&, typename... ArgT>
231  void set_name(ArgT0&& arg0, ArgT... args);
232  std::string* mutable_name();
233  PROTOBUF_NODISCARD std::string* release_name();
234  void set_allocated_name(std::string* name);
235  private:
236  const std::string& _internal_name() const;
237  inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
238  std::string* _internal_mutable_name();
239  public:
240 
241  // uint32 id = 2;
242  void clear_id();
243  uint32_t id() const;
244  void set_id(uint32_t value);
245  private:
246  uint32_t _internal_id() const;
247  void _internal_set_id(uint32_t value);
248  public:
249 
250  // @@protoc_insertion_point(class_scope:ignition.msgs.PoseTrajectory)
251  private:
252  class _Internal;
253 
254  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
255  typedef void InternalArenaConstructable_;
256  typedef void DestructorSkippable_;
257  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > pose_;
258  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
259  uint32_t id_;
260  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
261  friend struct ::TableStruct_ignition_2fmsgs_2fpose_5ftrajectory_2eproto;
262 };
263 // ===================================================================
264 
265 
266 // ===================================================================
267 
268 #ifdef __GNUC__
269  #pragma GCC diagnostic push
270  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
271 #endif // __GNUC__
272 // PoseTrajectory
273 
274 // string name = 1;
276  name_.ClearToEmpty();
277 }
278 inline const std::string& PoseTrajectory::name() const {
279  // @@protoc_insertion_point(field_get:ignition.msgs.PoseTrajectory.name)
280  return _internal_name();
281 }
282 template <typename ArgT0, typename... ArgT>
283 inline PROTOBUF_ALWAYS_INLINE
284 void PoseTrajectory::set_name(ArgT0&& arg0, ArgT... args) {
285 
286  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
287  // @@protoc_insertion_point(field_set:ignition.msgs.PoseTrajectory.name)
288 }
290  std::string* _s = _internal_mutable_name();
291  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseTrajectory.name)
292  return _s;
293 }
294 inline const std::string& PoseTrajectory::_internal_name() const {
295  return name_.Get();
296 }
297 inline void PoseTrajectory::_internal_set_name(const std::string& value) {
298 
299  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
300 }
301 inline std::string* PoseTrajectory::_internal_mutable_name() {
302 
303  return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
304 }
306  // @@protoc_insertion_point(field_release:ignition.msgs.PoseTrajectory.name)
307  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
308 }
310  if (name != nullptr) {
311 
312  } else {
313 
314  }
315  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
316  GetArenaForAllocation());
317 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
318  if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
319  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
320  }
321 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
322  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PoseTrajectory.name)
323 }
324 
325 // uint32 id = 2;
327  id_ = 0u;
328 }
329 inline uint32_t PoseTrajectory::_internal_id() const {
330  return id_;
331 }
332 inline uint32_t PoseTrajectory::id() const {
333  // @@protoc_insertion_point(field_get:ignition.msgs.PoseTrajectory.id)
334  return _internal_id();
335 }
336 inline void PoseTrajectory::_internal_set_id(uint32_t value) {
337 
338  id_ = value;
339 }
340 inline void PoseTrajectory::set_id(uint32_t value) {
341  _internal_set_id(value);
342  // @@protoc_insertion_point(field_set:ignition.msgs.PoseTrajectory.id)
343 }
344 
345 // repeated .ignition.msgs.Pose pose = 3;
346 inline int PoseTrajectory::_internal_pose_size() const {
347  return pose_.size();
348 }
349 inline int PoseTrajectory::pose_size() const {
350  return _internal_pose_size();
351 }
352 inline ::ignition::msgs::Pose* PoseTrajectory::mutable_pose(int index) {
353  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseTrajectory.pose)
354  return pose_.Mutable(index);
355 }
356 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >*
358  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.PoseTrajectory.pose)
359  return &pose_;
360 }
361 inline const ::ignition::msgs::Pose& PoseTrajectory::_internal_pose(int index) const {
362  return pose_.Get(index);
363 }
364 inline const ::ignition::msgs::Pose& PoseTrajectory::pose(int index) const {
365  // @@protoc_insertion_point(field_get:ignition.msgs.PoseTrajectory.pose)
366  return _internal_pose(index);
367 }
368 inline ::ignition::msgs::Pose* PoseTrajectory::_internal_add_pose() {
369  return pose_.Add();
370 }
371 inline ::ignition::msgs::Pose* PoseTrajectory::add_pose() {
372  ::ignition::msgs::Pose* _add = _internal_add_pose();
373  // @@protoc_insertion_point(field_add:ignition.msgs.PoseTrajectory.pose)
374  return _add;
375 }
376 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose >&
378  // @@protoc_insertion_point(field_list:ignition.msgs.PoseTrajectory.pose)
379  return pose_;
380 }
381 
382 #ifdef __GNUC__
383  #pragma GCC diagnostic pop
384 #endif // __GNUC__
385 
390 // @@protoc_insertion_point(namespace_scope)
391 
392 } // namespace msgs
393 } // namespace ignition
394 
395 #ifdef _MSC_VER
396 #pragma warning(pop)
397 #endif
398 // @@protoc_insertion_point(global_scope)
399 
400 #include <google/protobuf/port_undef.inc>
401 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5ftrajectory_2eproto
Definition: pose_trajectory.pb.h:84
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: pose_trajectory.pb.h:120
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_NODISCARD std::string * release_name()
Definition: pose_trajectory.pb.h:305
friend void swap(PoseTrajectory &a, PoseTrajectory &b)
Definition: pose_trajectory.pb.h:133
void CopyFrom(const PoseTrajectory &from)
const std::string & name() const
Definition: pose_trajectory.pb.h:278
PoseTrajectory & operator=(const PoseTrajectory &from)
Definition: pose_trajectory.pb.h:96
PoseTrajectory * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: pose_trajectory.pb.h:157
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: pose_trajectory.pb.h:114
PoseTrajectory(const PoseTrajectory &from)
PoseTrajectory(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PoseTrajectory()
Definition: pose_trajectory.pb.h:86
void Swap(PoseTrajectory *other)
Definition: pose_trajectory.pb.h:136
PoseTrajectory & operator=(PoseTrajectory &&from) noexcept
Definition: pose_trajectory.pb.h:100
void clear_name()
Definition: pose_trajectory.pb.h:275
static const PoseTrajectory & default_instance()
Definition: pose_trajectory.pb.h:123
void UnsafeArenaSwap(PoseTrajectory *other)
Definition: pose_trajectory.pb.h:149
void clear_id()
Definition: pose_trajectory.pb.h:326
int pose_size() const
Definition: pose_trajectory.pb.h:349
void set_name(ArgT0 &&arg0, ArgT... args)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > & pose() const
Definition: pose_trajectory.pb.h:377
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Pose > * mutable_pose()
Definition: pose_trajectory.pb.h:357
static const PoseTrajectory * internal_default_instance()
Definition: pose_trajectory.pb.h:126
void MergeFrom(const PoseTrajectory &from)
::ignition::msgs::Pose * add_pose()
Definition: pose_trajectory.pb.h:371
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: pose_trajectory.pb.h:117
std::string * mutable_name()
Definition: pose_trajectory.pb.h:289
static const ClassData _class_data_
Definition: pose_trajectory.pb.h:195
void set_id(uint32_t value)
Definition: pose_trajectory.pb.h:340
uint32_t id() const
Definition: pose_trajectory.pb.h:332
void set_allocated_name(std::string *name)
Definition: pose_trajectory.pb.h:309
constexpr PoseTrajectory(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PoseTrajectory(PoseTrajectory &&from) noexcept
Definition: pose_trajectory.pb.h:91
Definition: pose.pb.h:86
std::shared_ptr< const PoseTrajectory > ConstPoseTrajectorySharedPtr
Definition: pose_trajectory.pb.h:389
IGNITION_MSGS_VISIBLE PoseTrajectoryDefaultTypeInternal _PoseTrajectory_default_instance_
std::unique_ptr< const PoseTrajectory > ConstPoseTrajectoryUniquePtr
Definition: pose_trajectory.pb.h:387
std::shared_ptr< PoseTrajectory > PoseTrajectorySharedPtr
Definition: pose_trajectory.pb.h:388
std::unique_ptr< PoseTrajectory > PoseTrajectoryUniquePtr
Definition: pose_trajectory.pb.h:386
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fpose_5ftrajectory_2eproto
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)