4 #ifndef PROTOBUF_ignition_2fmsgs_2fdistortion_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fdistortion_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 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 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. 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> 33 #pragma GCC system_header 36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 39 #include <sys/sysmacros.h> 57 class IGNITION_MSGS_VISIBLE
Distortion :
public ::google::protobuf::Message {
69 static const ::google::protobuf::Descriptor* descriptor();
78 Distortion* New(::google::protobuf::Arena* arena)
const;
79 void CopyFrom(const ::google::protobuf::Message& from);
80 void MergeFrom(const ::google::protobuf::Message& from);
84 bool IsInitialized()
const;
87 bool MergePartialFromCodedStream(
88 ::google::protobuf::io::CodedInputStream* input);
89 void SerializeWithCachedSizes(
90 ::google::protobuf::io::CodedOutputStream* output)
const;
91 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
92 bool deterministic, ::google::protobuf::uint8* output)
const;
94 return InternalSerializeWithCachedSizesToArray(
false, output);
100 void SetCachedSize(
int size)
const;
103 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
104 return _internal_metadata_.arena();
106 inline void* MaybeArenaPtr()
const {
107 return _internal_metadata_.raw_arena_ptr();
111 ::google::protobuf::Metadata GetMetadata()
const;
118 bool has_header()
const;
120 static const int kHeaderFieldNumber = 1;
121 const ::ignition::msgs::Header& header()
const;
127 bool has_center()
const;
129 static const int kCenterFieldNumber = 2;
130 const ::ignition::msgs::Vector2d& center()
const;
137 static const int kK1FieldNumber = 3;
139 void set_k1(
double value);
143 static const int kK2FieldNumber = 4;
145 void set_k2(
double value);
149 static const int kK3FieldNumber = 5;
151 void set_k3(
double value);
155 static const int kP1FieldNumber = 6;
157 void set_p1(
double value);
161 static const int kP2FieldNumber = 7;
163 void set_p2(
double value);
168 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
169 bool _is_default_instance_;
177 mutable int _cached_size_;
182 void InitAsDefaultInstance();
190 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 195 return !_is_default_instance_ && header_ != NULL;
198 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
203 return header_ != NULL ? *header_ : *default_instance_->header_;
207 if (header_ == NULL) {
208 header_ = new ::ignition::msgs::Header;
233 return !_is_default_instance_ && center_ != NULL;
236 if (GetArenaNoVirtual() == NULL && center_ != NULL)
delete center_;
241 return center_ != NULL ? *center_ : *default_instance_->center_;
245 if (center_ == NULL) {
246 center_ = new ::ignition::msgs::Vector2d;
339 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 355 #endif // PROTOBUF_ignition_2fmsgs_2fdistortion_2eproto__INCLUDED
::ignition::msgs::Vector2d * mutable_center()
Definition: distortion.pb.h:243
void set_p1(double value)
Definition: distortion.pb.h:319
void set_k3(double value)
Definition: distortion.pb.h:305
const ::ignition::msgs::Header & header() const
Definition: distortion.pb.h:201
void set_allocated_header(::ignition::msgs::Header *header)
Definition: distortion.pb.h:220
void clear_header()
Definition: distortion.pb.h:197
::ignition::msgs::Vector2d * release_center()
Definition: distortion.pb.h:251
int GetCachedSize() const
Definition: distortion.pb.h:96
double k3() const
Definition: distortion.pb.h:301
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: distortion.pb.h:93
Definition: vector2d.pb.h:56
void protobuf_AssignDesc_ignition_2fmsgs_2fdistortion_2eproto()
const ::ignition::msgs::Vector2d & center() const
Definition: distortion.pb.h:239
double k2() const
Definition: distortion.pb.h:287
void set_p2(double value)
Definition: distortion.pb.h:333
void clear_p1()
Definition: distortion.pb.h:312
Distortion * New() const
Definition: distortion.pb.h:76
::ignition::msgs::Header * release_header()
Definition: distortion.pb.h:213
void protobuf_ShutdownFile_ignition_2fmsgs_2fdistortion_2eproto()
std::shared_ptr< const Distortion > ConstDistortionSharedPtr
Definition: distortion.pb.h:344
::ignition::msgs::Header * mutable_header()
Definition: distortion.pb.h:205
void set_allocated_center(::ignition::msgs::Vector2d *center)
Definition: distortion.pb.h:258
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fdistortion_2eproto()
void clear_p2()
Definition: distortion.pb.h:326
std::unique_ptr< const Distortion > ConstDistortionUniquePtr
Definition: distortion.pb.h:342
Distortion & operator=(const Distortion &from)
Definition: distortion.pb.h:64
double k1() const
Definition: distortion.pb.h:273
double p1() const
Definition: distortion.pb.h:315
void clear_k1()
Definition: distortion.pb.h:270
std::shared_ptr< Distortion > DistortionSharedPtr
Definition: distortion.pb.h:343
Definition: distortion.pb.h:57
void clear_k3()
Definition: distortion.pb.h:298
void clear_center()
Definition: distortion.pb.h:235
void set_k2(double value)
Definition: distortion.pb.h:291
std::unique_ptr< Distortion > DistortionUniquePtr
Definition: distortion.pb.h:341
void set_k1(double value)
Definition: distortion.pb.h:277
bool has_center() const
Definition: distortion.pb.h:232
bool has_header() const
Definition: distortion.pb.h:194
double p2() const
Definition: distortion.pb.h:329
void clear_k2()
Definition: distortion.pb.h:284