4 #ifndef PROTOBUF_ignition_2fmsgs_2fjoint_5ftrajectory_5fpoint_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fjoint_5ftrajectory_5fpoint_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> 52 class JointTrajectoryPoint;
68 static const ::google::protobuf::Descriptor* descriptor();
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 int positions_size()
const;
118 void clear_positions();
119 static const int kPositionsFieldNumber = 1;
120 double positions(
int index)
const;
121 void set_positions(
int index,
double value);
122 void add_positions(
double value);
123 const ::google::protobuf::RepeatedField< double >&
125 ::google::protobuf::RepeatedField< double >*
129 int velocities_size()
const;
130 void clear_velocities();
131 static const int kVelocitiesFieldNumber = 2;
132 double velocities(
int index)
const;
133 void set_velocities(
int index,
double value);
134 void add_velocities(
double value);
135 const ::google::protobuf::RepeatedField< double >&
137 ::google::protobuf::RepeatedField< double >*
138 mutable_velocities();
141 int accelerations_size()
const;
142 void clear_accelerations();
143 static const int kAccelerationsFieldNumber = 3;
144 double accelerations(
int index)
const;
145 void set_accelerations(
int index,
double value);
146 void add_accelerations(
double value);
147 const ::google::protobuf::RepeatedField< double >&
148 accelerations()
const;
149 ::google::protobuf::RepeatedField< double >*
150 mutable_accelerations();
153 int effort_size()
const;
155 static const int kEffortFieldNumber = 4;
156 double effort(
int index)
const;
157 void set_effort(
int index,
double value);
158 void add_effort(
double value);
159 const ::google::protobuf::RepeatedField< double >&
161 ::google::protobuf::RepeatedField< double >*
165 bool has_time_from_start()
const;
166 void clear_time_from_start();
167 static const int kTimeFromStartFieldNumber = 5;
168 const ::ignition::msgs::Duration& time_from_start()
const;
176 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
177 bool _is_default_instance_;
178 ::google::protobuf::RepeatedField< double > positions_;
179 mutable int _positions_cached_byte_size_;
180 ::google::protobuf::RepeatedField< double > velocities_;
181 mutable int _velocities_cached_byte_size_;
182 ::google::protobuf::RepeatedField< double > accelerations_;
183 mutable int _accelerations_cached_byte_size_;
184 ::google::protobuf::RepeatedField< double > effort_;
185 mutable int _effort_cached_byte_size_;
187 mutable int _cached_size_;
192 void InitAsDefaultInstance();
200 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 205 return positions_.size();
212 return positions_.Get(index);
215 positions_.Set(index, value);
219 positions_.Add(value);
222 inline const ::google::protobuf::RepeatedField< double >&
227 inline ::google::protobuf::RepeatedField< double >*
235 return velocities_.size();
242 return velocities_.Get(index);
245 velocities_.Set(index, value);
249 velocities_.Add(value);
252 inline const ::google::protobuf::RepeatedField< double >&
257 inline ::google::protobuf::RepeatedField< double >*
265 return accelerations_.size();
268 accelerations_.Clear();
272 return accelerations_.Get(index);
275 accelerations_.Set(index, value);
279 accelerations_.Add(value);
282 inline const ::google::protobuf::RepeatedField< double >&
285 return accelerations_;
287 inline ::google::protobuf::RepeatedField< double >*
290 return &accelerations_;
295 return effort_.size();
302 return effort_.Get(index);
305 effort_.Set(index, value);
312 inline const ::google::protobuf::RepeatedField< double >&
317 inline ::google::protobuf::RepeatedField< double >*
325 return !_is_default_instance_ && time_from_start_ != NULL;
328 if (GetArenaNoVirtual() == NULL && time_from_start_ != NULL)
delete time_from_start_;
329 time_from_start_ = NULL;
333 return time_from_start_ != NULL ? *time_from_start_ : *default_instance_->time_from_start_;
337 if (time_from_start_ == NULL) {
338 time_from_start_ = new ::ignition::msgs::Duration;
341 return time_from_start_;
347 time_from_start_ = NULL;
351 delete time_from_start_;
352 time_from_start_ = time_from_start;
353 if (time_from_start) {
361 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 377 #endif // PROTOBUF_ignition_2fmsgs_2fjoint_5ftrajectory_5fpoint_2eproto__INCLUDED const ::ignition::msgs::Duration & time_from_start() const
Definition: joint_trajectory_point.pb.h:331
void add_velocities(double value)
Definition: joint_trajectory_point.pb.h:248
void protobuf_ShutdownFile_ignition_2fmsgs_2fjoint_5ftrajectory_5fpoint_2eproto()
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: joint_trajectory_point.pb.h:92
int accelerations_size() const
Definition: joint_trajectory_point.pb.h:264
Definition: duration.pb.h:56
::google::protobuf::RepeatedField< double > * mutable_accelerations()
Definition: joint_trajectory_point.pb.h:288
const ::google::protobuf::RepeatedField< double > & velocities() const
Definition: joint_trajectory_point.pb.h:253
std::shared_ptr< const JointTrajectoryPoint > ConstJointTrajectoryPointSharedPtr
Definition: joint_trajectory_point.pb.h:366
void set_accelerations(int index, double value)
Definition: joint_trajectory_point.pb.h:274
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fjoint_5ftrajectory_5fpoint_2eproto()
::ignition::msgs::Duration * mutable_time_from_start()
Definition: joint_trajectory_point.pb.h:335
const ::google::protobuf::RepeatedField< double > & positions() const
Definition: joint_trajectory_point.pb.h:223
JointTrajectoryPoint & operator=(const JointTrajectoryPoint &from)
Definition: joint_trajectory_point.pb.h:63
std::shared_ptr< JointTrajectoryPoint > JointTrajectoryPointSharedPtr
Definition: joint_trajectory_point.pb.h:365
const ::google::protobuf::RepeatedField< double > & accelerations() const
Definition: joint_trajectory_point.pb.h:283
std::unique_ptr< JointTrajectoryPoint > JointTrajectoryPointUniquePtr
Definition: joint_trajectory_point.pb.h:363
const ::google::protobuf::RepeatedField< double > & effort() const
Definition: joint_trajectory_point.pb.h:313
int effort_size() const
Definition: joint_trajectory_point.pb.h:294
void clear_positions()
Definition: joint_trajectory_point.pb.h:207
void add_positions(double value)
Definition: joint_trajectory_point.pb.h:218
int positions_size() const
Definition: joint_trajectory_point.pb.h:204
Definition: joint_trajectory_point.pb.h:56
int velocities_size() const
Definition: joint_trajectory_point.pb.h:234
void clear_time_from_start()
Definition: joint_trajectory_point.pb.h:327
void set_positions(int index, double value)
Definition: joint_trajectory_point.pb.h:214
JointTrajectoryPoint * New() const
Definition: joint_trajectory_point.pb.h:75
::ignition::msgs::Duration * release_time_from_start()
Definition: joint_trajectory_point.pb.h:343
::google::protobuf::RepeatedField< double > * mutable_velocities()
Definition: joint_trajectory_point.pb.h:258
void add_effort(double value)
Definition: joint_trajectory_point.pb.h:308
void add_accelerations(double value)
Definition: joint_trajectory_point.pb.h:278
std::unique_ptr< const JointTrajectoryPoint > ConstJointTrajectoryPointUniquePtr
Definition: joint_trajectory_point.pb.h:364
void clear_accelerations()
Definition: joint_trajectory_point.pb.h:267
void set_velocities(int index, double value)
Definition: joint_trajectory_point.pb.h:244
::google::protobuf::RepeatedField< double > * mutable_effort()
Definition: joint_trajectory_point.pb.h:318
void clear_effort()
Definition: joint_trajectory_point.pb.h:297
int GetCachedSize() const
Definition: joint_trajectory_point.pb.h:95
bool has_time_from_start() const
Definition: joint_trajectory_point.pb.h:324
void set_allocated_time_from_start(::ignition::msgs::Duration *time_from_start)
Definition: joint_trajectory_point.pb.h:350
void clear_velocities()
Definition: joint_trajectory_point.pb.h:237
::google::protobuf::RepeatedField< double > * mutable_positions()
Definition: joint_trajectory_point.pb.h:228
void set_effort(int index, double value)
Definition: joint_trajectory_point.pb.h:304
void protobuf_AssignDesc_ignition_2fmsgs_2fjoint_5ftrajectory_5fpoint_2eproto()