Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/joint_trajectory.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_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>
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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto IGNITION_MSGS_VISIBLE
48 
50 // Internal implementation detail -- do not use these members.
51 struct IGNITION_MSGS_VISIBLE TableStruct {
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[];
58 };
59 void IGNITION_MSGS_VISIBLE AddDescriptors();
60 } // namespace protobuf_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto
61 namespace ignition {
62 namespace msgs {
63 class JointTrajectory;
64 class JointTrajectoryDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern JointTrajectoryDefaultTypeInternal _JointTrajectory_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::JointTrajectory* Arena::CreateMaybeMessage<::ignition::msgs::JointTrajectory>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
76 // ===================================================================
77 
78 class IGNITION_MSGS_VISIBLE JointTrajectory : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.JointTrajectory) */ {
79  public:
81  virtual ~JointTrajectory();
82 
83  JointTrajectory(const JointTrajectory& from);
84 
85  inline JointTrajectory& operator=(const JointTrajectory& from) {
86  CopyFrom(from);
87  return *this;
88  }
89  #if LANG_CXX11
90  JointTrajectory(JointTrajectory&& from) noexcept
91  : JointTrajectory() {
92  *this = ::std::move(from);
93  }
94 
95  inline JointTrajectory& operator=(JointTrajectory&& from) noexcept {
96  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97  if (this != &from) InternalSwap(&from);
98  } else {
99  CopyFrom(from);
100  }
101  return *this;
102  }
103  #endif
104  static const ::google::protobuf::Descriptor* descriptor();
105  static const JointTrajectory& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
109  return reinterpret_cast<const JointTrajectory*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(JointTrajectory* other);
116  friend void swap(JointTrajectory& a, JointTrajectory& b) {
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline JointTrajectory* New() const final {
123  return CreateMaybeMessage<JointTrajectory>(NULL);
124  }
125 
126  JointTrajectory* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<JointTrajectory>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const JointTrajectory& from);
132  void MergeFrom(const JointTrajectory& from);
133  void Clear() final;
134  bool IsInitialized() const final;
135 
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(); }
144 
145  private:
146  void SharedCtor();
147  void SharedDtor();
148  void SetCachedSize(int size) const final;
149  void InternalSwap(JointTrajectory* other);
150  private:
151  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
152  return NULL;
153  }
154  inline void* MaybeArenaPtr() const {
155  return NULL;
156  }
157  public:
158 
159  ::google::protobuf::Metadata GetMetadata() const final;
160 
161  // nested types ----------------------------------------------------
162 
163  // accessors -------------------------------------------------------
164 
165  // repeated string joint_names = 2;
166  int joint_names_size() const;
167  void clear_joint_names();
168  static const int kJointNamesFieldNumber = 2;
169  const ::std::string& joint_names(int index) const;
170  ::std::string* mutable_joint_names(int index);
171  void set_joint_names(int index, const ::std::string& value);
172  #if LANG_CXX11
173  void set_joint_names(int index, ::std::string&& value);
174  #endif
175  void set_joint_names(int index, const char* value);
176  void set_joint_names(int index, const char* value, size_t size);
177  ::std::string* add_joint_names();
178  void add_joint_names(const ::std::string& value);
179  #if LANG_CXX11
180  void add_joint_names(::std::string&& value);
181  #endif
182  void add_joint_names(const char* value);
183  void add_joint_names(const char* value, size_t size);
184  const ::google::protobuf::RepeatedPtrField< ::std::string>& joint_names() const;
185  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_joint_names();
186 
187  // repeated .ignition.msgs.JointTrajectoryPoint points = 3;
188  int points_size() const;
189  void clear_points();
190  static const int kPointsFieldNumber = 3;
191  ::ignition::msgs::JointTrajectoryPoint* mutable_points(int index);
192  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >*
193  mutable_points();
194  const ::ignition::msgs::JointTrajectoryPoint& points(int index) const;
196  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >&
197  points() const;
198 
199  // .ignition.msgs.Header header = 1;
200  bool has_header() const;
201  void clear_header();
202  static const int kHeaderFieldNumber = 1;
203  private:
204  const ::ignition::msgs::Header& _internal_header() const;
205  public:
206  const ::ignition::msgs::Header& header() const;
207  ::ignition::msgs::Header* release_header();
208  ::ignition::msgs::Header* mutable_header();
209  void set_allocated_header(::ignition::msgs::Header* header);
210 
211  // @@protoc_insertion_point(class_scope:ignition.msgs.JointTrajectory)
212  private:
213 
214  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
215  ::google::protobuf::RepeatedPtrField< ::std::string> joint_names_;
216  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint > points_;
217  ::ignition::msgs::Header* header_;
218  mutable ::google::protobuf::internal::CachedSize _cached_size_;
219  friend struct ::protobuf_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto::TableStruct;
220 };
221 // ===================================================================
222 
223 
224 // ===================================================================
225 
226 #ifdef __GNUC__
227  #pragma GCC diagnostic push
228  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
229 #endif // __GNUC__
230 // JointTrajectory
231 
232 // .ignition.msgs.Header header = 1;
233 inline bool JointTrajectory::has_header() const {
234  return this != internal_default_instance() && header_ != NULL;
235 }
236 inline const ::ignition::msgs::Header& JointTrajectory::_internal_header() const {
237  return *header_;
238 }
239 inline const ::ignition::msgs::Header& JointTrajectory::header() const {
240  const ::ignition::msgs::Header* p = header_;
241  // @@protoc_insertion_point(field_get:ignition.msgs.JointTrajectory.header)
242  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
244 }
245 inline ::ignition::msgs::Header* JointTrajectory::release_header() {
246  // @@protoc_insertion_point(field_release:ignition.msgs.JointTrajectory.header)
247 
248  ::ignition::msgs::Header* temp = header_;
249  header_ = NULL;
250  return temp;
251 }
252 inline ::ignition::msgs::Header* JointTrajectory::mutable_header() {
253 
254  if (header_ == NULL) {
255  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
256  header_ = p;
257  }
258  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointTrajectory.header)
259  return header_;
260 }
262  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
263  if (message_arena == NULL) {
264  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
265  }
266  if (header) {
267  ::google::protobuf::Arena* submessage_arena = NULL;
268  if (message_arena != submessage_arena) {
269  header = ::google::protobuf::internal::GetOwnedMessage(
270  message_arena, header, submessage_arena);
271  }
272 
273  } else {
274 
275  }
276  header_ = header;
277  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.JointTrajectory.header)
278 }
279 
280 // repeated string joint_names = 2;
282  return joint_names_.size();
283 }
285  joint_names_.Clear();
286 }
287 inline const ::std::string& JointTrajectory::joint_names(int index) const {
288  // @@protoc_insertion_point(field_get:ignition.msgs.JointTrajectory.joint_names)
289  return joint_names_.Get(index);
290 }
291 inline ::std::string* JointTrajectory::mutable_joint_names(int index) {
292  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointTrajectory.joint_names)
293  return joint_names_.Mutable(index);
294 }
295 inline void JointTrajectory::set_joint_names(int index, const ::std::string& value) {
296  // @@protoc_insertion_point(field_set:ignition.msgs.JointTrajectory.joint_names)
297  joint_names_.Mutable(index)->assign(value);
298 }
299 #if LANG_CXX11
300 inline void JointTrajectory::set_joint_names(int index, ::std::string&& value) {
301  // @@protoc_insertion_point(field_set:ignition.msgs.JointTrajectory.joint_names)
302  joint_names_.Mutable(index)->assign(std::move(value));
303 }
304 #endif
305 inline void JointTrajectory::set_joint_names(int index, const char* value) {
306  GOOGLE_DCHECK(value != NULL);
307  joint_names_.Mutable(index)->assign(value);
308  // @@protoc_insertion_point(field_set_char:ignition.msgs.JointTrajectory.joint_names)
309 }
310 inline void JointTrajectory::set_joint_names(int index, const char* value, size_t size) {
311  joint_names_.Mutable(index)->assign(
312  reinterpret_cast<const char*>(value), size);
313  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.JointTrajectory.joint_names)
314 }
315 inline ::std::string* JointTrajectory::add_joint_names() {
316  // @@protoc_insertion_point(field_add_mutable:ignition.msgs.JointTrajectory.joint_names)
317  return joint_names_.Add();
318 }
319 inline void JointTrajectory::add_joint_names(const ::std::string& value) {
320  joint_names_.Add()->assign(value);
321  // @@protoc_insertion_point(field_add:ignition.msgs.JointTrajectory.joint_names)
322 }
323 #if LANG_CXX11
324 inline void JointTrajectory::add_joint_names(::std::string&& value) {
325  joint_names_.Add(std::move(value));
326  // @@protoc_insertion_point(field_add:ignition.msgs.JointTrajectory.joint_names)
327 }
328 #endif
329 inline void JointTrajectory::add_joint_names(const char* value) {
330  GOOGLE_DCHECK(value != NULL);
331  joint_names_.Add()->assign(value);
332  // @@protoc_insertion_point(field_add_char:ignition.msgs.JointTrajectory.joint_names)
333 }
334 inline void JointTrajectory::add_joint_names(const char* value, size_t size) {
335  joint_names_.Add()->assign(reinterpret_cast<const char*>(value), size);
336  // @@protoc_insertion_point(field_add_pointer:ignition.msgs.JointTrajectory.joint_names)
337 }
338 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
340  // @@protoc_insertion_point(field_list:ignition.msgs.JointTrajectory.joint_names)
341  return joint_names_;
342 }
343 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
345  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.JointTrajectory.joint_names)
346  return &joint_names_;
347 }
348 
349 // repeated .ignition.msgs.JointTrajectoryPoint points = 3;
350 inline int JointTrajectory::points_size() const {
351  return points_.size();
352 }
353 inline ::ignition::msgs::JointTrajectoryPoint* JointTrajectory::mutable_points(int index) {
354  // @@protoc_insertion_point(field_mutable:ignition.msgs.JointTrajectory.points)
355  return points_.Mutable(index);
356 }
357 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >*
359  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.JointTrajectory.points)
360  return &points_;
361 }
362 inline const ::ignition::msgs::JointTrajectoryPoint& JointTrajectory::points(int index) const {
363  // @@protoc_insertion_point(field_get:ignition.msgs.JointTrajectory.points)
364  return points_.Get(index);
365 }
366 inline ::ignition::msgs::JointTrajectoryPoint* JointTrajectory::add_points() {
367  // @@protoc_insertion_point(field_add:ignition.msgs.JointTrajectory.points)
368  return points_.Add();
369 }
370 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >&
372  // @@protoc_insertion_point(field_list:ignition.msgs.JointTrajectory.points)
373  return points_;
374 }
375 
376 #ifdef __GNUC__
377  #pragma GCC diagnostic pop
378 #endif // __GNUC__
379 
384 // @@protoc_insertion_point(namespace_scope)
385 
386 } // namespace msgs
387 } // namespace ignition
388 
389 #ifdef _MSC_VER
390 #pragma warning(pop)
391 #endif
392 // @@protoc_insertion_point(global_scope)
393 
394 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto
int joint_names_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:281
STL class.
STL class.
JointTrajectory * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:122
T move(T... args)
::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint > * mutable_points()
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:358
int points_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:350
const ::google::protobuf::RepeatedPtrField< ::std::string > & joint_names() const
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:339
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory_point.pb.h:77
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:78
JointTrajectory & operator=(const JointTrajectory &from)
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:85
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:49
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:261
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:245
void clear_joint_names()
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:284
void Swap(JointTrajectory *other)
::ignition::msgs::JointTrajectoryPoint * add_points()
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:366
JointTrajectory * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:126
IGNITION_MSGS_VISIBLE JointTrajectoryDefaultTypeInternal _JointTrajectory_default_instance_
static const JointTrajectory * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:108
std::unique_ptr< const JointTrajectory > ConstJointTrajectoryUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:381
std::shared_ptr< const JointTrajectory > ConstJointTrajectorySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:383
::google::protobuf::RepeatedPtrField< ::std::string > * mutable_joint_names()
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:344
::std::string * add_joint_names()
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:315
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:233
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:51
void set_joint_names(int index, const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:295
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:252
friend void swap(JointTrajectory &a, JointTrajectory &b)
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:116
std::unique_ptr< JointTrajectory > JointTrajectoryUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:380
std::shared_ptr< JointTrajectory > JointTrajectorySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:382
STL class.
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint > & points() const
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:371
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/joint_trajectory.pb.h:239