Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/link_data.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/link_data.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2flink_5fdata_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2flink_5fdata_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_2flink_5fdata_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_2flink_5fdata_2eproto
61 namespace ignition {
62 namespace msgs {
63 class LinkData;
64 class LinkDataDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern LinkDataDefaultTypeInternal _LinkData_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::LinkData* Arena::CreateMaybeMessage<::ignition::msgs::LinkData>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
76 // ===================================================================
77 
78 class IGNITION_MSGS_VISIBLE LinkData : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.LinkData) */ {
79  public:
80  LinkData();
81  virtual ~LinkData();
82 
83  LinkData(const LinkData& from);
84 
85  inline LinkData& operator=(const LinkData& from) {
86  CopyFrom(from);
87  return *this;
88  }
89  #if LANG_CXX11
90  LinkData(LinkData&& from) noexcept
91  : LinkData() {
92  *this = ::std::move(from);
93  }
94 
95  inline LinkData& operator=(LinkData&& 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 LinkData& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
108  static inline const LinkData* internal_default_instance() {
109  return reinterpret_cast<const LinkData*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(LinkData* other);
116  friend void swap(LinkData& a, LinkData& b) {
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline LinkData* New() const final {
123  return CreateMaybeMessage<LinkData>(NULL);
124  }
125 
126  LinkData* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<LinkData>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const LinkData& from);
132  void MergeFrom(const LinkData& 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(LinkData* 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  // string name = 2;
166  void clear_name();
167  static const int kNameFieldNumber = 2;
168  const ::std::string& name() const;
169  void set_name(const ::std::string& value);
170  #if LANG_CXX11
171  void set_name(::std::string&& value);
172  #endif
173  void set_name(const char* value);
174  void set_name(const char* value, size_t size);
175  ::std::string* mutable_name();
176  ::std::string* release_name();
177  void set_allocated_name(::std::string* name);
178 
179  // .ignition.msgs.Header header = 1;
180  bool has_header() const;
181  void clear_header();
182  static const int kHeaderFieldNumber = 1;
183  private:
184  const ::ignition::msgs::Header& _internal_header() const;
185  public:
186  const ::ignition::msgs::Header& header() const;
187  ::ignition::msgs::Header* release_header();
188  ::ignition::msgs::Header* mutable_header();
189  void set_allocated_header(::ignition::msgs::Header* header);
190 
191  // .ignition.msgs.Vector3d linear_velocity = 3;
192  bool has_linear_velocity() const;
193  void clear_linear_velocity();
194  static const int kLinearVelocityFieldNumber = 3;
195  private:
196  const ::ignition::msgs::Vector3d& _internal_linear_velocity() const;
197  public:
198  const ::ignition::msgs::Vector3d& linear_velocity() const;
199  ::ignition::msgs::Vector3d* release_linear_velocity();
200  ::ignition::msgs::Vector3d* mutable_linear_velocity();
201  void set_allocated_linear_velocity(::ignition::msgs::Vector3d* linear_velocity);
202 
203  // .ignition.msgs.Vector3d angular_velocity = 4;
204  bool has_angular_velocity() const;
205  void clear_angular_velocity();
206  static const int kAngularVelocityFieldNumber = 4;
207  private:
208  const ::ignition::msgs::Vector3d& _internal_angular_velocity() const;
209  public:
210  const ::ignition::msgs::Vector3d& angular_velocity() const;
211  ::ignition::msgs::Vector3d* release_angular_velocity();
212  ::ignition::msgs::Vector3d* mutable_angular_velocity();
213  void set_allocated_angular_velocity(::ignition::msgs::Vector3d* angular_velocity);
214 
215  // @@protoc_insertion_point(class_scope:ignition.msgs.LinkData)
216  private:
217 
218  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
219  ::google::protobuf::internal::ArenaStringPtr name_;
220  ::ignition::msgs::Header* header_;
221  ::ignition::msgs::Vector3d* linear_velocity_;
222  ::ignition::msgs::Vector3d* angular_velocity_;
223  mutable ::google::protobuf::internal::CachedSize _cached_size_;
224  friend struct ::protobuf_ignition_2fmsgs_2flink_5fdata_2eproto::TableStruct;
225 };
226 // ===================================================================
227 
228 
229 // ===================================================================
230 
231 #ifdef __GNUC__
232  #pragma GCC diagnostic push
233  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
234 #endif // __GNUC__
235 // LinkData
236 
237 // .ignition.msgs.Header header = 1;
238 inline bool LinkData::has_header() const {
239  return this != internal_default_instance() && header_ != NULL;
240 }
241 inline const ::ignition::msgs::Header& LinkData::_internal_header() const {
242  return *header_;
243 }
244 inline const ::ignition::msgs::Header& LinkData::header() const {
245  const ::ignition::msgs::Header* p = header_;
246  // @@protoc_insertion_point(field_get:ignition.msgs.LinkData.header)
247  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
249 }
250 inline ::ignition::msgs::Header* LinkData::release_header() {
251  // @@protoc_insertion_point(field_release:ignition.msgs.LinkData.header)
252 
253  ::ignition::msgs::Header* temp = header_;
254  header_ = NULL;
255  return temp;
256 }
257 inline ::ignition::msgs::Header* LinkData::mutable_header() {
258 
259  if (header_ == NULL) {
260  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
261  header_ = p;
262  }
263  // @@protoc_insertion_point(field_mutable:ignition.msgs.LinkData.header)
264  return header_;
265 }
267  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
268  if (message_arena == NULL) {
269  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
270  }
271  if (header) {
272  ::google::protobuf::Arena* submessage_arena = NULL;
273  if (message_arena != submessage_arena) {
274  header = ::google::protobuf::internal::GetOwnedMessage(
275  message_arena, header, submessage_arena);
276  }
277 
278  } else {
279 
280  }
281  header_ = header;
282  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.LinkData.header)
283 }
284 
285 // string name = 2;
286 inline void LinkData::clear_name() {
287  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
288 }
289 inline const ::std::string& LinkData::name() const {
290  // @@protoc_insertion_point(field_get:ignition.msgs.LinkData.name)
291  return name_.GetNoArena();
292 }
293 inline void LinkData::set_name(const ::std::string& value) {
294 
295  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
296  // @@protoc_insertion_point(field_set:ignition.msgs.LinkData.name)
297 }
298 #if LANG_CXX11
299 inline void LinkData::set_name(::std::string&& value) {
300 
301  name_.SetNoArena(
302  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
303  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.LinkData.name)
304 }
305 #endif
306 inline void LinkData::set_name(const char* value) {
307  GOOGLE_DCHECK(value != NULL);
308 
309  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
310  // @@protoc_insertion_point(field_set_char:ignition.msgs.LinkData.name)
311 }
312 inline void LinkData::set_name(const char* value, size_t size) {
313 
314  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
315  ::std::string(reinterpret_cast<const char*>(value), size));
316  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.LinkData.name)
317 }
318 inline ::std::string* LinkData::mutable_name() {
319 
320  // @@protoc_insertion_point(field_mutable:ignition.msgs.LinkData.name)
321  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
322 }
323 inline ::std::string* LinkData::release_name() {
324  // @@protoc_insertion_point(field_release:ignition.msgs.LinkData.name)
325 
326  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
327 }
329  if (name != NULL) {
330 
331  } else {
332 
333  }
334  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
335  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.LinkData.name)
336 }
337 
338 // .ignition.msgs.Vector3d linear_velocity = 3;
339 inline bool LinkData::has_linear_velocity() const {
340  return this != internal_default_instance() && linear_velocity_ != NULL;
341 }
342 inline const ::ignition::msgs::Vector3d& LinkData::_internal_linear_velocity() const {
343  return *linear_velocity_;
344 }
345 inline const ::ignition::msgs::Vector3d& LinkData::linear_velocity() const {
346  const ::ignition::msgs::Vector3d* p = linear_velocity_;
347  // @@protoc_insertion_point(field_get:ignition.msgs.LinkData.linear_velocity)
348  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
350 }
351 inline ::ignition::msgs::Vector3d* LinkData::release_linear_velocity() {
352  // @@protoc_insertion_point(field_release:ignition.msgs.LinkData.linear_velocity)
353 
354  ::ignition::msgs::Vector3d* temp = linear_velocity_;
355  linear_velocity_ = NULL;
356  return temp;
357 }
358 inline ::ignition::msgs::Vector3d* LinkData::mutable_linear_velocity() {
359 
360  if (linear_velocity_ == NULL) {
361  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
362  linear_velocity_ = p;
363  }
364  // @@protoc_insertion_point(field_mutable:ignition.msgs.LinkData.linear_velocity)
365  return linear_velocity_;
366 }
368  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
369  if (message_arena == NULL) {
370  delete reinterpret_cast< ::google::protobuf::MessageLite*>(linear_velocity_);
371  }
372  if (linear_velocity) {
373  ::google::protobuf::Arena* submessage_arena = NULL;
374  if (message_arena != submessage_arena) {
375  linear_velocity = ::google::protobuf::internal::GetOwnedMessage(
376  message_arena, linear_velocity, submessage_arena);
377  }
378 
379  } else {
380 
381  }
382  linear_velocity_ = linear_velocity;
383  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.LinkData.linear_velocity)
384 }
385 
386 // .ignition.msgs.Vector3d angular_velocity = 4;
387 inline bool LinkData::has_angular_velocity() const {
388  return this != internal_default_instance() && angular_velocity_ != NULL;
389 }
390 inline const ::ignition::msgs::Vector3d& LinkData::_internal_angular_velocity() const {
391  return *angular_velocity_;
392 }
393 inline const ::ignition::msgs::Vector3d& LinkData::angular_velocity() const {
394  const ::ignition::msgs::Vector3d* p = angular_velocity_;
395  // @@protoc_insertion_point(field_get:ignition.msgs.LinkData.angular_velocity)
396  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
398 }
399 inline ::ignition::msgs::Vector3d* LinkData::release_angular_velocity() {
400  // @@protoc_insertion_point(field_release:ignition.msgs.LinkData.angular_velocity)
401 
402  ::ignition::msgs::Vector3d* temp = angular_velocity_;
403  angular_velocity_ = NULL;
404  return temp;
405 }
406 inline ::ignition::msgs::Vector3d* LinkData::mutable_angular_velocity() {
407 
408  if (angular_velocity_ == NULL) {
409  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
410  angular_velocity_ = p;
411  }
412  // @@protoc_insertion_point(field_mutable:ignition.msgs.LinkData.angular_velocity)
413  return angular_velocity_;
414 }
416  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
417  if (message_arena == NULL) {
418  delete reinterpret_cast< ::google::protobuf::MessageLite*>(angular_velocity_);
419  }
420  if (angular_velocity) {
421  ::google::protobuf::Arena* submessage_arena = NULL;
422  if (message_arena != submessage_arena) {
423  angular_velocity = ::google::protobuf::internal::GetOwnedMessage(
424  message_arena, angular_velocity, submessage_arena);
425  }
426 
427  } else {
428 
429  }
430  angular_velocity_ = angular_velocity;
431  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.LinkData.angular_velocity)
432 }
433 
434 #ifdef __GNUC__
435  #pragma GCC diagnostic pop
436 #endif // __GNUC__
437 
442 // @@protoc_insertion_point(namespace_scope)
443 
444 } // namespace msgs
445 } // namespace ignition
446 
447 #ifdef _MSC_VER
448 #pragma warning(pop)
449 #endif
450 // @@protoc_insertion_point(global_scope)
451 
452 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2flink_5fdata_2eproto
::std::string * release_name()
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:323
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:78
void set_allocated_linear_velocity(::ignition::msgs::Vector3d *linear_velocity)
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:367
STL class.
STL class.
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:250
T move(T... args)
Definition: build/ignition-msgs5/include/ignition/msgs/vector3d.pb.h:77
std::unique_ptr< LinkData > LinkDataUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:438
LinkData & operator=(const LinkData &from)
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:85
void set_allocated_angular_velocity(::ignition::msgs::Vector3d *angular_velocity)
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:415
IGNITION_MSGS_VISIBLE LinkDataDefaultTypeInternal _LinkData_default_instance_
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:266
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:238
LinkData * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:126
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:257
std::shared_ptr< const LinkData > ConstLinkDataSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:441
std::unique_ptr< const LinkData > ConstLinkDataUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:439
::ignition::msgs::Vector3d * mutable_angular_velocity()
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:406
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:244
bool has_linear_velocity() const
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:339
void set_name(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:293
void clear_name()
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:286
const ::ignition::msgs::Vector3d & linear_velocity() const
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:345
bool has_angular_velocity() const
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:387
void Swap(LinkData *other)
::ignition::msgs::Vector3d * mutable_linear_velocity()
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:358
friend void swap(LinkData &a, LinkData &b)
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:116
LinkData * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:122
::ignition::msgs::Vector3d * release_angular_velocity()
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:399
void set_allocated_name(::std::string *name)
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:328
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const ::ignition::msgs::Vector3d & angular_velocity() const
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:393
::ignition::msgs::Vector3d * release_linear_velocity()
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:351
STL namespace.
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
static const LinkData * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:108
std::shared_ptr< LinkData > LinkDataSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:440
STL class.
::std::string * mutable_name()
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:318
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
const ::std::string & name() const
Definition: build/ignition-msgs5/include/ignition/msgs/link_data.pb.h:289