4 #ifndef PROTOBUF_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fjoint_5ftrajectory_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> 33 #pragma GCC system_header 36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 39 #include <sys/sysmacros.h> 53 class JointTrajectory;
57 class IGNITION_MSGS_VISIBLE
JointTrajectory :
public ::google::protobuf::Message {
69 static const ::google::protobuf::Descriptor* descriptor();
79 void CopyFrom(const ::google::protobuf::Message& from);
80 void MergeFrom(const ::google::protobuf::Message& from);
84 bool IsInitialized()
const;
87 bool MergePartialFromCodedStream(
88 ::google::protobuf::io::CodedInputStream* input);
89 void SerializeWithCachedSizes(
90 ::google::protobuf::io::CodedOutputStream* output)
const;
91 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
92 bool deterministic, ::google::protobuf::uint8* output)
const;
94 return InternalSerializeWithCachedSizesToArray(
false, output);
100 void SetCachedSize(
int size)
const;
103 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
104 return _internal_metadata_.arena();
106 inline void* MaybeArenaPtr()
const {
107 return _internal_metadata_.raw_arena_ptr();
111 ::google::protobuf::Metadata GetMetadata()
const;
118 bool has_header()
const;
120 static const int kHeaderFieldNumber = 1;
121 const ::ignition::msgs::Header& header()
const;
127 int joint_names_size()
const;
128 void clear_joint_names();
129 static const int kJointNamesFieldNumber = 2;
130 const ::std::string& joint_names(
int index)
const;
132 void set_joint_names(
int index, const ::std::string& value);
133 void set_joint_names(
int index,
const char* value);
134 void set_joint_names(
int index,
const char* value,
size_t size);
136 void add_joint_names(const ::std::string& value);
137 void add_joint_names(
const char* value);
138 void add_joint_names(
const char* value,
size_t size);
139 const ::google::protobuf::RepeatedPtrField< ::std::string>& joint_names()
const;
140 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_joint_names();
143 int points_size()
const;
145 static const int kPointsFieldNumber = 3;
146 const ::ignition::msgs::JointTrajectoryPoint& points(
int index)
const;
149 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >*
151 const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >&
157 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
158 bool _is_default_instance_;
160 ::google::protobuf::RepeatedPtrField< ::std::string> joint_names_;
161 ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint > points_;
162 mutable int _cached_size_;
167 void InitAsDefaultInstance();
175 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 180 return !_is_default_instance_ && header_ != NULL;
183 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
188 return header_ != NULL ? *header_ : *default_instance_->header_;
192 if (header_ == NULL) {
193 header_ = new ::ignition::msgs::Header;
218 return joint_names_.size();
221 joint_names_.Clear();
225 return joint_names_.Get(index);
229 return joint_names_.Mutable(index);
233 joint_names_.Mutable(index)->assign(value);
236 joint_names_.Mutable(index)->assign(value);
240 joint_names_.Mutable(index)->assign(
241 reinterpret_cast<const char*>(value), size);
246 return joint_names_.Add();
249 joint_names_.Add()->
assign(value);
253 joint_names_.Add()->
assign(value);
257 joint_names_.Add()->
assign(reinterpret_cast<const char*>(value), size);
260 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
265 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
268 return &joint_names_;
273 return points_.size();
280 return points_.Get(index);
284 return points_.Mutable(index);
288 return points_.Add();
290 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >*
295 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint >&
301 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 317 #endif // PROTOBUF_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto__INCLUDED
const ::ignition::msgs::Header & header() const
Definition: joint_trajectory.pb.h:186
JointTrajectory & operator=(const JointTrajectory &from)
Definition: joint_trajectory.pb.h:64
void set_allocated_header(::ignition::msgs::Header *header)
Definition: joint_trajectory.pb.h:205
int joint_names_size() const
Definition: joint_trajectory.pb.h:217
::ignition::msgs::JointTrajectoryPoint * add_points()
Definition: joint_trajectory.pb.h:286
Definition: joint_trajectory.pb.h:57
void clear_points()
Definition: joint_trajectory.pb.h:275
::ignition::msgs::Header * release_header()
Definition: joint_trajectory.pb.h:198
void clear_joint_names()
Definition: joint_trajectory.pb.h:220
int GetCachedSize() const
Definition: joint_trajectory.pb.h:96
std::unique_ptr< JointTrajectory > JointTrajectoryUniquePtr
Definition: joint_trajectory.pb.h:303
::google::protobuf::RepeatedPtrField< ::std::string > * mutable_joint_names()
Definition: joint_trajectory.pb.h:266
const ::google::protobuf::RepeatedPtrField< ::std::string > & joint_names() const
Definition: joint_trajectory.pb.h:261
Definition: joint_trajectory_point.pb.h:56
bool has_header() const
Definition: joint_trajectory.pb.h:179
int points_size() const
Definition: joint_trajectory.pb.h:272
std::unique_ptr< const JointTrajectory > ConstJointTrajectoryUniquePtr
Definition: joint_trajectory.pb.h:304
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint > & points() const
Definition: joint_trajectory.pb.h:296
void clear_header()
Definition: joint_trajectory.pb.h:182
std::shared_ptr< JointTrajectory > JointTrajectorySharedPtr
Definition: joint_trajectory.pb.h:305
JointTrajectory * New() const
Definition: joint_trajectory.pb.h:76
void protobuf_AssignDesc_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto()
::std::string * add_joint_names()
Definition: joint_trajectory.pb.h:244
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: joint_trajectory.pb.h:93
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto()
std::shared_ptr< const JointTrajectory > ConstJointTrajectorySharedPtr
Definition: joint_trajectory.pb.h:306
void protobuf_ShutdownFile_ignition_2fmsgs_2fjoint_5ftrajectory_2eproto()
::google::protobuf::RepeatedPtrField< ::ignition::msgs::JointTrajectoryPoint > * mutable_points()
Definition: joint_trajectory.pb.h:291
::ignition::msgs::Header * mutable_header()
Definition: joint_trajectory.pb.h:190
void set_joint_names(int index, const ::std::string &value)
Definition: joint_trajectory.pb.h:231