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);
266 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
267 ::google::protobuf::internal::ArenaStringPtr xyz_expressed_in_;
272 double limit_effort_;
273 double limit_velocity_;
279 double acceleration_;
280 mutable ::google::protobuf::internal::CachedSize _cached_size_;
281 friend struct ::protobuf_ignition_2fmsgs_2faxis_2eproto::TableStruct;
289 #pragma GCC diagnostic push
290 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
298 inline const ::ignition::msgs::Header& Axis::_internal_header()
const {
302 const ::ignition::msgs::Header* p = header_;
316 if (header_ == NULL) {
317 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
324 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
325 if (message_arena == NULL) {
326 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
329 ::google::protobuf::Arena* submessage_arena = NULL;
330 if (message_arena != submessage_arena) {
331 header = ::google::protobuf::internal::GetOwnedMessage(
332 message_arena,
header, submessage_arena);
346 inline const ::ignition::msgs::Vector3d& Axis::_internal_xyz()
const {
349 inline const ::ignition::msgs::Vector3d&
Axis::xyz()
const {
350 const ::ignition::msgs::Vector3d* p = xyz_;
365 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
372 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
373 if (message_arena == NULL) {
374 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(xyz_);
377 ::google::protobuf::Arena* submessage_arena = NULL;
378 if (message_arena != submessage_arena) {
379 xyz = ::google::protobuf::internal::GetOwnedMessage(
380 message_arena,
xyz, submessage_arena);
400 limit_lower_ = value;
414 limit_upper_ = value;
424 return limit_effort_;
428 limit_effort_ = value;
438 return limit_velocity_;
442 limit_velocity_ = value;
522 return acceleration_;
526 acceleration_ = value;
532 xyz_expressed_in_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
536 return xyz_expressed_in_.GetNoArena();
540 xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
546 xyz_expressed_in_.SetNoArena(
547 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
552 GOOGLE_DCHECK(value != NULL);
554 xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
559 xyz_expressed_in_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
560 ::
std::string(
reinterpret_cast<const char*
>(value), size));
566 return xyz_expressed_in_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
571 return xyz_expressed_in_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
579 xyz_expressed_in_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
xyz_expressed_in);
584 #pragma GCC diagnostic pop
601 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2faxis_2eproto
double limit_upper() const
Definition: axis.pb.h:408
void clear_limit_lower()
Definition: axis.pb.h:391
void clear_force()
Definition: axis.pb.h:503
void set_allocated_xyz_expressed_in(::std::string *xyz_expressed_in)
Definition: axis.pb.h:573
double velocity() const
Definition: axis.pb.h:492
::std::string * mutable_xyz_expressed_in()
Definition: axis.pb.h:563
void clear_friction()
Definition: axis.pb.h:461
Definition: vector3d.pb.h:77
void clear_acceleration()
Definition: axis.pb.h:517
void set_allocated_header(::ignition::msgs::Header *header)
Definition: axis.pb.h:323
double position() const
Definition: axis.pb.h:478
const ::ignition::msgs::Vector3d & xyz() const
Definition: axis.pb.h:349
void set_position(double value)
Definition: axis.pb.h:482
::ignition::msgs::Header * release_header()
Definition: axis.pb.h:307
void set_xyz_expressed_in(const ::std::string &value)
Definition: axis.pb.h:538
IGNITION_MSGS_VISIBLE AxisDefaultTypeInternal _Axis_default_instance_
void IGNITION_MSGS_VISIBLE AddDescriptors()
double force() const
Definition: axis.pb.h:506
std::unique_ptr< const Axis > ConstAxisUniquePtr
Definition: axis.pb.h:588
std::shared_ptr< Axis > AxisSharedPtr
Definition: axis.pb.h:589
double acceleration() const
Definition: axis.pb.h:520
Axis * New() const final
Definition: axis.pb.h:122
const ::std::string & xyz_expressed_in() const
Definition: axis.pb.h:534
std::unique_ptr< Axis > AxisUniquePtr
Definition: axis.pb.h:587
void clear_limit_velocity()
Definition: axis.pb.h:433
const ::ignition::msgs::Header & header() const
Definition: axis.pb.h:301
void clear_position()
Definition: axis.pb.h:475
void clear_xyz_expressed_in()
Definition: axis.pb.h:531
double limit_effort() const
Definition: axis.pb.h:422
void set_friction(double value)
Definition: axis.pb.h:468
void set_allocated_xyz(::ignition::msgs::Vector3d *xyz)
Definition: axis.pb.h:371
void set_limit_upper(double value)
Definition: axis.pb.h:412
double damping() const
Definition: axis.pb.h:450
double limit_velocity() const
Definition: axis.pb.h:436
bool has_header() const
Definition: axis.pb.h:295
void set_damping(double value)
Definition: axis.pb.h:454
bool has_xyz() const
Definition: axis.pb.h:343
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
void set_limit_lower(double value)
Definition: axis.pb.h:398
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:568
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:489
double limit_lower() const
Definition: axis.pb.h:394
void set_acceleration(double value)
Definition: axis.pb.h:524
double friction() const
Definition: axis.pb.h:464
void clear_limit_effort()
Definition: axis.pb.h:419
::ignition::msgs::Header * mutable_header()
Definition: axis.pb.h:314
void clear_limit_upper()
Definition: axis.pb.h:405
Axis & operator=(const Axis &from)
Definition: axis.pb.h:85
std::shared_ptr< const Axis > ConstAxisSharedPtr
Definition: axis.pb.h:590
void set_limit_velocity(double value)
Definition: axis.pb.h:440
void set_force(double value)
Definition: axis.pb.h:510
::ignition::msgs::Vector3d * release_xyz()
Definition: axis.pb.h:355
void set_velocity(double value)
Definition: axis.pb.h:496
Definition: actor.pb.h:78
void set_limit_effort(double value)
Definition: axis.pb.h:426
::ignition::msgs::Vector3d * mutable_xyz()
Definition: axis.pb.h:362
void clear_damping()
Definition: axis.pb.h:447