Gazebo Msgs

API Reference

9.5.1
dvl_kinematic_estimate.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/dvl_kinematic_estimate.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fdvl_5fkinematic_5festimate_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fdvl_5fkinematic_5festimate_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/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "gz/msgs/vector3d.pb.h"
35 // @@protoc_insertion_point(includes)
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fdvl_5fkinematic_5festimate_2eproto GZ_MSGS_VISIBLE
37 
39 // Internal implementation detail -- do not use these members.
40 struct GZ_MSGS_VISIBLE TableStruct {
41  static const ::google::protobuf::internal::ParseTableField entries[];
42  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43  static const ::google::protobuf::internal::ParseTable schema[1];
44  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46  static const ::google::protobuf::uint32 offsets[];
47 };
48 void GZ_MSGS_VISIBLE AddDescriptors();
49 } // namespace protobuf_gz_2fmsgs_2fdvl_5fkinematic_5festimate_2eproto
50 namespace gz {
51 namespace msgs {
52 class DVLKinematicEstimate;
53 class DVLKinematicEstimateDefaultTypeInternal;
54 GZ_MSGS_VISIBLE extern DVLKinematicEstimateDefaultTypeInternal _DVLKinematicEstimate_default_instance_;
55 } // namespace msgs
56 } // namespace gz
57 namespace google {
58 namespace protobuf {
59 template<> GZ_MSGS_VISIBLE ::gz::msgs::DVLKinematicEstimate* Arena::CreateMaybeMessage<::gz::msgs::DVLKinematicEstimate>(Arena*);
60 } // namespace protobuf
61 } // namespace google
62 namespace gz {
63 namespace msgs {
64 
71 };
72 GZ_MSGS_VISIBLE bool DVLKinematicEstimate_ReferenceType_IsValid(int value);
76 
77 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* DVLKinematicEstimate_ReferenceType_descriptor();
79  return ::google::protobuf::internal::NameOfEnum(
81 }
83  const ::std::string& name, DVLKinematicEstimate_ReferenceType* value) {
84  return ::google::protobuf::internal::ParseNamedEnum<DVLKinematicEstimate_ReferenceType>(
86 }
87 // ===================================================================
88 
89 class GZ_MSGS_VISIBLE DVLKinematicEstimate : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.DVLKinematicEstimate) */ {
90  public:
92  virtual ~DVLKinematicEstimate();
93 
95 
97  CopyFrom(from);
98  return *this;
99  }
100  #if LANG_CXX11
103  *this = ::std::move(from);
104  }
105 
106  inline DVLKinematicEstimate& operator=(DVLKinematicEstimate&& from) noexcept {
107  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
108  if (this != &from) InternalSwap(&from);
109  } else {
110  CopyFrom(from);
111  }
112  return *this;
113  }
114  #endif
115  static const ::google::protobuf::Descriptor* descriptor();
116  static const DVLKinematicEstimate& default_instance();
117 
118  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
120  return reinterpret_cast<const DVLKinematicEstimate*>(
122  }
123  static constexpr int kIndexInFileMessages =
124  0;
125 
126  void Swap(DVLKinematicEstimate* other);
128  a.Swap(&b);
129  }
130 
131  // implements Message ----------------------------------------------
132 
133  inline DVLKinematicEstimate* New() const final {
134  return CreateMaybeMessage<DVLKinematicEstimate>(NULL);
135  }
136 
137  DVLKinematicEstimate* New(::google::protobuf::Arena* arena) const final {
138  return CreateMaybeMessage<DVLKinematicEstimate>(arena);
139  }
140  void CopyFrom(const ::google::protobuf::Message& from) final;
141  void MergeFrom(const ::google::protobuf::Message& from) final;
142  void CopyFrom(const DVLKinematicEstimate& from);
143  void MergeFrom(const DVLKinematicEstimate& from);
144  void Clear() final;
145  bool IsInitialized() const final;
146 
147  size_t ByteSizeLong() const final;
148  bool MergePartialFromCodedStream(
149  ::google::protobuf::io::CodedInputStream* input) final;
150  void SerializeWithCachedSizes(
151  ::google::protobuf::io::CodedOutputStream* output) const final;
152  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
153  bool deterministic, ::google::protobuf::uint8* target) const final;
154  int GetCachedSize() const final { return _cached_size_.Get(); }
155 
156  private:
157  void SharedCtor();
158  void SharedDtor();
159  void SetCachedSize(int size) const final;
160  void InternalSwap(DVLKinematicEstimate* other);
161  private:
162  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
163  return NULL;
164  }
165  inline void* MaybeArenaPtr() const {
166  return NULL;
167  }
168  public:
169 
170  ::google::protobuf::Metadata GetMetadata() const final;
171 
172  // nested types ----------------------------------------------------
173 
175  static const ReferenceType DVL_REFERENCE_UNSPECIFIED =
177  static const ReferenceType DVL_REFERENCE_EARTH =
179  static const ReferenceType DVL_REFERENCE_SHIP =
181  static inline bool ReferenceType_IsValid(int value) {
183  }
184  static const ReferenceType ReferenceType_MIN =
186  static const ReferenceType ReferenceType_MAX =
188  static const int ReferenceType_ARRAYSIZE =
190  static inline const ::google::protobuf::EnumDescriptor*
193  }
194  static inline const ::std::string& ReferenceType_Name(ReferenceType value) {
196  }
197  static inline bool ReferenceType_Parse(const ::std::string& name,
198  ReferenceType* value) {
199  return DVLKinematicEstimate_ReferenceType_Parse(name, value);
200  }
201 
202  // accessors -------------------------------------------------------
203 
204  // repeated double covariance = 3;
205  int covariance_size() const;
206  void clear_covariance();
207  static const int kCovarianceFieldNumber = 3;
208  double covariance(int index) const;
209  void set_covariance(int index, double value);
210  void add_covariance(double value);
211  const ::google::protobuf::RepeatedField< double >&
212  covariance() const;
213  ::google::protobuf::RepeatedField< double >*
214  mutable_covariance();
215 
216  // .gz.msgs.Vector3d mean = 2;
217  bool has_mean() const;
218  void clear_mean();
219  static const int kMeanFieldNumber = 2;
220  private:
221  const ::gz::msgs::Vector3d& _internal_mean() const;
222  public:
223  const ::gz::msgs::Vector3d& mean() const;
224  ::gz::msgs::Vector3d* release_mean();
225  ::gz::msgs::Vector3d* mutable_mean();
226  void set_allocated_mean(::gz::msgs::Vector3d* mean);
227 
228  // .gz.msgs.DVLKinematicEstimate.ReferenceType reference = 1;
229  void clear_reference();
230  static const int kReferenceFieldNumber = 1;
232  void set_reference(::gz::msgs::DVLKinematicEstimate_ReferenceType value);
233 
234  // @@protoc_insertion_point(class_scope:gz.msgs.DVLKinematicEstimate)
235  private:
236 
237  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
238  ::google::protobuf::RepeatedField< double > covariance_;
239  mutable int _covariance_cached_byte_size_;
240  ::gz::msgs::Vector3d* mean_;
241  int reference_;
242  mutable ::google::protobuf::internal::CachedSize _cached_size_;
243  friend struct ::protobuf_gz_2fmsgs_2fdvl_5fkinematic_5festimate_2eproto::TableStruct;
244 };
245 // ===================================================================
246 
247 
248 // ===================================================================
249 
250 #ifdef __GNUC__
251  #pragma GCC diagnostic push
252  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
253 #endif // __GNUC__
254 // DVLKinematicEstimate
255 
256 // .gz.msgs.DVLKinematicEstimate.ReferenceType reference = 1;
258  reference_ = 0;
259 }
261  // @@protoc_insertion_point(field_get:gz.msgs.DVLKinematicEstimate.reference)
262  return static_cast< ::gz::msgs::DVLKinematicEstimate_ReferenceType >(reference_);
263 }
265 
266  reference_ = value;
267  // @@protoc_insertion_point(field_set:gz.msgs.DVLKinematicEstimate.reference)
268 }
269 
270 // .gz.msgs.Vector3d mean = 2;
271 inline bool DVLKinematicEstimate::has_mean() const {
272  return this != internal_default_instance() && mean_ != NULL;
273 }
274 inline const ::gz::msgs::Vector3d& DVLKinematicEstimate::_internal_mean() const {
275  return *mean_;
276 }
277 inline const ::gz::msgs::Vector3d& DVLKinematicEstimate::mean() const {
278  const ::gz::msgs::Vector3d* p = mean_;
279  // @@protoc_insertion_point(field_get:gz.msgs.DVLKinematicEstimate.mean)
280  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Vector3d*>(
282 }
283 inline ::gz::msgs::Vector3d* DVLKinematicEstimate::release_mean() {
284  // @@protoc_insertion_point(field_release:gz.msgs.DVLKinematicEstimate.mean)
285 
286  ::gz::msgs::Vector3d* temp = mean_;
287  mean_ = NULL;
288  return temp;
289 }
290 inline ::gz::msgs::Vector3d* DVLKinematicEstimate::mutable_mean() {
291 
292  if (mean_ == NULL) {
293  auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
294  mean_ = p;
295  }
296  // @@protoc_insertion_point(field_mutable:gz.msgs.DVLKinematicEstimate.mean)
297  return mean_;
298 }
300  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
301  if (message_arena == NULL) {
302  delete reinterpret_cast< ::google::protobuf::MessageLite*>(mean_);
303  }
304  if (mean) {
305  ::google::protobuf::Arena* submessage_arena = NULL;
306  if (message_arena != submessage_arena) {
307  mean = ::google::protobuf::internal::GetOwnedMessage(
308  message_arena, mean, submessage_arena);
309  }
310 
311  } else {
312 
313  }
314  mean_ = mean;
315  // @@protoc_insertion_point(field_set_allocated:gz.msgs.DVLKinematicEstimate.mean)
316 }
317 
318 // repeated double covariance = 3;
320  return covariance_.size();
321 }
323  covariance_.Clear();
324 }
325 inline double DVLKinematicEstimate::covariance(int index) const {
326  // @@protoc_insertion_point(field_get:gz.msgs.DVLKinematicEstimate.covariance)
327  return covariance_.Get(index);
328 }
329 inline void DVLKinematicEstimate::set_covariance(int index, double value) {
330  covariance_.Set(index, value);
331  // @@protoc_insertion_point(field_set:gz.msgs.DVLKinematicEstimate.covariance)
332 }
333 inline void DVLKinematicEstimate::add_covariance(double value) {
334  covariance_.Add(value);
335  // @@protoc_insertion_point(field_add:gz.msgs.DVLKinematicEstimate.covariance)
336 }
337 inline const ::google::protobuf::RepeatedField< double >&
339  // @@protoc_insertion_point(field_list:gz.msgs.DVLKinematicEstimate.covariance)
340  return covariance_;
341 }
342 inline ::google::protobuf::RepeatedField< double >*
344  // @@protoc_insertion_point(field_mutable_list:gz.msgs.DVLKinematicEstimate.covariance)
345  return &covariance_;
346 }
347 
348 #ifdef __GNUC__
349  #pragma GCC diagnostic pop
350 #endif // __GNUC__
351 
352 // @@protoc_insertion_point(namespace_scope)
353 
354 } // namespace msgs
355 } // namespace gz
356 
357 namespace google {
358 namespace protobuf {
359 
360 template <> struct is_proto_enum< ::gz::msgs::DVLKinematicEstimate_ReferenceType> : ::std::true_type {};
361 template <>
362 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::DVLKinematicEstimate_ReferenceType>() {
364 }
365 
366 } // namespace protobuf
367 } // namespace google
368 
369 // @@protoc_insertion_point(global_scope)
370 
371 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fdvl_5fkinematic_5festimate_2eproto