Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5ftrajectory_5fpoint_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5ftrajectory_5fpoint_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>
35 #pragma GCC system_header
38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #include <sys/sysmacros.h>
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fjoint_5ftrajectory_5fpoint_2eproto IGNITION_MSGS_VISIBLE
51 static const ::google::protobuf::internal::ParseTableField entries[];
52 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
53 static const ::google::protobuf::internal::ParseTable schema[1];
54 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
55 static const ::google::protobuf::internal::SerializationTable serialization_table[];
56 static const ::google::protobuf::uint32 offsets[];
62 class JointTrajectoryPoint;
63 class JointTrajectoryPointDefaultTypeInternal;
69 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::JointTrajectoryPoint* Arena::CreateMaybeMessage<::ignition::msgs::JointTrajectoryPoint>(Arena*);
91 *
this = ::std::move(from);
94 inline JointTrajectoryPoint& operator=(JointTrajectoryPoint&& from) noexcept {
95 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96 if (
this != &from) InternalSwap(&from);
103 static const ::google::protobuf::Descriptor* descriptor();
104 static const JointTrajectoryPoint& default_instance();
106 static void InitAsDefaultInstance();
111 static constexpr
int kIndexInFileMessages =
122 return CreateMaybeMessage<JointTrajectoryPoint>(NULL);
126 return CreateMaybeMessage<JointTrajectoryPoint>(arena);
128 void CopyFrom(const ::google::protobuf::Message& from)
final;
129 void MergeFrom(const ::google::protobuf::Message& from)
final;
133 bool IsInitialized() const final;
135 size_t ByteSizeLong() const final;
136 bool MergePartialFromCodedStream(
137 ::
google::protobuf::io::CodedInputStream* input) final;
138 void SerializeWithCachedSizes(
139 ::
google::protobuf::io::CodedOutputStream* output) const final;
140 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
141 bool deterministic, ::
google::protobuf::uint8* target) const final;
142 int GetCachedSize() const final {
return _cached_size_.Get(); }
147 void SetCachedSize(
int size)
const final;
150 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
153 inline void* MaybeArenaPtr()
const {
158 ::google::protobuf::Metadata GetMetadata() const final;
165 int positions_size() const;
166 void clear_positions();
167 static const
int kPositionsFieldNumber = 1;
168 double positions(
int index) const;
169 void set_positions(
int index,
double value);
170 void add_positions(
double value);
171 const ::
google::protobuf::RepeatedField<
double >&
173 ::
google::protobuf::RepeatedField<
double >*
177 int velocities_size() const;
178 void clear_velocities();
179 static const
int kVelocitiesFieldNumber = 2;
180 double velocities(
int index) const;
181 void set_velocities(
int index,
double value);
182 void add_velocities(
double value);
183 const ::
google::protobuf::RepeatedField<
double >&
185 ::
google::protobuf::RepeatedField<
double >*
186 mutable_velocities();
189 int accelerations_size() const;
190 void clear_accelerations();
191 static const
int kAccelerationsFieldNumber = 3;
192 double accelerations(
int index) const;
193 void set_accelerations(
int index,
double value);
194 void add_accelerations(
double value);
195 const ::
google::protobuf::RepeatedField<
double >&
196 accelerations() const;
197 ::
google::protobuf::RepeatedField<
double >*
198 mutable_accelerations();
201 int effort_size() const;
203 static const
int kEffortFieldNumber = 4;
204 double effort(
int index) const;
205 void set_effort(
int index,
double value);
206 void add_effort(
double value);
207 const ::
google::protobuf::RepeatedField<
double >&
209 ::
google::protobuf::RepeatedField<
double >*
213 bool has_time_from_start() const;
214 void clear_time_from_start();
215 static const
int kTimeFromStartFieldNumber = 5;
222 void set_allocated_time_from_start(::
ignition::msgs::
Duration* time_from_start);
227 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
228 ::
google::protobuf::RepeatedField<
double > positions_;
229 mutable
int _positions_cached_byte_size_;
230 ::
google::protobuf::RepeatedField<
double > velocities_;
231 mutable
int _velocities_cached_byte_size_;
232 ::
google::protobuf::RepeatedField<
double > accelerations_;
233 mutable
int _accelerations_cached_byte_size_;
234 ::
google::protobuf::RepeatedField<
double > effort_;
235 mutable
int _effort_cached_byte_size_;
237 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
246 #pragma GCC diagnostic push
247 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
253 return positions_.size();
260 return positions_.Get(index);
263 positions_.Set(index, value);
267 positions_.Add(value);
270 inline const ::google::protobuf::RepeatedField< double >&
275 inline ::google::protobuf::RepeatedField< double >*
283 return velocities_.size();
290 return velocities_.Get(index);
293 velocities_.Set(index, value);
297 velocities_.Add(value);
300 inline const ::google::protobuf::RepeatedField< double >&
305 inline ::google::protobuf::RepeatedField< double >*
313 return accelerations_.size();
316 accelerations_.Clear();
320 return accelerations_.Get(index);
323 accelerations_.Set(index, value);
327 accelerations_.Add(value);
330 inline const ::google::protobuf::RepeatedField< double >&
333 return accelerations_;
335 inline ::google::protobuf::RepeatedField< double >*
338 return &accelerations_;
343 return effort_.size();
350 return effort_.Get(index);
353 effort_.Set(index, value);
360 inline const ::google::protobuf::RepeatedField< double >&
365 inline ::google::protobuf::RepeatedField< double >*
373 return this != internal_default_instance() && time_from_start_ != NULL;
375 inline const ::ignition::msgs::Duration& JointTrajectoryPoint::_internal_time_from_start()
const {
376 return *time_from_start_;
379 const ::ignition::msgs::Duration* p = time_from_start_;
388 time_from_start_ = NULL;
393 if (time_from_start_ == NULL) {
394 auto* p = CreateMaybeMessage<::ignition::msgs::Duration>(GetArenaNoVirtual());
395 time_from_start_ = p;
398 return time_from_start_;
401 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
402 if (message_arena == NULL) {
403 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(time_from_start_);
405 if (time_from_start) {
406 ::google::protobuf::Arena* submessage_arena = NULL;
407 if (message_arena != submessage_arena) {
408 time_from_start = ::google::protobuf::internal::GetOwnedMessage(
409 message_arena, time_from_start, submessage_arena);
415 time_from_start_ = time_from_start;
420 #pragma GCC diagnostic pop
437 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fjoint_5ftrajectory_5fpoint_2eproto
void set_accelerations(int index, double value)
Definition: joint_trajectory_point.pb.h:322
Definition: duration.pb.h:77
IGNITION_MSGS_VISIBLE DurationDefaultTypeInternal _Duration_default_instance_
void clear_positions()
Definition: joint_trajectory_point.pb.h:255
Definition: joint_trajectory_point.pb.h:50
JointTrajectoryPoint & operator=(const JointTrajectoryPoint &from)
Definition: joint_trajectory_point.pb.h:84
std::shared_ptr< const JointTrajectoryPoint > ConstJointTrajectoryPointSharedPtr
Definition: joint_trajectory_point.pb.h:426
::google::protobuf::RepeatedField< double > * mutable_effort()
Definition: joint_trajectory_point.pb.h:366
void Swap(JointTrajectoryPoint *other)
IGNITION_MSGS_VISIBLE JointTrajectoryPointDefaultTypeInternal _JointTrajectoryPoint_default_instance_
::ignition::msgs::Duration * mutable_time_from_start()
Definition: joint_trajectory_point.pb.h:391
int positions_size() const
Definition: joint_trajectory_point.pb.h:252
const ::google::protobuf::RepeatedField< double > & accelerations() const
Definition: joint_trajectory_point.pb.h:331
friend void swap(JointTrajectoryPoint &a, JointTrajectoryPoint &b)
Definition: joint_trajectory_point.pb.h:115
::google::protobuf::RepeatedField< double > * mutable_velocities()
Definition: joint_trajectory_point.pb.h:306
void clear_effort()
Definition: joint_trajectory_point.pb.h:345
Definition: joint_trajectory_point.pb.h:77
Definition: joint_trajectory_point.pb.h:48
int accelerations_size() const
Definition: joint_trajectory_point.pb.h:312
void add_positions(double value)
Definition: joint_trajectory_point.pb.h:266
const ::ignition::msgs::Duration & time_from_start() const
Definition: joint_trajectory_point.pb.h:378
JointTrajectoryPoint * New(::google::protobuf::Arena *arena) const final
Definition: joint_trajectory_point.pb.h:125
std::unique_ptr< JointTrajectoryPoint > JointTrajectoryPointUniquePtr
Definition: joint_trajectory_point.pb.h:423
const ::google::protobuf::RepeatedField< double > & velocities() const
Definition: joint_trajectory_point.pb.h:301
int effort_size() const
Definition: joint_trajectory_point.pb.h:342
void clear_accelerations()
Definition: joint_trajectory_point.pb.h:315
::ignition::msgs::Duration * release_time_from_start()
Definition: joint_trajectory_point.pb.h:384
void add_effort(double value)
Definition: joint_trajectory_point.pb.h:356
::google::protobuf::RepeatedField< double > * mutable_positions()
Definition: joint_trajectory_point.pb.h:276
static const JointTrajectoryPoint * internal_default_instance()
Definition: joint_trajectory_point.pb.h:107
void add_velocities(double value)
Definition: joint_trajectory_point.pb.h:296
void set_positions(int index, double value)
Definition: joint_trajectory_point.pb.h:262
int velocities_size() const
Definition: joint_trajectory_point.pb.h:282
void clear_velocities()
Definition: joint_trajectory_point.pb.h:285
void set_allocated_time_from_start(::ignition::msgs::Duration *time_from_start)
Definition: joint_trajectory_point.pb.h:400
const ::google::protobuf::RepeatedField< double > & effort() const
Definition: joint_trajectory_point.pb.h:361
JointTrajectoryPoint * New() const final
Definition: joint_trajectory_point.pb.h:121
std::shared_ptr< JointTrajectoryPoint > JointTrajectoryPointSharedPtr
Definition: joint_trajectory_point.pb.h:425
bool has_time_from_start() const
Definition: joint_trajectory_point.pb.h:372
std::unique_ptr< const JointTrajectoryPoint > ConstJointTrajectoryPointUniquePtr
Definition: joint_trajectory_point.pb.h:424
const ::google::protobuf::RepeatedField< double > & positions() const
Definition: joint_trajectory_point.pb.h:271
void set_effort(int index, double value)
Definition: joint_trajectory_point.pb.h:352
void add_accelerations(double value)
Definition: joint_trajectory_point.pb.h:326
void IGNITION_MSGS_VISIBLE AddDescriptors()
Definition: actor.pb.h:78
::google::protobuf::RepeatedField< double > * mutable_accelerations()
Definition: joint_trajectory_point.pb.h:336
void set_velocities(int index, double value)
Definition: joint_trajectory_point.pb.h:292