Ignition Msgs

API Reference

7.1.0
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_ignition_2fmsgs_2fpose_5ftrajectory_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fpose_5ftrajectory_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
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 3000000 < 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/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/unknown_field_set.h>
30 #include "ignition/msgs/pose.pb.h"
31 #ifndef _MSC_VER
32 #pragma GCC system_header
33 #else
34 #pragma warning(push)
35 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
36 #endif
37 #ifdef __linux__
38 #include <sys/sysmacros.h>
39 #endif
40 #include <memory>
41 #include <ignition/msgs/Export.hh>
42 // @@protoc_insertion_point(includes)
43 
44 namespace ignition {
45 namespace msgs {
46 
47 // Internal implementation detail -- do not call these.
51 
52 class PoseTrajectory;
53 
54 // ===================================================================
55 
56 class IGNITION_MSGS_VISIBLE PoseTrajectory : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.PoseTrajectory) */ {
57  public:
59  virtual ~PoseTrajectory();
60 
61  PoseTrajectory(const PoseTrajectory& from);
62 
63  inline PoseTrajectory& operator=(const PoseTrajectory& from) {
64  CopyFrom(from);
65  return *this;
66  }
67 
68  static const ::google::protobuf::Descriptor* descriptor();
69  static const PoseTrajectory& default_instance();
70 
71  void Swap(PoseTrajectory* other);
72 
73  // implements Message ----------------------------------------------
74 
75  inline PoseTrajectory* New() const { return New(NULL); }
76 
77  PoseTrajectory* New(::google::protobuf::Arena* arena) const;
78  void CopyFrom(const ::google::protobuf::Message& from);
79  void MergeFrom(const ::google::protobuf::Message& from);
80  void CopyFrom(const PoseTrajectory& from);
81  void MergeFrom(const PoseTrajectory& from);
82  void Clear();
83  bool IsInitialized() const;
84 
85  int ByteSize() const;
86  bool MergePartialFromCodedStream(
87  ::google::protobuf::io::CodedInputStream* input);
88  void SerializeWithCachedSizes(
89  ::google::protobuf::io::CodedOutputStream* output) const;
90  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
91  bool deterministic, ::google::protobuf::uint8* output) const;
92  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
93  return InternalSerializeWithCachedSizesToArray(false, output);
94  }
95  int GetCachedSize() const { return _cached_size_; }
96  private:
97  void SharedCtor();
98  void SharedDtor();
99  void SetCachedSize(int size) const;
100  void InternalSwap(PoseTrajectory* other);
101  private:
102  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
103  return _internal_metadata_.arena();
104  }
105  inline void* MaybeArenaPtr() const {
106  return _internal_metadata_.raw_arena_ptr();
107  }
108  public:
109 
110  ::google::protobuf::Metadata GetMetadata() const;
111 
112  // nested types ----------------------------------------------------
113 
114  // accessors -------------------------------------------------------
115 
116  // optional string name = 1;
117  void clear_name();
118  static const int kNameFieldNumber = 1;
119  const ::std::string& name() const;
120  void set_name(const ::std::string& value);
121  void set_name(const char* value);
122  void set_name(const char* value, size_t size);
123  ::std::string* mutable_name();
124  ::std::string* release_name();
125  void set_allocated_name(::std::string* name);
126 
127  // optional uint32 id = 2;
128  void clear_id();
129  static const int kIdFieldNumber = 2;
130  ::google::protobuf::uint32 id() const;
131  void set_id(::google::protobuf::uint32 value);
132 
133  // repeated .ignition.msgs.Pose pose = 3;
134  int pose_size() const;
135  void clear_pose();
136  static const int kPoseFieldNumber = 3;
137  const ::ignition::msgs::Pose& pose(int index) const;
138  ::ignition::msgs::Pose* mutable_pose(int index);
139  ::ignition::msgs::Pose* add_pose();
140  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >*
141  mutable_pose();
142  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >&
143  pose() const;
144 
145  // @@protoc_insertion_point(class_scope:ignition.msgs.PoseTrajectory)
146  private:
147 
148  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
149  bool _is_default_instance_;
150  ::google::protobuf::internal::ArenaStringPtr name_;
151  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose > pose_;
152  ::google::protobuf::uint32 id_;
153  mutable int _cached_size_;
154  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fpose_5ftrajectory_2eproto();
157 
158  void InitAsDefaultInstance();
159  static PoseTrajectory* default_instance_;
160 };
161 // ===================================================================
162 
163 
164 // ===================================================================
165 
166 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
167 // PoseTrajectory
168 
169 // optional string name = 1;
171  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
172 }
173 inline const ::std::string& PoseTrajectory::name() const {
174  // @@protoc_insertion_point(field_get:ignition.msgs.PoseTrajectory.name)
175  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
176 }
177 inline void PoseTrajectory::set_name(const ::std::string& value) {
178 
179  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
180  // @@protoc_insertion_point(field_set:ignition.msgs.PoseTrajectory.name)
181 }
182 inline void PoseTrajectory::set_name(const char* value) {
183 
184  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
185  // @@protoc_insertion_point(field_set_char:ignition.msgs.PoseTrajectory.name)
186 }
187 inline void PoseTrajectory::set_name(const char* value, size_t size) {
188 
189  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
190  ::std::string(reinterpret_cast<const char*>(value), size));
191  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.PoseTrajectory.name)
192 }
193 inline ::std::string* PoseTrajectory::mutable_name() {
194 
195  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseTrajectory.name)
196  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
197 }
198 inline ::std::string* PoseTrajectory::release_name() {
199  // @@protoc_insertion_point(field_release:ignition.msgs.PoseTrajectory.name)
200 
201  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
202 }
204  if (name != NULL) {
205 
206  } else {
207 
208  }
209  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
210  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.PoseTrajectory.name)
211 }
212 
213 // optional uint32 id = 2;
215  id_ = 0u;
216 }
217 inline ::google::protobuf::uint32 PoseTrajectory::id() const {
218  // @@protoc_insertion_point(field_get:ignition.msgs.PoseTrajectory.id)
219  return id_;
220 }
221 inline void PoseTrajectory::set_id(::google::protobuf::uint32 value) {
222 
223  id_ = value;
224  // @@protoc_insertion_point(field_set:ignition.msgs.PoseTrajectory.id)
225 }
226 
227 // repeated .ignition.msgs.Pose pose = 3;
228 inline int PoseTrajectory::pose_size() const {
229  return pose_.size();
230 }
232  pose_.Clear();
233 }
234 inline const ::ignition::msgs::Pose& PoseTrajectory::pose(int index) const {
235  // @@protoc_insertion_point(field_get:ignition.msgs.PoseTrajectory.pose)
236  return pose_.Get(index);
237 }
238 inline ::ignition::msgs::Pose* PoseTrajectory::mutable_pose(int index) {
239  // @@protoc_insertion_point(field_mutable:ignition.msgs.PoseTrajectory.pose)
240  return pose_.Mutable(index);
241 }
242 inline ::ignition::msgs::Pose* PoseTrajectory::add_pose() {
243  // @@protoc_insertion_point(field_add:ignition.msgs.PoseTrajectory.pose)
244  return pose_.Add();
245 }
246 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >*
248  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.PoseTrajectory.pose)
249  return &pose_;
250 }
251 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose >&
253  // @@protoc_insertion_point(field_list:ignition.msgs.PoseTrajectory.pose)
254  return pose_;
255 }
256 
257 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
258 
263 // @@protoc_insertion_point(namespace_scope)
264 
265 } // namespace msgs
266 } // namespace ignition
267 
268 #ifdef _MSC_VER
269 #pragma warning(pop)
270 #endif
271 // @@protoc_insertion_point(global_scope)
272 
273 #endif // PROTOBUF_ignition_2fmsgs_2fpose_5ftrajectory_2eproto__INCLUDED
::google::protobuf::uint32 id() const
Definition: pose_trajectory.pb.h:217
Definition: pose.pb.h:58
void clear_name()
Definition: pose_trajectory.pb.h:170
void set_id(::google::protobuf::uint32 value)
Definition: pose_trajectory.pb.h:221
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose > & pose() const
Definition: pose_trajectory.pb.h:252
std::unique_ptr< PoseTrajectory > PoseTrajectoryUniquePtr
Definition: pose_trajectory.pb.h:259
void set_allocated_name(::std::string *name)
Definition: pose_trajectory.pb.h:203
void protobuf_ShutdownFile_ignition_2fmsgs_2fpose_5ftrajectory_2eproto()
void clear_pose()
Definition: pose_trajectory.pb.h:231
std::unique_ptr< const PoseTrajectory > ConstPoseTrajectoryUniquePtr
Definition: pose_trajectory.pb.h:260
Definition: pose_trajectory.pb.h:56
std::shared_ptr< PoseTrajectory > PoseTrajectorySharedPtr
Definition: pose_trajectory.pb.h:261
PoseTrajectory * New() const
Definition: pose_trajectory.pb.h:75
STL class.
int GetCachedSize() const
Definition: pose_trajectory.pb.h:95
::std::string * release_name()
Definition: pose_trajectory.pb.h:198
void clear_id()
Definition: pose_trajectory.pb.h:214
PoseTrajectory & operator=(const PoseTrajectory &from)
Definition: pose_trajectory.pb.h:63
void protobuf_AssignDesc_ignition_2fmsgs_2fpose_5ftrajectory_2eproto()
STL class.
void set_name(const ::std::string &value)
Definition: pose_trajectory.pb.h:177
::std::string * mutable_name()
Definition: pose_trajectory.pb.h:193
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Pose > * mutable_pose()
Definition: pose_trajectory.pb.h:247
int pose_size() const
Definition: pose_trajectory.pb.h:228
std::shared_ptr< const PoseTrajectory > ConstPoseTrajectorySharedPtr
Definition: pose_trajectory.pb.h:262
::ignition::msgs::Pose * add_pose()
Definition: pose_trajectory.pb.h:242
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: pose_trajectory.pb.h:92
const ::std::string & name() const
Definition: pose_trajectory.pb.h:173
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fpose_5ftrajectory_2eproto()