Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/entity_wrench.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fentity_5fwrench_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fentity_5fwrench_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>
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fentity_5fwrench_2eproto IGNITION_MSGS_VISIBLE
49 
51 // Internal implementation detail -- do not use these members.
52 struct IGNITION_MSGS_VISIBLE TableStruct {
53  static const ::google::protobuf::internal::ParseTableField entries[];
54  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
55  static const ::google::protobuf::internal::ParseTable schema[1];
56  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
57  static const ::google::protobuf::internal::SerializationTable serialization_table[];
58  static const ::google::protobuf::uint32 offsets[];
59 };
60 void IGNITION_MSGS_VISIBLE AddDescriptors();
61 } // namespace protobuf_ignition_2fmsgs_2fentity_5fwrench_2eproto
62 namespace ignition {
63 namespace msgs {
64 class EntityWrench;
65 class EntityWrenchDefaultTypeInternal;
66 IGNITION_MSGS_VISIBLE extern EntityWrenchDefaultTypeInternal _EntityWrench_default_instance_;
67 } // namespace msgs
68 } // namespace ignition
69 namespace google {
70 namespace protobuf {
71 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::EntityWrench* Arena::CreateMaybeMessage<::ignition::msgs::EntityWrench>(Arena*);
72 } // namespace protobuf
73 } // namespace google
74 namespace ignition {
75 namespace msgs {
76 
77 // ===================================================================
78 
79 class IGNITION_MSGS_VISIBLE EntityWrench : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.EntityWrench) */ {
80  public:
81  EntityWrench();
82  virtual ~EntityWrench();
83 
84  EntityWrench(const EntityWrench& from);
85 
86  inline EntityWrench& operator=(const EntityWrench& from) {
87  CopyFrom(from);
88  return *this;
89  }
90  #if LANG_CXX11
91  EntityWrench(EntityWrench&& from) noexcept
92  : EntityWrench() {
93  *this = ::std::move(from);
94  }
95 
96  inline EntityWrench& operator=(EntityWrench&& from) noexcept {
97  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
98  if (this != &from) InternalSwap(&from);
99  } else {
100  CopyFrom(from);
101  }
102  return *this;
103  }
104  #endif
105  static const ::google::protobuf::Descriptor* descriptor();
106  static const EntityWrench& default_instance();
107 
108  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
109  static inline const EntityWrench* internal_default_instance() {
110  return reinterpret_cast<const EntityWrench*>(
112  }
113  static constexpr int kIndexInFileMessages =
114  0;
115 
116  void Swap(EntityWrench* other);
117  friend void swap(EntityWrench& a, EntityWrench& b) {
118  a.Swap(&b);
119  }
120 
121  // implements Message ----------------------------------------------
122 
123  inline EntityWrench* New() const final {
124  return CreateMaybeMessage<EntityWrench>(NULL);
125  }
126 
127  EntityWrench* New(::google::protobuf::Arena* arena) const final {
128  return CreateMaybeMessage<EntityWrench>(arena);
129  }
130  void CopyFrom(const ::google::protobuf::Message& from) final;
131  void MergeFrom(const ::google::protobuf::Message& from) final;
132  void CopyFrom(const EntityWrench& from);
133  void MergeFrom(const EntityWrench& from);
134  void Clear() final;
135  bool IsInitialized() const final;
136 
137  size_t ByteSizeLong() const final;
138  bool MergePartialFromCodedStream(
139  ::google::protobuf::io::CodedInputStream* input) final;
140  void SerializeWithCachedSizes(
141  ::google::protobuf::io::CodedOutputStream* output) const final;
142  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
143  bool deterministic, ::google::protobuf::uint8* target) const final;
144  int GetCachedSize() const final { return _cached_size_.Get(); }
145 
146  private:
147  void SharedCtor();
148  void SharedDtor();
149  void SetCachedSize(int size) const final;
150  void InternalSwap(EntityWrench* other);
151  private:
152  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
153  return NULL;
154  }
155  inline void* MaybeArenaPtr() const {
156  return NULL;
157  }
158  public:
159 
160  ::google::protobuf::Metadata GetMetadata() const final;
161 
162  // nested types ----------------------------------------------------
163 
164  // accessors -------------------------------------------------------
165 
166  // .ignition.msgs.Header header = 1;
167  bool has_header() const;
168  void clear_header();
169  static const int kHeaderFieldNumber = 1;
170  private:
171  const ::ignition::msgs::Header& _internal_header() const;
172  public:
173  const ::ignition::msgs::Header& header() const;
174  ::ignition::msgs::Header* release_header();
175  ::ignition::msgs::Header* mutable_header();
176  void set_allocated_header(::ignition::msgs::Header* header);
177 
178  // .ignition.msgs.Entity entity = 2;
179  bool has_entity() const;
180  void clear_entity();
181  static const int kEntityFieldNumber = 2;
182  private:
183  const ::ignition::msgs::Entity& _internal_entity() const;
184  public:
185  const ::ignition::msgs::Entity& entity() const;
186  ::ignition::msgs::Entity* release_entity();
187  ::ignition::msgs::Entity* mutable_entity();
188  void set_allocated_entity(::ignition::msgs::Entity* entity);
189 
190  // .ignition.msgs.Wrench wrench = 3;
191  bool has_wrench() const;
192  void clear_wrench();
193  static const int kWrenchFieldNumber = 3;
194  private:
195  const ::ignition::msgs::Wrench& _internal_wrench() const;
196  public:
197  const ::ignition::msgs::Wrench& wrench() const;
198  ::ignition::msgs::Wrench* release_wrench();
199  ::ignition::msgs::Wrench* mutable_wrench();
200  void set_allocated_wrench(::ignition::msgs::Wrench* wrench);
201 
202  // @@protoc_insertion_point(class_scope:ignition.msgs.EntityWrench)
203  private:
204 
205  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
206  ::ignition::msgs::Header* header_;
207  ::ignition::msgs::Entity* entity_;
208  ::ignition::msgs::Wrench* wrench_;
209  mutable ::google::protobuf::internal::CachedSize _cached_size_;
211 };
212 // ===================================================================
213 
214 
215 // ===================================================================
216 
217 #ifdef __GNUC__
218  #pragma GCC diagnostic push
219  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
220 #endif // __GNUC__
221 // EntityWrench
222 
223 // .ignition.msgs.Header header = 1;
224 inline bool EntityWrench::has_header() const {
225  return this != internal_default_instance() && header_ != NULL;
226 }
227 inline const ::ignition::msgs::Header& EntityWrench::_internal_header() const {
228  return *header_;
229 }
230 inline const ::ignition::msgs::Header& EntityWrench::header() const {
231  const ::ignition::msgs::Header* p = header_;
232  // @@protoc_insertion_point(field_get:ignition.msgs.EntityWrench.header)
233  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
235 }
236 inline ::ignition::msgs::Header* EntityWrench::release_header() {
237  // @@protoc_insertion_point(field_release:ignition.msgs.EntityWrench.header)
238 
239  ::ignition::msgs::Header* temp = header_;
240  header_ = NULL;
241  return temp;
242 }
243 inline ::ignition::msgs::Header* EntityWrench::mutable_header() {
244 
245  if (header_ == NULL) {
246  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
247  header_ = p;
248  }
249  // @@protoc_insertion_point(field_mutable:ignition.msgs.EntityWrench.header)
250  return header_;
251 }
253  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
254  if (message_arena == NULL) {
255  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
256  }
257  if (header) {
258  ::google::protobuf::Arena* submessage_arena = NULL;
259  if (message_arena != submessage_arena) {
260  header = ::google::protobuf::internal::GetOwnedMessage(
261  message_arena, header, submessage_arena);
262  }
263 
264  } else {
265 
266  }
267  header_ = header;
268  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.EntityWrench.header)
269 }
270 
271 // .ignition.msgs.Entity entity = 2;
272 inline bool EntityWrench::has_entity() const {
273  return this != internal_default_instance() && entity_ != NULL;
274 }
275 inline const ::ignition::msgs::Entity& EntityWrench::_internal_entity() const {
276  return *entity_;
277 }
278 inline const ::ignition::msgs::Entity& EntityWrench::entity() const {
279  const ::ignition::msgs::Entity* p = entity_;
280  // @@protoc_insertion_point(field_get:ignition.msgs.EntityWrench.entity)
281  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Entity*>(
283 }
284 inline ::ignition::msgs::Entity* EntityWrench::release_entity() {
285  // @@protoc_insertion_point(field_release:ignition.msgs.EntityWrench.entity)
286 
287  ::ignition::msgs::Entity* temp = entity_;
288  entity_ = NULL;
289  return temp;
290 }
291 inline ::ignition::msgs::Entity* EntityWrench::mutable_entity() {
292 
293  if (entity_ == NULL) {
294  auto* p = CreateMaybeMessage<::ignition::msgs::Entity>(GetArenaNoVirtual());
295  entity_ = p;
296  }
297  // @@protoc_insertion_point(field_mutable:ignition.msgs.EntityWrench.entity)
298  return entity_;
299 }
301  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
302  if (message_arena == NULL) {
303  delete reinterpret_cast< ::google::protobuf::MessageLite*>(entity_);
304  }
305  if (entity) {
306  ::google::protobuf::Arena* submessage_arena = NULL;
307  if (message_arena != submessage_arena) {
308  entity = ::google::protobuf::internal::GetOwnedMessage(
309  message_arena, entity, submessage_arena);
310  }
311 
312  } else {
313 
314  }
315  entity_ = entity;
316  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.EntityWrench.entity)
317 }
318 
319 // .ignition.msgs.Wrench wrench = 3;
320 inline bool EntityWrench::has_wrench() const {
321  return this != internal_default_instance() && wrench_ != NULL;
322 }
323 inline const ::ignition::msgs::Wrench& EntityWrench::_internal_wrench() const {
324  return *wrench_;
325 }
326 inline const ::ignition::msgs::Wrench& EntityWrench::wrench() const {
327  const ::ignition::msgs::Wrench* p = wrench_;
328  // @@protoc_insertion_point(field_get:ignition.msgs.EntityWrench.wrench)
329  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Wrench*>(
331 }
332 inline ::ignition::msgs::Wrench* EntityWrench::release_wrench() {
333  // @@protoc_insertion_point(field_release:ignition.msgs.EntityWrench.wrench)
334 
335  ::ignition::msgs::Wrench* temp = wrench_;
336  wrench_ = NULL;
337  return temp;
338 }
339 inline ::ignition::msgs::Wrench* EntityWrench::mutable_wrench() {
340 
341  if (wrench_ == NULL) {
342  auto* p = CreateMaybeMessage<::ignition::msgs::Wrench>(GetArenaNoVirtual());
343  wrench_ = p;
344  }
345  // @@protoc_insertion_point(field_mutable:ignition.msgs.EntityWrench.wrench)
346  return wrench_;
347 }
349  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
350  if (message_arena == NULL) {
351  delete reinterpret_cast< ::google::protobuf::MessageLite*>(wrench_);
352  }
353  if (wrench) {
354  ::google::protobuf::Arena* submessage_arena = NULL;
355  if (message_arena != submessage_arena) {
356  wrench = ::google::protobuf::internal::GetOwnedMessage(
357  message_arena, wrench, submessage_arena);
358  }
359 
360  } else {
361 
362  }
363  wrench_ = wrench;
364  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.EntityWrench.wrench)
365 }
366 
367 #ifdef __GNUC__
368  #pragma GCC diagnostic pop
369 #endif // __GNUC__
370 
375 // @@protoc_insertion_point(namespace_scope)
376 
377 } // namespace msgs
378 } // namespace ignition
379 
380 #ifdef _MSC_VER
381 #pragma warning(pop)
382 #endif
383 // @@protoc_insertion_point(global_scope)
384 
385 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fentity_5fwrench_2eproto
IGNITION_MSGS_VISIBLE EntityDefaultTypeInternal _Entity_default_instance_
::ignition::msgs::Entity * mutable_entity()
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:291
STL class.
std::unique_ptr< const EntityWrench > ConstEntityWrenchUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:372
friend void swap(EntityWrench &a, EntityWrench &b)
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:117
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:236
::ignition::msgs::Wrench * mutable_wrench()
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:339
EntityWrench & operator=(const EntityWrench &from)
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:86
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:243
static const EntityWrench * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:109
std::shared_ptr< const EntityWrench > ConstEntityWrenchSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:374
void set_allocated_entity(::ignition::msgs::Entity *entity)
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:300
Definition: build/ignition-msgs8/include/ignition/msgs/entity.pb.h:107
EntityWrench * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:123
bool has_wrench() const
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:320
std::shared_ptr< EntityWrench > EntityWrenchSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:373
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:79
bool has_entity() const
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:272
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:224
::ignition::msgs::Entity * release_entity()
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:284
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:78
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:252
std::unique_ptr< EntityWrench > EntityWrenchUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:371
void set_allocated_wrench(::ignition::msgs::Wrench *wrench)
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:348
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:230
void Swap(EntityWrench *other)
IGNITION_MSGS_VISIBLE WrenchDefaultTypeInternal _Wrench_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:52
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
const ::ignition::msgs::Wrench & wrench() const
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:326
IGNITION_MSGS_VISIBLE EntityWrenchDefaultTypeInternal _EntityWrench_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:50
EntityWrench * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:127
const ::ignition::msgs::Entity & entity() const
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:278
STL class.
::ignition::msgs::Wrench * release_wrench()
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:332
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78