4 #ifndef PROTOBUF_ignition_2fmsgs_2faxis_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2faxis_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
Axis :
public ::google::protobuf::Message {
69 static const ::google::protobuf::Descriptor* descriptor();
70 static const Axis& default_instance();
72 void Swap(
Axis* other);
78 Axis* New(::google::protobuf::Arena* arena)
const;
79 void CopyFrom(const ::google::protobuf::Message& from);
80 void MergeFrom(const ::google::protobuf::Message& from);
81 void CopyFrom(
const Axis& from);
82 void MergeFrom(
const Axis& 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;
101 void InternalSwap(
Axis* other);
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_xyz()
const;
129 static const int kXyzFieldNumber = 2;
130 const ::ignition::msgs::Vector3d& xyz()
const;
136 void clear_limit_lower();
137 static const int kLimitLowerFieldNumber = 3;
138 double limit_lower()
const;
139 void set_limit_lower(
double value);
142 void clear_limit_upper();
143 static const int kLimitUpperFieldNumber = 4;
144 double limit_upper()
const;
145 void set_limit_upper(
double value);
148 void clear_limit_effort();
149 static const int kLimitEffortFieldNumber = 5;
150 double limit_effort()
const;
151 void set_limit_effort(
double value);
154 void clear_limit_velocity();
155 static const int kLimitVelocityFieldNumber = 6;
156 double limit_velocity()
const;
157 void set_limit_velocity(
double value);
160 void clear_damping();
161 static const int kDampingFieldNumber = 7;
162 double damping()
const;
163 void set_damping(
double value);
166 void clear_friction();
167 static const int kFrictionFieldNumber = 8;
168 double friction()
const;
169 void set_friction(
double value);
172 GOOGLE_PROTOBUF_DEPRECATED_ATTR
void clear_use_parent_model_frame();
173 GOOGLE_PROTOBUF_DEPRECATED_ATTR
static const int kUseParentModelFrameFieldNumber = 9;
174 GOOGLE_PROTOBUF_DEPRECATED_ATTR
bool use_parent_model_frame()
const;
175 GOOGLE_PROTOBUF_DEPRECATED_ATTR
void set_use_parent_model_frame(
bool value);
178 void clear_position();
179 static const int kPositionFieldNumber = 10;
180 double position()
const;
181 void set_position(
double value);
184 void clear_velocity();
185 static const int kVelocityFieldNumber = 11;
186 double velocity()
const;
187 void set_velocity(
double value);
191 static const int kForceFieldNumber = 12;
192 double force()
const;
193 void set_force(
double value);
196 void clear_acceleration();
197 static const int kAccelerationFieldNumber = 13;
198 double acceleration()
const;
199 void set_acceleration(
double value);
202 void clear_xyz_expressed_in();
203 static const int kXyzExpressedInFieldNumber = 14;
204 const ::std::string& xyz_expressed_in()
const;
205 void set_xyz_expressed_in(const ::std::string& value);
206 void set_xyz_expressed_in(
const char* value);
207 void set_xyz_expressed_in(
const char* value,
size_t size);
210 void set_allocated_xyz_expressed_in(::
std::string* xyz_expressed_in);
215 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
216 bool _is_default_instance_;
221 double limit_effort_;
222 double limit_velocity_;
228 double acceleration_;
229 ::google::protobuf::internal::ArenaStringPtr xyz_expressed_in_;
230 bool use_parent_model_frame_;
231 mutable int _cached_size_;
236 void InitAsDefaultInstance();
237 static Axis* default_instance_;
244 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 249 return !_is_default_instance_ && header_ != NULL;
252 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
257 return header_ != NULL ? *header_ : *default_instance_->header_;
261 if (header_ == NULL) {
262 header_ = new ::ignition::msgs::Header;
287 return !_is_default_instance_ && xyz_ != NULL;
290 if (GetArenaNoVirtual() == NULL && xyz_ != NULL)
delete xyz_;
293 inline const ::ignition::msgs::Vector3d&
Axis::xyz()
const {
295 return xyz_ != NULL ? *xyz_ : *default_instance_->xyz_;
300 xyz_ = new ::ignition::msgs::Vector3d;
333 limit_lower_ = value;
347 limit_upper_ = value;
357 return limit_effort_;
361 limit_effort_ = value;
371 return limit_velocity_;
375 limit_velocity_ = value;
409 use_parent_model_frame_ =
false;
413 return use_parent_model_frame_;
417 use_parent_model_frame_ = value;
469 return acceleration_;
473 acceleration_ = value;
479 xyz_expressed_in_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
483 return xyz_expressed_in_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
487 xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
492 xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
497 xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
498 ::
std::string(reinterpret_cast<const char*>(value), size));
504 return xyz_expressed_in_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
509 return xyz_expressed_in_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
512 if (xyz_expressed_in != NULL) {
517 xyz_expressed_in_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), xyz_expressed_in);
521 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 537 #endif // PROTOBUF_ignition_2fmsgs_2faxis_2eproto__INCLUDED void set_velocity(double value)
Definition: axis.pb.h:443
double limit_velocity() const
Definition: axis.pb.h:369
Axis * New() const
Definition: axis.pb.h:76
double damping() const
Definition: axis.pb.h:383
void set_limit_upper(double value)
Definition: axis.pb.h:345
std::unique_ptr< Axis > AxisUniquePtr
Definition: axis.pb.h:523
void clear_xyz_expressed_in()
Definition: axis.pb.h:478
bool has_header() const
Definition: axis.pb.h:248
void set_damping(double value)
Definition: axis.pb.h:387
void set_friction(double value)
Definition: axis.pb.h:401
bool has_xyz() const
Definition: axis.pb.h:286
double limit_upper() const
Definition: axis.pb.h:341
double limit_effort() const
Definition: axis.pb.h:355
void set_xyz_expressed_in(const ::std::string &value)
Definition: axis.pb.h:485
void clear_position()
Definition: axis.pb.h:422
void set_allocated_header(::ignition::msgs::Header *header)
Definition: axis.pb.h:274
void clear_friction()
Definition: axis.pb.h:394
const ::ignition::msgs::Vector3d & xyz() const
Definition: axis.pb.h:293
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: axis.pb.h:93
void protobuf_ShutdownFile_ignition_2fmsgs_2faxis_2eproto()
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_use_parent_model_frame()
Definition: axis.pb.h:408
::std::string * release_xyz_expressed_in()
Definition: axis.pb.h:506
void clear_limit_effort()
Definition: axis.pb.h:352
void set_position(double value)
Definition: axis.pb.h:429
double friction() const
Definition: axis.pb.h:397
double force() const
Definition: axis.pb.h:453
void clear_velocity()
Definition: axis.pb.h:436
void set_force(double value)
Definition: axis.pb.h:457
void set_limit_velocity(double value)
Definition: axis.pb.h:373
GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_use_parent_model_frame(bool value)
Definition: axis.pb.h:415
double acceleration() const
Definition: axis.pb.h:467
void set_limit_effort(double value)
Definition: axis.pb.h:359
std::shared_ptr< Axis > AxisSharedPtr
Definition: axis.pb.h:525
std::shared_ptr< const Axis > ConstAxisSharedPtr
Definition: axis.pb.h:526
GOOGLE_PROTOBUF_DEPRECATED_ATTR bool use_parent_model_frame() const
Definition: axis.pb.h:411
void clear_limit_velocity()
Definition: axis.pb.h:366
::ignition::msgs::Vector3d * mutable_xyz()
Definition: axis.pb.h:297
double limit_lower() const
Definition: axis.pb.h:327
void clear_xyz()
Definition: axis.pb.h:289
void set_allocated_xyz_expressed_in(::std::string *xyz_expressed_in)
Definition: axis.pb.h:511
void clear_limit_lower()
Definition: axis.pb.h:324
void set_allocated_xyz(::ignition::msgs::Vector3d *xyz)
Definition: axis.pb.h:312
void clear_force()
Definition: axis.pb.h:450
Definition: vector3d.pb.h:56
::std::string * mutable_xyz_expressed_in()
Definition: axis.pb.h:501
std::unique_ptr< const Axis > ConstAxisUniquePtr
Definition: axis.pb.h:524
double velocity() const
Definition: axis.pb.h:439
::ignition::msgs::Vector3d * release_xyz()
Definition: axis.pb.h:305
::ignition::msgs::Header * release_header()
Definition: axis.pb.h:267
void clear_limit_upper()
Definition: axis.pb.h:338
void clear_acceleration()
Definition: axis.pb.h:464
void set_acceleration(double value)
Definition: axis.pb.h:471
void clear_header()
Definition: axis.pb.h:251
void protobuf_AssignDesc_ignition_2fmsgs_2faxis_2eproto()
int GetCachedSize() const
Definition: axis.pb.h:96
void clear_damping()
Definition: axis.pb.h:380
double position() const
Definition: axis.pb.h:425
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2faxis_2eproto()
void set_limit_lower(double value)
Definition: axis.pb.h:331
::ignition::msgs::Header * mutable_header()
Definition: axis.pb.h:259
const ::ignition::msgs::Header & header() const
Definition: axis.pb.h:255
const ::std::string & xyz_expressed_in() const
Definition: axis.pb.h:481
Axis & operator=(const Axis &from)
Definition: axis.pb.h:64