Ignition Msgs

API Reference

6.4.0
camera_lens.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/camera_lens.proto
3 
4 #ifndef PROTOBUF_ignition_2fmsgs_2fcamera_5flens_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fcamera_5flens_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>
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 CameraLens;
53 
54 // ===================================================================
55 
56 class IGNITION_MSGS_VISIBLE CameraLens : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.CameraLens) */ {
57  public:
58  CameraLens();
59  virtual ~CameraLens();
60 
61  CameraLens(const CameraLens& from);
62 
63  inline CameraLens& operator=(const CameraLens& from) {
64  CopyFrom(from);
65  return *this;
66  }
67 
68  static const ::google::protobuf::Descriptor* descriptor();
69  static const CameraLens& default_instance();
70 
71  void Swap(CameraLens* other);
72 
73  // implements Message ----------------------------------------------
74 
75  inline CameraLens* New() const { return New(NULL); }
76 
77  CameraLens* 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 CameraLens& from);
81  void MergeFrom(const CameraLens& 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(CameraLens* 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 .ignition.msgs.Header header = 1;
117  bool has_header() const;
118  void clear_header();
119  static const int kHeaderFieldNumber = 1;
120  const ::ignition::msgs::Header& header() const;
121  ::ignition::msgs::Header* mutable_header();
122  ::ignition::msgs::Header* release_header();
123  void set_allocated_header(::ignition::msgs::Header* header);
124 
125  // optional string type = 2;
126  void clear_type();
127  static const int kTypeFieldNumber = 2;
128  const ::std::string& type() const;
129  void set_type(const ::std::string& value);
130  void set_type(const char* value);
131  void set_type(const char* value, size_t size);
132  ::std::string* mutable_type();
133  ::std::string* release_type();
134  void set_allocated_type(::std::string* type);
135 
136  // optional double c1 = 3;
137  void clear_c1();
138  static const int kC1FieldNumber = 3;
139  double c1() const;
140  void set_c1(double value);
141 
142  // optional double c2 = 4;
143  void clear_c2();
144  static const int kC2FieldNumber = 4;
145  double c2() const;
146  void set_c2(double value);
147 
148  // optional double c3 = 5;
149  void clear_c3();
150  static const int kC3FieldNumber = 5;
151  double c3() const;
152  void set_c3(double value);
153 
154  // optional double f = 6;
155  void clear_f();
156  static const int kFFieldNumber = 6;
157  double f() const;
158  void set_f(double value);
159 
160  // optional string fun = 7;
161  void clear_fun();
162  static const int kFunFieldNumber = 7;
163  const ::std::string& fun() const;
164  void set_fun(const ::std::string& value);
165  void set_fun(const char* value);
166  void set_fun(const char* value, size_t size);
167  ::std::string* mutable_fun();
168  ::std::string* release_fun();
169  void set_allocated_fun(::std::string* fun);
170 
171  // optional bool scale_to_hfov = 8;
172  void clear_scale_to_hfov();
173  static const int kScaleToHfovFieldNumber = 8;
174  bool scale_to_hfov() const;
175  void set_scale_to_hfov(bool value);
176 
177  // optional double cutoff_angle = 9;
178  void clear_cutoff_angle();
179  static const int kCutoffAngleFieldNumber = 9;
180  double cutoff_angle() const;
181  void set_cutoff_angle(double value);
182 
183  // optional double hfov = 10;
184  void clear_hfov();
185  static const int kHfovFieldNumber = 10;
186  double hfov() const;
187  void set_hfov(double value);
188 
189  // optional int32 env_texture_size = 11;
190  void clear_env_texture_size();
191  static const int kEnvTextureSizeFieldNumber = 11;
192  ::google::protobuf::int32 env_texture_size() const;
193  void set_env_texture_size(::google::protobuf::int32 value);
194 
195  // @@protoc_insertion_point(class_scope:ignition.msgs.CameraLens)
196  private:
197 
198  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
199  bool _is_default_instance_;
200  ::ignition::msgs::Header* header_;
201  ::google::protobuf::internal::ArenaStringPtr type_;
202  double c1_;
203  double c2_;
204  double c3_;
205  double f_;
206  ::google::protobuf::internal::ArenaStringPtr fun_;
207  double cutoff_angle_;
208  bool scale_to_hfov_;
209  ::google::protobuf::int32 env_texture_size_;
210  double hfov_;
211  mutable int _cached_size_;
212  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fcamera_5flens_2eproto();
215 
216  void InitAsDefaultInstance();
217  static CameraLens* default_instance_;
218 };
219 // ===================================================================
220 
221 
222 // ===================================================================
223 
224 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
225 // CameraLens
226 
227 // optional .ignition.msgs.Header header = 1;
228 inline bool CameraLens::has_header() const {
229  return !_is_default_instance_ && header_ != NULL;
230 }
232  if (GetArenaNoVirtual() == NULL && header_ != NULL) delete header_;
233  header_ = NULL;
234 }
235 inline const ::ignition::msgs::Header& CameraLens::header() const {
236  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.header)
237  return header_ != NULL ? *header_ : *default_instance_->header_;
238 }
239 inline ::ignition::msgs::Header* CameraLens::mutable_header() {
240 
241  if (header_ == NULL) {
242  header_ = new ::ignition::msgs::Header;
243  }
244  // @@protoc_insertion_point(field_mutable:ignition.msgs.CameraLens.header)
245  return header_;
246 }
247 inline ::ignition::msgs::Header* CameraLens::release_header() {
248  // @@protoc_insertion_point(field_release:ignition.msgs.CameraLens.header)
249 
250  ::ignition::msgs::Header* temp = header_;
251  header_ = NULL;
252  return temp;
253 }
255  delete header_;
256  header_ = header;
257  if (header) {
258 
259  } else {
260 
261  }
262  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.CameraLens.header)
263 }
264 
265 // optional string type = 2;
266 inline void CameraLens::clear_type() {
267  type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
268 }
269 inline const ::std::string& CameraLens::type() const {
270  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.type)
271  return type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
272 }
273 inline void CameraLens::set_type(const ::std::string& value) {
274 
275  type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
276  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.type)
277 }
278 inline void CameraLens::set_type(const char* value) {
279 
280  type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
281  // @@protoc_insertion_point(field_set_char:ignition.msgs.CameraLens.type)
282 }
283 inline void CameraLens::set_type(const char* value, size_t size) {
284 
285  type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
286  ::std::string(reinterpret_cast<const char*>(value), size));
287  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.CameraLens.type)
288 }
289 inline ::std::string* CameraLens::mutable_type() {
290 
291  // @@protoc_insertion_point(field_mutable:ignition.msgs.CameraLens.type)
292  return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
293 }
294 inline ::std::string* CameraLens::release_type() {
295  // @@protoc_insertion_point(field_release:ignition.msgs.CameraLens.type)
296 
297  return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
298 }
300  if (type != NULL) {
301 
302  } else {
303 
304  }
305  type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type);
306  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.CameraLens.type)
307 }
308 
309 // optional double c1 = 3;
310 inline void CameraLens::clear_c1() {
311  c1_ = 0;
312 }
313 inline double CameraLens::c1() const {
314  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.c1)
315  return c1_;
316 }
317 inline void CameraLens::set_c1(double value) {
318 
319  c1_ = value;
320  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.c1)
321 }
322 
323 // optional double c2 = 4;
324 inline void CameraLens::clear_c2() {
325  c2_ = 0;
326 }
327 inline double CameraLens::c2() const {
328  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.c2)
329  return c2_;
330 }
331 inline void CameraLens::set_c2(double value) {
332 
333  c2_ = value;
334  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.c2)
335 }
336 
337 // optional double c3 = 5;
338 inline void CameraLens::clear_c3() {
339  c3_ = 0;
340 }
341 inline double CameraLens::c3() const {
342  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.c3)
343  return c3_;
344 }
345 inline void CameraLens::set_c3(double value) {
346 
347  c3_ = value;
348  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.c3)
349 }
350 
351 // optional double f = 6;
352 inline void CameraLens::clear_f() {
353  f_ = 0;
354 }
355 inline double CameraLens::f() const {
356  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.f)
357  return f_;
358 }
359 inline void CameraLens::set_f(double value) {
360 
361  f_ = value;
362  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.f)
363 }
364 
365 // optional string fun = 7;
366 inline void CameraLens::clear_fun() {
367  fun_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
368 }
369 inline const ::std::string& CameraLens::fun() const {
370  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.fun)
371  return fun_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
372 }
373 inline void CameraLens::set_fun(const ::std::string& value) {
374 
375  fun_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
376  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.fun)
377 }
378 inline void CameraLens::set_fun(const char* value) {
379 
380  fun_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
381  // @@protoc_insertion_point(field_set_char:ignition.msgs.CameraLens.fun)
382 }
383 inline void CameraLens::set_fun(const char* value, size_t size) {
384 
385  fun_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
386  ::std::string(reinterpret_cast<const char*>(value), size));
387  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.CameraLens.fun)
388 }
389 inline ::std::string* CameraLens::mutable_fun() {
390 
391  // @@protoc_insertion_point(field_mutable:ignition.msgs.CameraLens.fun)
392  return fun_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
393 }
394 inline ::std::string* CameraLens::release_fun() {
395  // @@protoc_insertion_point(field_release:ignition.msgs.CameraLens.fun)
396 
397  return fun_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
398 }
400  if (fun != NULL) {
401 
402  } else {
403 
404  }
405  fun_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fun);
406  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.CameraLens.fun)
407 }
408 
409 // optional bool scale_to_hfov = 8;
411  scale_to_hfov_ = false;
412 }
413 inline bool CameraLens::scale_to_hfov() const {
414  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.scale_to_hfov)
415  return scale_to_hfov_;
416 }
417 inline void CameraLens::set_scale_to_hfov(bool value) {
418 
419  scale_to_hfov_ = value;
420  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.scale_to_hfov)
421 }
422 
423 // optional double cutoff_angle = 9;
425  cutoff_angle_ = 0;
426 }
427 inline double CameraLens::cutoff_angle() const {
428  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.cutoff_angle)
429  return cutoff_angle_;
430 }
431 inline void CameraLens::set_cutoff_angle(double value) {
432 
433  cutoff_angle_ = value;
434  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.cutoff_angle)
435 }
436 
437 // optional double hfov = 10;
438 inline void CameraLens::clear_hfov() {
439  hfov_ = 0;
440 }
441 inline double CameraLens::hfov() const {
442  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.hfov)
443  return hfov_;
444 }
445 inline void CameraLens::set_hfov(double value) {
446 
447  hfov_ = value;
448  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.hfov)
449 }
450 
451 // optional int32 env_texture_size = 11;
453  env_texture_size_ = 0;
454 }
455 inline ::google::protobuf::int32 CameraLens::env_texture_size() const {
456  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.env_texture_size)
457  return env_texture_size_;
458 }
459 inline void CameraLens::set_env_texture_size(::google::protobuf::int32 value) {
460 
461  env_texture_size_ = value;
462  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.env_texture_size)
463 }
464 
465 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
466 
471 // @@protoc_insertion_point(namespace_scope)
472 
473 } // namespace msgs
474 } // namespace ignition
475 
476 #ifdef _MSC_VER
477 #pragma warning(pop)
478 #endif
479 // @@protoc_insertion_point(global_scope)
480 
481 #endif // PROTOBUF_ignition_2fmsgs_2fcamera_5flens_2eproto__INCLUDED
void set_allocated_fun(::std::string *fun)
Definition: camera_lens.pb.h:399
CameraLens & operator=(const CameraLens &from)
Definition: camera_lens.pb.h:63
void clear_c1()
Definition: camera_lens.pb.h:310
std::unique_ptr< const CameraLens > ConstCameraLensUniquePtr
Definition: camera_lens.pb.h:468
void clear_fun()
Definition: camera_lens.pb.h:366
::std::string * mutable_fun()
Definition: camera_lens.pb.h:389
void protobuf_AssignDesc_ignition_2fmsgs_2fcamera_5flens_2eproto()
void set_c3(double value)
Definition: camera_lens.pb.h:345
std::shared_ptr< CameraLens > CameraLensSharedPtr
Definition: camera_lens.pb.h:469
::google::protobuf::int32 env_texture_size() const
Definition: camera_lens.pb.h:455
void set_hfov(double value)
Definition: camera_lens.pb.h:445
void set_allocated_type(::std::string *type)
Definition: camera_lens.pb.h:299
void set_c1(double value)
Definition: camera_lens.pb.h:317
void set_f(double value)
Definition: camera_lens.pb.h:359
const ::std::string & fun() const
Definition: camera_lens.pb.h:369
::std::string * release_type()
Definition: camera_lens.pb.h:294
bool scale_to_hfov() const
Definition: camera_lens.pb.h:413
void set_env_texture_size(::google::protobuf::int32 value)
Definition: camera_lens.pb.h:459
double c3() const
Definition: camera_lens.pb.h:341
std::shared_ptr< const CameraLens > ConstCameraLensSharedPtr
Definition: camera_lens.pb.h:470
::ignition::msgs::Header * release_header()
Definition: camera_lens.pb.h:247
double f() const
Definition: camera_lens.pb.h:355
void clear_hfov()
Definition: camera_lens.pb.h:438
Definition: header.pb.h:161
STL class.
void clear_c2()
Definition: camera_lens.pb.h:324
const ::std::string & type() const
Definition: camera_lens.pb.h:269
::std::string * mutable_type()
Definition: camera_lens.pb.h:289
int GetCachedSize() const
Definition: camera_lens.pb.h:95
std::unique_ptr< CameraLens > CameraLensUniquePtr
Definition: camera_lens.pb.h:467
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fcamera_5flens_2eproto()
::std::string * release_fun()
Definition: camera_lens.pb.h:394
void protobuf_ShutdownFile_ignition_2fmsgs_2fcamera_5flens_2eproto()
double c1() const
Definition: camera_lens.pb.h:313
void set_allocated_header(::ignition::msgs::Header *header)
Definition: camera_lens.pb.h:254
void clear_c3()
Definition: camera_lens.pb.h:338
void clear_scale_to_hfov()
Definition: camera_lens.pb.h:410
void set_fun(const ::std::string &value)
Definition: camera_lens.pb.h:373
void set_type(const ::std::string &value)
Definition: camera_lens.pb.h:273
void clear_header()
Definition: camera_lens.pb.h:231
double hfov() const
Definition: camera_lens.pb.h:441
void set_scale_to_hfov(bool value)
Definition: camera_lens.pb.h:417
void clear_f()
Definition: camera_lens.pb.h:352
STL class.
void clear_env_texture_size()
Definition: camera_lens.pb.h:452
Definition: camera_lens.pb.h:56
::ignition::msgs::Header * mutable_header()
Definition: camera_lens.pb.h:239
bool has_header() const
Definition: camera_lens.pb.h:228
double c2() const
Definition: camera_lens.pb.h:327
CameraLens * New() const
Definition: camera_lens.pb.h:75
double cutoff_angle() const
Definition: camera_lens.pb.h:427
void set_cutoff_angle(double value)
Definition: camera_lens.pb.h:431
void set_c2(double value)
Definition: camera_lens.pb.h:331
const ::ignition::msgs::Header & header() const
Definition: camera_lens.pb.h:235
void clear_cutoff_angle()
Definition: camera_lens.pb.h:424
void clear_type()
Definition: camera_lens.pb.h:266
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: camera_lens.pb.h:92