Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2faxis_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2faxis_2eproto
9 #include <google/protobuf/stubs/common.h>
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
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.
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>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/unknown_field_set.h>
36 #pragma GCC system_header
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #include <sys/sysmacros.h>
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2faxis_2eproto IGNITION_MSGS_VISIBLE
52 static const ::google::protobuf::internal::ParseTableField entries[];
53 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54 static const ::google::protobuf::internal::ParseTable schema[1];
55 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56 static const ::google::protobuf::internal::SerializationTable serialization_table[];
57 static const ::google::protobuf::uint32 offsets[];
64 class AxisDefaultTypeInternal;
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Axis* Arena::CreateMaybeMessage<::ignition::msgs::Axis>(Arena*);
78 class IGNITION_MSGS_VISIBLE
Axis :
public ::google::protobuf::Message {
92 *
this = ::std::move(from);
95 inline Axis& operator=(Axis&& from) noexcept {
96 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97 if (
this != &from) InternalSwap(&from);
104 static const ::google::protobuf::Descriptor* descriptor();
105 static const Axis& default_instance();
107 static void InitAsDefaultInstance();
109 return reinterpret_cast<const Axis*
>(
112 static constexpr
int kIndexInFileMessages =
115 void Swap(
Axis* other);
123 return CreateMaybeMessage<Axis>(NULL);
126 Axis*
New(::google::protobuf::Arena* arena)
const final {
127 return CreateMaybeMessage<Axis>(arena);
129 void CopyFrom(const ::google::protobuf::Message& from)
final;
130 void MergeFrom(const ::google::protobuf::Message& from)
final;
131 void CopyFrom(
const Axis& from);
132 void MergeFrom(
const Axis& from);
134 bool IsInitialized() const final;
136 size_t ByteSizeLong() const final;
137 bool MergePartialFromCodedStream(
138 ::
google::protobuf::io::CodedInputStream* input) final;
139 void SerializeWithCachedSizes(
140 ::
google::protobuf::io::CodedOutputStream* output) const final;
141 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
142 bool deterministic, ::
google::protobuf::uint8* target) const final;
143 int GetCachedSize() const final {
return _cached_size_.Get(); }
148 void SetCachedSize(
int size)
const final;
149 void InternalSwap(
Axis* other);
151 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
154 inline void* MaybeArenaPtr()
const {
159 ::google::protobuf::Metadata GetMetadata() const final;
166 void clear_xyz_expressed_in();
167 static const
int kXyzExpressedInFieldNumber = 14;
168 const ::
std::
string& xyz_expressed_in() const;
169 void set_xyz_expressed_in(const ::
std::
string& value);
173 void set_xyz_expressed_in(
const char* value);
174 void set_xyz_expressed_in(
const char* value,
size_t size);
177 void set_allocated_xyz_expressed_in(::
std::string* xyz_expressed_in);
180 bool has_header()
const;
182 static const int kHeaderFieldNumber = 1;
184 const ::ignition::msgs::Header& _internal_header()
const;
186 const ::ignition::msgs::Header& header()
const;
192 bool has_xyz()
const;
194 static const int kXyzFieldNumber = 2;
196 const ::ignition::msgs::Vector3d& _internal_xyz()
const;
198 const ::ignition::msgs::Vector3d& xyz()
const;
204 void clear_limit_lower();
205 static const int kLimitLowerFieldNumber = 3;
206 double limit_lower()
const;
207 void set_limit_lower(
double value);
210 void clear_limit_upper();
211 static const int kLimitUpperFieldNumber = 4;
212 double limit_upper()
const;
213 void set_limit_upper(
double value);
216 void clear_limit_effort();
217 static const int kLimitEffortFieldNumber = 5;
218 double limit_effort()
const;
219 void set_limit_effort(
double value);
222 void clear_limit_velocity();
223 static const int kLimitVelocityFieldNumber = 6;
224 double limit_velocity()
const;
225 void set_limit_velocity(
double value);
228 void clear_damping();
229 static const int kDampingFieldNumber = 7;
230 double damping()
const;
231 void set_damping(
double value);
234 void clear_friction();
235 static const int kFrictionFieldNumber = 8;
236 double friction()
const;
237 void set_friction(
double value);
240 void clear_position();
241 static const int kPositionFieldNumber = 10;
242 double position()
const;
243 void set_position(
double value);
246 void clear_velocity();
247 static const int kVelocityFieldNumber = 11;
248 double velocity()
const;
249 void set_velocity(
double value);
253 static const int kForceFieldNumber = 12;
254 double force()
const;
255 void set_force(
double value);
258 void clear_acceleration();
259 static const int kAccelerationFieldNumber = 13;
260 double acceleration()
const;
261 void set_acceleration(
double value);
264 GOOGLE_PROTOBUF_DEPRECATED_ATTR
void clear_use_parent_model_frame();
265 GOOGLE_PROTOBUF_DEPRECATED_ATTR
static const int kUseParentModelFrameFieldNumber = 9;
266 GOOGLE_PROTOBUF_DEPRECATED_ATTR
bool use_parent_model_frame()
const;
267 GOOGLE_PROTOBUF_DEPRECATED_ATTR
void set_use_parent_model_frame(
bool value);
272 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
273 ::google::protobuf::internal::ArenaStringPtr xyz_expressed_in_;
278 double limit_effort_;
279 double limit_velocity_;
285 double acceleration_;
286 bool use_parent_model_frame_;
287 mutable ::google::protobuf::internal::CachedSize _cached_size_;
288 friend struct ::protobuf_ignition_2fmsgs_2faxis_2eproto::TableStruct;
296 #pragma GCC diagnostic push
297 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
305 inline const ::ignition::msgs::Header& Axis::_internal_header()
const {
309 const ::ignition::msgs::Header* p = header_;
323 if (header_ == NULL) {
324 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
331 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
332 if (message_arena == NULL) {
333 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
336 ::google::protobuf::Arena* submessage_arena = NULL;
337 if (message_arena != submessage_arena) {
338 header = ::google::protobuf::internal::GetOwnedMessage(
339 message_arena,
header, submessage_arena);
353 inline const ::ignition::msgs::Vector3d& Axis::_internal_xyz()
const {
356 inline const ::ignition::msgs::Vector3d&
Axis::xyz()
const {
357 const ::ignition::msgs::Vector3d* p = xyz_;
372 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
379 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
380 if (message_arena == NULL) {
381 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(xyz_);
384 ::google::protobuf::Arena* submessage_arena = NULL;
385 if (message_arena != submessage_arena) {
386 xyz = ::google::protobuf::internal::GetOwnedMessage(
387 message_arena,
xyz, submessage_arena);
407 limit_lower_ = value;
421 limit_upper_ = value;
431 return limit_effort_;
435 limit_effort_ = value;
445 return limit_velocity_;
449 limit_velocity_ = value;
483 use_parent_model_frame_ =
false;
487 return use_parent_model_frame_;
491 use_parent_model_frame_ = value;
543 return acceleration_;
547 acceleration_ = value;
553 xyz_expressed_in_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
557 return xyz_expressed_in_.GetNoArena();
561 xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
567 xyz_expressed_in_.SetNoArena(
568 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
573 GOOGLE_DCHECK(value != NULL);
575 xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
580 xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
581 ::
std::string(
reinterpret_cast<const char*
>(value), size));
587 return xyz_expressed_in_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
592 return xyz_expressed_in_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
600 xyz_expressed_in_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
xyz_expressed_in);
605 #pragma GCC diagnostic pop
622 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2faxis_2eproto
double limit_upper() const
Definition: axis.pb.h:415
void clear_limit_lower()
Definition: axis.pb.h:398
void clear_force()
Definition: axis.pb.h:524
void set_allocated_xyz_expressed_in(::std::string *xyz_expressed_in)
Definition: axis.pb.h:594
double velocity() const
Definition: axis.pb.h:513
::std::string * mutable_xyz_expressed_in()
Definition: axis.pb.h:584
void clear_friction()
Definition: axis.pb.h:468
Definition: vector3d.pb.h:77
void clear_acceleration()
Definition: axis.pb.h:538
void set_allocated_header(::ignition::msgs::Header *header)
Definition: axis.pb.h:330
double position() const
Definition: axis.pb.h:499
const ::ignition::msgs::Vector3d & xyz() const
Definition: axis.pb.h:356
void set_position(double value)
Definition: axis.pb.h:503
::ignition::msgs::Header * release_header()
Definition: axis.pb.h:314
void set_xyz_expressed_in(const ::std::string &value)
Definition: axis.pb.h:559
IGNITION_MSGS_VISIBLE AxisDefaultTypeInternal _Axis_default_instance_
void IGNITION_MSGS_VISIBLE AddDescriptors()
double force() const
Definition: axis.pb.h:527
std::unique_ptr< const Axis > ConstAxisUniquePtr
Definition: axis.pb.h:609
std::shared_ptr< Axis > AxisSharedPtr
Definition: axis.pb.h:610
double acceleration() const
Definition: axis.pb.h:541
Axis * New() const final
Definition: axis.pb.h:122
const ::std::string & xyz_expressed_in() const
Definition: axis.pb.h:555
std::unique_ptr< Axis > AxisUniquePtr
Definition: axis.pb.h:608
void clear_limit_velocity()
Definition: axis.pb.h:440
GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_use_parent_model_frame(bool value)
Definition: axis.pb.h:489
const ::ignition::msgs::Header & header() const
Definition: axis.pb.h:308
void clear_position()
Definition: axis.pb.h:496
void clear_xyz_expressed_in()
Definition: axis.pb.h:552
double limit_effort() const
Definition: axis.pb.h:429
void set_friction(double value)
Definition: axis.pb.h:475
void set_allocated_xyz(::ignition::msgs::Vector3d *xyz)
Definition: axis.pb.h:378
void set_limit_upper(double value)
Definition: axis.pb.h:419
double damping() const
Definition: axis.pb.h:457
double limit_velocity() const
Definition: axis.pb.h:443
bool has_header() const
Definition: axis.pb.h:302
void set_damping(double value)
Definition: axis.pb.h:461
bool has_xyz() const
Definition: axis.pb.h:350
GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_use_parent_model_frame()
Definition: axis.pb.h:482
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
GOOGLE_PROTOBUF_DEPRECATED_ATTR bool use_parent_model_frame() const
Definition: axis.pb.h:485
void set_limit_lower(double value)
Definition: axis.pb.h:405
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
friend void swap(Axis &a, Axis &b)
Definition: axis.pb.h:116
::std::string * release_xyz_expressed_in()
Definition: axis.pb.h:589
static const Axis * internal_default_instance()
Definition: axis.pb.h:108
Axis * New(::google::protobuf::Arena *arena) const final
Definition: axis.pb.h:126
void clear_velocity()
Definition: axis.pb.h:510
double limit_lower() const
Definition: axis.pb.h:401
void set_acceleration(double value)
Definition: axis.pb.h:545
double friction() const
Definition: axis.pb.h:471
void clear_limit_effort()
Definition: axis.pb.h:426
::ignition::msgs::Header * mutable_header()
Definition: axis.pb.h:321
void clear_limit_upper()
Definition: axis.pb.h:412
Axis & operator=(const Axis &from)
Definition: axis.pb.h:85
std::shared_ptr< const Axis > ConstAxisSharedPtr
Definition: axis.pb.h:611
void set_limit_velocity(double value)
Definition: axis.pb.h:447
void set_force(double value)
Definition: axis.pb.h:531
::ignition::msgs::Vector3d * release_xyz()
Definition: axis.pb.h:362
void set_velocity(double value)
Definition: axis.pb.h:517
Definition: actor.pb.h:78
void set_limit_effort(double value)
Definition: axis.pb.h:433
::ignition::msgs::Vector3d * mutable_xyz()
Definition: axis.pb.h:369
void clear_damping()
Definition: axis.pb.h:454