Go to the documentation of this file.00001
00002 #ifndef CONTROL_MSGS_MESSAGE_FOLLOWJOINTTRAJECTORYRESULT_H
00003 #define CONTROL_MSGS_MESSAGE_FOLLOWJOINTTRAJECTORYRESULT_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017
00018 namespace control_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct FollowJointTrajectoryResult_ {
00022 typedef FollowJointTrajectoryResult_<ContainerAllocator> Type;
00023
00024 FollowJointTrajectoryResult_()
00025 : error_code(0)
00026 {
00027 }
00028
00029 FollowJointTrajectoryResult_(const ContainerAllocator& _alloc)
00030 : error_code(0)
00031 {
00032 }
00033
00034 typedef int32_t _error_code_type;
00035 int32_t error_code;
00036
00037 enum { SUCCESSFUL = 0 };
00038 enum { INVALID_GOAL = -1 };
00039 enum { INVALID_JOINTS = -2 };
00040 enum { OLD_HEADER_TIMESTAMP = -3 };
00041 enum { PATH_TOLERANCE_VIOLATED = -4 };
00042 enum { GOAL_TOLERANCE_VIOLATED = -5 };
00043
00044 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::control_msgs::FollowJointTrajectoryResult_<std::allocator<void> > FollowJointTrajectoryResult;
00049
00050 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryResult> FollowJointTrajectoryResultPtr;
00051 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryResult const> FollowJointTrajectoryResultConstPtr;
00052
00053
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> & v)
00056 {
00057 ros::message_operations::Printer< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> >::stream(s, "", v);
00058 return s;}
00059
00060 }
00061
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > {
00070 static const char* value()
00071 {
00072 return "6243274b5d629dc838814109754410d5";
00073 }
00074
00075 static const char* value(const ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> &) { return value(); }
00076 static const uint64_t static_value1 = 0x6243274b5d629dc8ULL;
00077 static const uint64_t static_value2 = 0x38814109754410d5ULL;
00078 };
00079
00080 template<class ContainerAllocator>
00081 struct DataType< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "control_msgs/FollowJointTrajectoryResult";
00085 }
00086
00087 static const char* value(const ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> &) { return value(); }
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct Definition< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00095 int32 error_code\n\
00096 int32 SUCCESSFUL = 0\n\
00097 int32 INVALID_GOAL = -1\n\
00098 int32 INVALID_JOINTS = -2\n\
00099 int32 OLD_HEADER_TIMESTAMP = -3\n\
00100 int32 PATH_TOLERANCE_VIOLATED = -4\n\
00101 int32 GOAL_TOLERANCE_VIOLATED = -5\n\
00102 \n\
00103 \n\
00104 ";
00105 }
00106
00107 static const char* value(const ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> &) { return value(); }
00108 };
00109
00110 template<class ContainerAllocator> struct IsFixedSize< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > : public TrueType {};
00111 }
00112 }
00113
00114 namespace ros
00115 {
00116 namespace serialization
00117 {
00118
00119 template<class ContainerAllocator> struct Serializer< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> >
00120 {
00121 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00122 {
00123 stream.next(m.error_code);
00124 }
00125
00126 ROS_DECLARE_ALLINONE_SERIALIZER;
00127 };
00128 }
00129 }
00130
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135
00136 template<class ContainerAllocator>
00137 struct Printer< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> >
00138 {
00139 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> & v)
00140 {
00141 s << indent << "error_code: ";
00142 Printer<int32_t>::stream(s, indent + " ", v.error_code);
00143 }
00144 };
00145
00146
00147 }
00148 }
00149
00150 #endif // CONTROL_MSGS_MESSAGE_FOLLOWJOINTTRAJECTORYRESULT_H
00151