4 #ifndef PROTOBUF_ignition_2fmsgs_2factuators_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2factuators_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> 32 #pragma GCC system_header 35 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 38 #include <sys/sysmacros.h> 56 class IGNITION_MSGS_VISIBLE
Actuators :
public ::google::protobuf::Message {
68 static const ::google::protobuf::Descriptor* descriptor();
69 static const Actuators& default_instance();
77 Actuators* New(::google::protobuf::Arena* arena)
const;
78 void CopyFrom(const ::google::protobuf::Message& from);
79 void MergeFrom(const ::google::protobuf::Message& from);
83 bool IsInitialized()
const;
86 bool MergePartialFromCodedStream(
87 ::google::protobuf::io::CodedInputStream* input);
88 void SerializeWithCachedSizes(
89 ::google::protobuf::io::CodedOutputStream* output)
const;
90 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
91 bool deterministic, ::google::protobuf::uint8* output)
const;
93 return InternalSerializeWithCachedSizesToArray(
false, output);
99 void SetCachedSize(
int size)
const;
102 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
103 return _internal_metadata_.arena();
105 inline void* MaybeArenaPtr()
const {
106 return _internal_metadata_.raw_arena_ptr();
110 ::google::protobuf::Metadata GetMetadata()
const;
117 bool has_header()
const;
119 static const int kHeaderFieldNumber = 1;
120 const ::ignition::msgs::Header& header()
const;
126 int position_size()
const;
127 void clear_position();
128 static const int kPositionFieldNumber = 2;
129 double position(
int index)
const;
130 void set_position(
int index,
double value);
131 void add_position(
double value);
132 const ::google::protobuf::RepeatedField< double >&
134 ::google::protobuf::RepeatedField< double >*
138 int velocity_size()
const;
139 void clear_velocity();
140 static const int kVelocityFieldNumber = 3;
141 double velocity(
int index)
const;
142 void set_velocity(
int index,
double value);
143 void add_velocity(
double value);
144 const ::google::protobuf::RepeatedField< double >&
146 ::google::protobuf::RepeatedField< double >*
150 int normalized_size()
const;
151 void clear_normalized();
152 static const int kNormalizedFieldNumber = 4;
153 double normalized(
int index)
const;
154 void set_normalized(
int index,
double value);
155 void add_normalized(
double value);
156 const ::google::protobuf::RepeatedField< double >&
158 ::google::protobuf::RepeatedField< double >*
159 mutable_normalized();
164 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
165 bool _is_default_instance_;
167 ::google::protobuf::RepeatedField< double > position_;
168 mutable int _position_cached_byte_size_;
169 ::google::protobuf::RepeatedField< double > velocity_;
170 mutable int _velocity_cached_byte_size_;
171 ::google::protobuf::RepeatedField< double > normalized_;
172 mutable int _normalized_cached_byte_size_;
173 mutable int _cached_size_;
178 void InitAsDefaultInstance();
186 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 191 return !_is_default_instance_ && header_ != NULL;
194 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
199 return header_ != NULL ? *header_ : *default_instance_->header_;
203 if (header_ == NULL) {
204 header_ = new ::ignition::msgs::Header;
229 return position_.size();
236 return position_.Get(index);
239 position_.Set(index, value);
243 position_.Add(value);
246 inline const ::google::protobuf::RepeatedField< double >&
251 inline ::google::protobuf::RepeatedField< double >*
259 return velocity_.size();
266 return velocity_.Get(index);
269 velocity_.Set(index, value);
273 velocity_.Add(value);
276 inline const ::google::protobuf::RepeatedField< double >&
281 inline ::google::protobuf::RepeatedField< double >*
289 return normalized_.size();
296 return normalized_.Get(index);
299 normalized_.Set(index, value);
303 normalized_.Add(value);
306 inline const ::google::protobuf::RepeatedField< double >&
311 inline ::google::protobuf::RepeatedField< double >*
317 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 333 #endif // PROTOBUF_ignition_2fmsgs_2factuators_2eproto__INCLUDED void set_position(int index, double value)
Definition: actuators.pb.h:238
const ::google::protobuf::RepeatedField< double > & position() const
Definition: actuators.pb.h:247
std::unique_ptr< Actuators > ActuatorsUniquePtr
Definition: actuators.pb.h:319
int position_size() const
Definition: actuators.pb.h:228
::ignition::msgs::Header * mutable_header()
Definition: actuators.pb.h:201
bool has_header() const
Definition: actuators.pb.h:190
void add_normalized(double value)
Definition: actuators.pb.h:302
const ::google::protobuf::RepeatedField< double > & velocity() const
Definition: actuators.pb.h:277
void add_position(double value)
Definition: actuators.pb.h:242
::google::protobuf::RepeatedField< double > * mutable_normalized()
Definition: actuators.pb.h:312
Definition: actuators.pb.h:56
std::unique_ptr< const Actuators > ConstActuatorsUniquePtr
Definition: actuators.pb.h:320
void set_allocated_header(::ignition::msgs::Header *header)
Definition: actuators.pb.h:216
void set_velocity(int index, double value)
Definition: actuators.pb.h:268
const ::google::protobuf::RepeatedField< double > & normalized() const
Definition: actuators.pb.h:307
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: actuators.pb.h:92
void clear_header()
Definition: actuators.pb.h:193
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2factuators_2eproto()
int velocity_size() const
Definition: actuators.pb.h:258
std::shared_ptr< Actuators > ActuatorsSharedPtr
Definition: actuators.pb.h:321
std::shared_ptr< const Actuators > ConstActuatorsSharedPtr
Definition: actuators.pb.h:322
void clear_velocity()
Definition: actuators.pb.h:261
const ::ignition::msgs::Header & header() const
Definition: actuators.pb.h:197
int GetCachedSize() const
Definition: actuators.pb.h:95
::google::protobuf::RepeatedField< double > * mutable_position()
Definition: actuators.pb.h:252
void clear_position()
Definition: actuators.pb.h:231
void set_normalized(int index, double value)
Definition: actuators.pb.h:298
void add_velocity(double value)
Definition: actuators.pb.h:272
::ignition::msgs::Header * release_header()
Definition: actuators.pb.h:209
void protobuf_AssignDesc_ignition_2fmsgs_2factuators_2eproto()
Actuators & operator=(const Actuators &from)
Definition: actuators.pb.h:63
::google::protobuf::RepeatedField< double > * mutable_velocity()
Definition: actuators.pb.h:282
int normalized_size() const
Definition: actuators.pb.h:288
Actuators * New() const
Definition: actuators.pb.h:75
void protobuf_ShutdownFile_ignition_2fmsgs_2factuators_2eproto()
void clear_normalized()
Definition: actuators.pb.h:291