4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2factuators_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2factuators_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #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 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2factuators_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
53 PROTOBUF_NAMESPACE_CLOSE
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65 static const uint32_t offsets[];
71 struct ActuatorsDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Actuators* Arena::CreateMaybeMessage<::ignition::msgs::Actuators>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
84 public ::PROTOBUF_NAMESPACE_ID::Message {
88 explicit constexpr
Actuators(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
93 *
this = ::std::move(from);
101 if (
this == &from)
return *
this;
102 if (GetOwningArena() == from.GetOwningArena()
103 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104 && GetOwningArena() !=
nullptr
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
115 return GetDescriptor();
118 return default_instance().GetMetadata().descriptor;
121 return default_instance().GetMetadata().reflection;
124 return *internal_default_instance();
127 return reinterpret_cast<const Actuators*
>(
130 static constexpr
int kIndexInFileMessages =
137 if (other ==
this)
return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() !=
nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
142 if (GetOwningArena() == other->GetOwningArena()) {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
150 if (other ==
this)
return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
157 Actuators*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
158 return CreateMaybeMessage<Actuators>(arena);
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
168 bool IsInitialized() const final;
170 size_t ByteSizeLong() const final;
171 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
172 uint8_t* _InternalSerialize(
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 void SetCachedSize(
int size)
const final;
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "ignition.msgs.Actuators";
188 explicit Actuators(::PROTOBUF_NAMESPACE_ID::Arena* arena,
189 bool is_message_owned =
false);
191 static void ArenaDtor(
void*
object);
192 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
198 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
205 kPositionFieldNumber = 2,
206 kVelocityFieldNumber = 3,
207 kNormalizedFieldNumber = 4,
208 kHeaderFieldNumber = 1,
211 int position_size()
const;
213 int _internal_position_size()
const;
215 void clear_position();
217 double _internal_position(
int index)
const;
218 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
219 _internal_position()
const;
220 void _internal_add_position(
double value);
221 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
222 _internal_mutable_position();
224 double position(
int index)
const;
225 void set_position(
int index,
double value);
226 void add_position(
double value);
227 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
229 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
233 int velocity_size()
const;
235 int _internal_velocity_size()
const;
237 void clear_velocity();
239 double _internal_velocity(
int index)
const;
240 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
241 _internal_velocity()
const;
242 void _internal_add_velocity(
double value);
243 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
244 _internal_mutable_velocity();
246 double velocity(
int index)
const;
247 void set_velocity(
int index,
double value);
248 void add_velocity(
double value);
249 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
251 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
255 int normalized_size()
const;
257 int _internal_normalized_size()
const;
259 void clear_normalized();
261 double _internal_normalized(
int index)
const;
262 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
263 _internal_normalized()
const;
264 void _internal_add_normalized(
double value);
265 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
266 _internal_mutable_normalized();
268 double normalized(
int index)
const;
269 void set_normalized(
int index,
double value);
270 void add_normalized(
double value);
271 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
273 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
274 mutable_normalized();
277 bool has_header()
const;
279 bool _internal_has_header()
const;
282 const ::ignition::msgs::Header& header()
const;
283 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
287 const ::ignition::msgs::Header& _internal_header()
const;
290 void unsafe_arena_set_allocated_header(
298 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
299 typedef void InternalArenaConstructable_;
300 typedef void DestructorSkippable_;
301 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > position_;
302 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > velocity_;
303 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > normalized_;
305 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
306 friend struct ::TableStruct_ignition_2fmsgs_2factuators_2eproto;
314 #pragma GCC diagnostic push
315 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
320 inline bool Actuators::_internal_has_header()
const {
321 return this != internal_default_instance() && header_ !=
nullptr;
324 return _internal_has_header();
326 inline const ::ignition::msgs::Header& Actuators::_internal_header()
const {
327 const ::ignition::msgs::Header* p = header_;
333 return _internal_header();
337 if (GetArenaForAllocation() ==
nullptr) {
338 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
352 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
353 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
354 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
355 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
357 if (GetArenaForAllocation() !=
nullptr) {
358 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
370 inline ::ignition::msgs::Header* Actuators::_internal_mutable_header() {
372 if (header_ ==
nullptr) {
373 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
384 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
385 if (message_arena ==
nullptr) {
386 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
389 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
390 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
391 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
392 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
393 if (message_arena != submessage_arena) {
394 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
395 message_arena, header, submessage_arena);
406 inline int Actuators::_internal_position_size()
const {
407 return position_.size();
410 return _internal_position_size();
415 inline double Actuators::_internal_position(
int index)
const {
416 return position_.Get(index);
420 return _internal_position(index);
423 position_.Set(index, value);
426 inline void Actuators::_internal_add_position(
double value) {
427 position_.Add(value);
430 _internal_add_position(value);
433 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
434 Actuators::_internal_position()
const {
437 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
440 return _internal_position();
442 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
443 Actuators::_internal_mutable_position() {
446 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
449 return _internal_mutable_position();
453 inline int Actuators::_internal_velocity_size()
const {
454 return velocity_.size();
457 return _internal_velocity_size();
462 inline double Actuators::_internal_velocity(
int index)
const {
463 return velocity_.Get(index);
467 return _internal_velocity(index);
470 velocity_.Set(index, value);
473 inline void Actuators::_internal_add_velocity(
double value) {
474 velocity_.Add(value);
477 _internal_add_velocity(value);
480 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
481 Actuators::_internal_velocity()
const {
484 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
487 return _internal_velocity();
489 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
490 Actuators::_internal_mutable_velocity() {
493 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
496 return _internal_mutable_velocity();
500 inline int Actuators::_internal_normalized_size()
const {
501 return normalized_.size();
504 return _internal_normalized_size();
509 inline double Actuators::_internal_normalized(
int index)
const {
510 return normalized_.Get(index);
514 return _internal_normalized(index);
517 normalized_.Set(index, value);
520 inline void Actuators::_internal_add_normalized(
double value) {
521 normalized_.Add(value);
524 _internal_add_normalized(value);
527 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
528 Actuators::_internal_normalized()
const {
531 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
534 return _internal_normalized();
536 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
537 Actuators::_internal_mutable_normalized() {
540 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
543 return _internal_mutable_normalized();
547 #pragma GCC diagnostic pop
564 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2factuators_2eproto
Definition: actuators.pb.h:84
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & position() const
Definition: actuators.pb.h:438
int normalized_size() const
Definition: actuators.pb.h:503
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: actuators.pb.h:120
bool has_header() const
Definition: actuators.pb.h:323
::ignition::msgs::Header * mutable_header()
Definition: actuators.pb.h:378
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: actuators.pb.h:114
Actuators(Actuators &&from) noexcept
Definition: actuators.pb.h:91
void Swap(Actuators *other)
Definition: actuators.pb.h:136
void clear_position()
Definition: actuators.pb.h:412
int velocity_size() const
Definition: actuators.pb.h:456
friend void swap(Actuators &a, Actuators &b)
Definition: actuators.pb.h:133
static const Actuators & default_instance()
Definition: actuators.pb.h:123
Actuators * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: actuators.pb.h:157
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_normalized()
Definition: actuators.pb.h:541
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_velocity()
Definition: actuators.pb.h:494
::PROTOBUF_NAMESPACE_ID::RepeatedField< double > * mutable_position()
Definition: actuators.pb.h:447
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: actuators.pb.h:335
void UnsafeArenaSwap(Actuators *other)
Definition: actuators.pb.h:149
void clear_normalized()
Definition: actuators.pb.h:506
void add_normalized(double value)
Definition: actuators.pb.h:523
void MergeFrom(const Actuators &from)
Actuators()
Definition: actuators.pb.h:86
static const Actuators * internal_default_instance()
Definition: actuators.pb.h:126
Actuators(const Actuators &from)
Actuators(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_allocated_header(::ignition::msgs::Header *header)
Definition: actuators.pb.h:383
constexpr Actuators(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & velocity() const
Definition: actuators.pb.h:485
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: actuators.pb.h:348
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > & normalized() const
Definition: actuators.pb.h:532
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: actuators.pb.h:117
const ::ignition::msgs::Header & header() const
Definition: actuators.pb.h:331
void add_position(double value)
Definition: actuators.pb.h:429
void set_velocity(int index, double value)
Definition: actuators.pb.h:469
Actuators & operator=(Actuators &&from) noexcept
Definition: actuators.pb.h:100
static const ClassData _class_data_
Definition: actuators.pb.h:195
Actuators & operator=(const Actuators &from)
Definition: actuators.pb.h:96
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: actuators.pb.h:363
void add_velocity(double value)
Definition: actuators.pb.h:476
void clear_velocity()
Definition: actuators.pb.h:459
void CopyFrom(const Actuators &from)
int position_size() const
Definition: actuators.pb.h:409
void set_position(int index, double value)
Definition: actuators.pb.h:422
void set_normalized(int index, double value)
Definition: actuators.pb.h:516
IGNITION_MSGS_VISIBLE ActuatorsDefaultTypeInternal _Actuators_default_instance_
std::shared_ptr< Actuators > ActuatorsSharedPtr
Definition: actuators.pb.h:552
std::shared_ptr< const Actuators > ConstActuatorsSharedPtr
Definition: actuators.pb.h:553
std::unique_ptr< Actuators > ActuatorsUniquePtr
Definition: actuators.pb.h:550
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< const Actuators > ConstActuatorsUniquePtr
Definition: actuators.pb.h:551
Definition: actor.pb.h:52
Definition: actuators.pb.h:56
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)