Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/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 PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5ftrajectory_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5ftrajectory_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 #include "ignition/msgs/pose.pb.h"
34 #ifndef _MSC_VER
35 #pragma GCC system_header
36 #else
37 #pragma warning(push)
38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
39 #endif
40 #ifdef __linux__
41 #include <sys/sysmacros.h>
42 #endif
43 #include <memory>
44 #include <ignition/msgs/Export.hh>
45 // @@protoc_insertion_point(includes)
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fpose_5ftrajectory_2eproto IGNITION_MSGS_VISIBLE
47 
49 // Internal implementation detail -- do not use these members.
50 struct IGNITION_MSGS_VISIBLE TableStruct {
51  static const ::google::protobuf::internal::ParseTableField entries[];
52  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
53  static const ::google::protobuf::internal::ParseTable schema[1];
54  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
55  static const ::google::protobuf::internal::SerializationTable serialization_table[];
56  static const ::google::protobuf::uint32 offsets[];
57 };
58 void IGNITION_MSGS_VISIBLE AddDescriptors();
59 } // namespace protobuf_ignition_2fmsgs_2fpose_5ftrajectory_2eproto
60 namespace ignition {
61 namespace msgs {
62 class PoseTrajectory;
63 class PoseTrajectoryDefaultTypeInternal;
64 IGNITION_MSGS_VISIBLE extern PoseTrajectoryDefaultTypeInternal _PoseTrajectory_default_instance_;
65 } // namespace msgs
66 } // namespace ignition
67 namespace google {
68 namespace protobuf {
69 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::PoseTrajectory* Arena::CreateMaybeMessage<::ignition::msgs::PoseTrajectory>(Arena*);
70 } // namespace protobuf
71 } // namespace google
72 namespace ignition {
73 namespace msgs {
74 
75 // ===================================================================
76 
77 class IGNITION_MSGS_VISIBLE PoseTrajectory : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.PoseTrajectory) */ {
78  public:
80  virtual ~PoseTrajectory();
81 
82  PoseTrajectory(const PoseTrajectory& from);
83 
84  inline PoseTrajectory& operator=(const PoseTrajectory& from) {
85  CopyFrom(from);
86  return *this;
87  }
88  #if LANG_CXX11
89  PoseTrajectory(PoseTrajectory&& from) noexcept
90  : PoseTrajectory() {
91  *this = ::std::move(from);
92  }
93 
94  inline PoseTrajectory& operator=(PoseTrajectory&& from) noexcept {
95  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96  if (this != &from) InternalSwap(&from);
97  } else {
98  CopyFrom(from);
99  }
100  return *this;
101  }
102  #endif
103  static const ::google::protobuf::Descriptor* descriptor();
104  static const PoseTrajectory& default_instance();
105 
106  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
107  static inline const PoseTrajectory* internal_default_instance() {
108  return reinterpret_cast<const PoseTrajectory*>(
110  }
111  static constexpr int kIndexInFileMessages =
112  0;
113 
114  void Swap(PoseTrajectory* other);
115  friend void swap(PoseTrajectory& a, PoseTrajectory& b) {
116  a.Swap(&b);
117  }
118 
119  // implements Message ----------------------------------------------
120 
121  inline PoseTrajectory* New() const final {
122  return CreateMaybeMessage<PoseTrajectory>(NULL);
123  }
124 
125  PoseTrajectory* New(::google::protobuf::Arena* arena) const final {
126  return CreateMaybeMessage<PoseTrajectory>(arena);
127  }
128  void CopyFrom(const ::google::protobuf::Message& from) final;
129  void MergeFrom(const ::google::protobuf::Message& from) final;
130  void CopyFrom(const PoseTrajectory& from);
131  void MergeFrom(const PoseTrajectory& from);
132  void Clear() final;
133  bool IsInitialized() const final;
134 
135  size_t ByteSizeLong() const final;
136  bool MergePartialFromCodedStream(
137  ::google::protobuf::io::CodedInputStream* input) final;
138  void SerializeWithCachedSizes(
139  ::google::protobuf::io::CodedOutputStream* output) const final;
140  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
141  bool deterministic, ::google::protobuf::uint8* target) const final;
142  int GetCachedSize() const final { return _cached_size_.Get(); }
143 
144  private:
145  void SharedCtor();
146  void SharedDtor();
147  void SetCachedSize(int size) const final;
148  void InternalSwap(PoseTrajectory* other);
149  private:
150  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
151  return NULL;
152  }
153  inline void* MaybeArenaPtr() const {
154  return NULL;
155  }
156  public:
157 
158  ::google::protobuf::Metadata GetMetadata() const final;
159 
160  // nested types ----------------------------------------------------
161 
162  // accessors -------------------------------------------------------
163 
164  // repeated .ignition.msgs.Pose pose = 3;
165  int pose_size() const;
166  void clear_pose();
167  static const int kPoseFieldNumber = 3;
168  ::ignition::msgs::Pose* mutable_pose(int index);
169  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >*
170  mutable_pose();
171  const ::ignition::msgs::Pose& pose(int index) const;
172  ::ignition::msgs::Pose* add_pose();
173  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >&
174  pose() const;
175 
176  // string name = 1;
177  void clear_name();
178  static const int kNameFieldNumber = 1;
179  const ::std::string& name() const;
180  void set_name(const ::std::string& value);
181  #if LANG_CXX11
182  void set_name(::std::string&& value);
183  #endif
184  void set_name(const char* value);
185  void set_name(const char* value, size_t size);
186  ::std::string* mutable_name();
187  ::std::string* release_name();
188  void set_allocated_name(::std::string* name);
189 
190  // uint32 id = 2;
191  void clear_id();
192  static const int kIdFieldNumber = 2;
193  ::google::protobuf::uint32 id() const;
194  void set_id(::google::protobuf::uint32 value);
195 
196  // @@protoc_insertion_point(class_scope:ignition.msgs.PoseTrajectory)
197  private:
198 
199  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
200  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose > pose_;
201  ::google::protobuf::internal::ArenaStringPtr name_;
202  ::google::protobuf::uint32 id_;
203  mutable ::google::protobuf::internal::CachedSize _cached_size_;
204  friend struct ::protobuf_ignition_2fmsgs_2fpose_5ftrajectory_2eproto::TableStruct;
205 };
206 // ===================================================================
207 
208 
209 // ===================================================================
210 
211 #ifdef __GNUC__
212  #pragma GCC diagnostic push
213  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
214 #endif // __GNUC__
215 // PoseTrajectory
216 
217 // string name = 1;
219  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
220 }
221 inline const ::std::string& PoseTrajectory::name() const {
222  // @@protoc_insertion_point(field_get:ignition.msgs.PoseTrajectory.name)
223  return name_.GetNoArena();
224 }
225 inline void PoseTrajectory::set_name(const ::std::string& value) {
226 
227  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
228  // @@protoc_insertion_point(field_set:ignition.msgs.PoseTrajectory.name)
229 }
230 #if LANG_CXX11
231 inline void PoseTrajectory::set_name(::std::string&& value) {
232 
233  name_.SetNoArena(
234  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
235  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.PoseTrajectory.name)
236 }
237 #endif
238 inline void PoseTrajectory::set_name(const char* value) {
239  GOOGLE_DCHECK(value != NULL);
240 
241  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
242  // @@protoc_insertion_point(field_set_char:ignition.msgs.PoseTrajectory.name)
243 }
244 inline void PoseTrajectory::set_name(const char* value, size_t size) {
245 
246  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
247  ::std::string(reinterpret_cast<const char*>(value), size));
248  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.PoseTrajectory.name)
249 }
250 inline ::std::string* PoseTrajectory::mutable_name() {
251 
252  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseTrajectory.name)
253  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
254 }
255 inline ::std::string* PoseTrajectory::release_name() {
256  // @@protoc_insertion_point(field_release:ignition.msgs.PoseTrajectory.name)
257 
258  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
259 }
261  if (name != NULL) {
262 
263  } else {
264 
265  }
266  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
267  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PoseTrajectory.name)
268 }
269 
270 // uint32 id = 2;
272  id_ = 0u;
273 }
274 inline ::google::protobuf::uint32 PoseTrajectory::id() const {
275  // @@protoc_insertion_point(field_get:ignition.msgs.PoseTrajectory.id)
276  return id_;
277 }
278 inline void PoseTrajectory::set_id(::google::protobuf::uint32 value) {
279 
280  id_ = value;
281  // @@protoc_insertion_point(field_set:ignition.msgs.PoseTrajectory.id)
282 }
283 
284 // repeated .ignition.msgs.Pose pose = 3;
285 inline int PoseTrajectory::pose_size() const {
286  return pose_.size();
287 }
288 inline ::ignition::msgs::Pose* PoseTrajectory::mutable_pose(int index) {
289  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseTrajectory.pose)
290  return pose_.Mutable(index);
291 }
292 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >*
294  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.PoseTrajectory.pose)
295  return &pose_;
296 }
297 inline const ::ignition::msgs::Pose& PoseTrajectory::pose(int index) const {
298  // @@protoc_insertion_point(field_get:ignition.msgs.PoseTrajectory.pose)
299  return pose_.Get(index);
300 }
301 inline ::ignition::msgs::Pose* PoseTrajectory::add_pose() {
302  // @@protoc_insertion_point(field_add:ignition.msgs.PoseTrajectory.pose)
303  return pose_.Add();
304 }
305 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >&
307  // @@protoc_insertion_point(field_list:ignition.msgs.PoseTrajectory.pose)
308  return pose_;
309 }
310 
311 #ifdef __GNUC__
312  #pragma GCC diagnostic pop
313 #endif // __GNUC__
314 
319 // @@protoc_insertion_point(namespace_scope)
320 
321 } // namespace msgs
322 } // namespace ignition
323 
324 #ifdef _MSC_VER
325 #pragma warning(pop)
326 #endif
327 // @@protoc_insertion_point(global_scope)
328 
329 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fpose_5ftrajectory_2eproto
void clear_id()
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:271
IGNITION_MSGS_VISIBLE PoseTrajectoryDefaultTypeInternal _PoseTrajectory_default_instance_
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:48
STL class.
STL class.
T move(T... args)
void set_name(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:225
PoseTrajectory & operator=(const PoseTrajectory &from)
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:84
Definition: build/ignition-msgs5/include/ignition/msgs/pose.pb.h:79
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose > * mutable_pose()
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:293
int pose_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:285
std::unique_ptr< PoseTrajectory > PoseTrajectoryUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:315
PoseTrajectory * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:121
const ::std::string & name() const
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:221
::std::string * mutable_name()
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:250
::google::protobuf::uint32 id() const
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:274
void set_allocated_name(::std::string *name)
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:260
std::unique_ptr< const PoseTrajectory > ConstPoseTrajectoryUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:316
static const PoseTrajectory * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:107
void set_id(::google::protobuf::uint32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:278
::ignition::msgs::Pose * add_pose()
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:301
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose > & pose() const
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:306
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:77
std::shared_ptr< const PoseTrajectory > ConstPoseTrajectorySharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:318
void clear_name()
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:218
STL namespace.
PoseTrajectory * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:125
std::shared_ptr< PoseTrajectory > PoseTrajectorySharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:317
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:50
void Swap(PoseTrajectory *other)
::std::string * release_name()
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:255
STL class.
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
friend void swap(PoseTrajectory &a, PoseTrajectory &b)
Definition: build/ignition-msgs5/include/ignition/msgs/pose_trajectory.pb.h:115