$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-control/doc_stacks/2013-03-01_15-05-58.341785/control/control_msgs/msg/FollowJointTrajectoryResult.msg */ 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 private: 00045 static const char* __s_getDataType_() { return "control_msgs/FollowJointTrajectoryResult"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "6243274b5d629dc838814109754410d5"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00060 int32 error_code\n\ 00061 int32 SUCCESSFUL = 0\n\ 00062 int32 INVALID_GOAL = -1\n\ 00063 int32 INVALID_JOINTS = -2\n\ 00064 int32 OLD_HEADER_TIMESTAMP = -3\n\ 00065 int32 PATH_TOLERANCE_VIOLATED = -4\n\ 00066 int32 GOAL_TOLERANCE_VIOLATED = -5\n\ 00067 \n\ 00068 \n\ 00069 "; } 00070 public: 00071 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00072 00073 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00074 00075 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00076 { 00077 ros::serialization::OStream stream(write_ptr, 1000000000); 00078 ros::serialization::serialize(stream, error_code); 00079 return stream.getData(); 00080 } 00081 00082 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00083 { 00084 ros::serialization::IStream stream(read_ptr, 1000000000); 00085 ros::serialization::deserialize(stream, error_code); 00086 return stream.getData(); 00087 } 00088 00089 ROS_DEPRECATED virtual uint32_t serializationLength() const 00090 { 00091 uint32_t size = 0; 00092 size += ros::serialization::serializationLength(error_code); 00093 return size; 00094 } 00095 00096 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > Ptr; 00097 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> const> ConstPtr; 00098 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00099 }; // struct FollowJointTrajectoryResult 00100 typedef ::control_msgs::FollowJointTrajectoryResult_<std::allocator<void> > FollowJointTrajectoryResult; 00101 00102 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryResult> FollowJointTrajectoryResultPtr; 00103 typedef boost::shared_ptr< ::control_msgs::FollowJointTrajectoryResult const> FollowJointTrajectoryResultConstPtr; 00104 00105 00106 template<typename ContainerAllocator> 00107 std::ostream& operator<<(std::ostream& s, const ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> & v) 00108 { 00109 ros::message_operations::Printer< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> >::stream(s, "", v); 00110 return s;} 00111 00112 } // namespace control_msgs 00113 00114 namespace ros 00115 { 00116 namespace message_traits 00117 { 00118 template<class ContainerAllocator> struct IsMessage< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > : public TrueType {}; 00119 template<class ContainerAllocator> struct IsMessage< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> const> : public TrueType {}; 00120 template<class ContainerAllocator> 00121 struct MD5Sum< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > { 00122 static const char* value() 00123 { 00124 return "6243274b5d629dc838814109754410d5"; 00125 } 00126 00127 static const char* value(const ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> &) { return value(); } 00128 static const uint64_t static_value1 = 0x6243274b5d629dc8ULL; 00129 static const uint64_t static_value2 = 0x38814109754410d5ULL; 00130 }; 00131 00132 template<class ContainerAllocator> 00133 struct DataType< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > { 00134 static const char* value() 00135 { 00136 return "control_msgs/FollowJointTrajectoryResult"; 00137 } 00138 00139 static const char* value(const ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> &) { return value(); } 00140 }; 00141 00142 template<class ContainerAllocator> 00143 struct Definition< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > { 00144 static const char* value() 00145 { 00146 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00147 int32 error_code\n\ 00148 int32 SUCCESSFUL = 0\n\ 00149 int32 INVALID_GOAL = -1\n\ 00150 int32 INVALID_JOINTS = -2\n\ 00151 int32 OLD_HEADER_TIMESTAMP = -3\n\ 00152 int32 PATH_TOLERANCE_VIOLATED = -4\n\ 00153 int32 GOAL_TOLERANCE_VIOLATED = -5\n\ 00154 \n\ 00155 \n\ 00156 "; 00157 } 00158 00159 static const char* value(const ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> &) { return value(); } 00160 }; 00161 00162 template<class ContainerAllocator> struct IsFixedSize< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > : public TrueType {}; 00163 } // namespace message_traits 00164 } // namespace ros 00165 00166 namespace ros 00167 { 00168 namespace serialization 00169 { 00170 00171 template<class ContainerAllocator> struct Serializer< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > 00172 { 00173 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00174 { 00175 stream.next(m.error_code); 00176 } 00177 00178 ROS_DECLARE_ALLINONE_SERIALIZER; 00179 }; // struct FollowJointTrajectoryResult_ 00180 } // namespace serialization 00181 } // namespace ros 00182 00183 namespace ros 00184 { 00185 namespace message_operations 00186 { 00187 00188 template<class ContainerAllocator> 00189 struct Printer< ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> > 00190 { 00191 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::control_msgs::FollowJointTrajectoryResult_<ContainerAllocator> & v) 00192 { 00193 s << indent << "error_code: "; 00194 Printer<int32_t>::stream(s, indent + " ", v.error_code); 00195 } 00196 }; 00197 00198 00199 } // namespace message_operations 00200 } // namespace ros 00201 00202 #endif // CONTROL_MSGS_MESSAGE_FOLLOWJOINTTRAJECTORYRESULT_H 00203