$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_public/doc_stacks/2013-03-05_12-22-34.333426/srs_public/srs_assisted_arm_navigation_msgs/msg/ManualArmManipResult.msg */ 00002 #ifndef SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPRESULT_H 00003 #define SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPRESULT_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 srs_assisted_arm_navigation_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct ManualArmManipResult_ { 00022 typedef ManualArmManipResult_<ContainerAllocator> Type; 00023 00024 ManualArmManipResult_() 00025 : success(false) 00026 , failed(false) 00027 , repeat(false) 00028 , timeout(false) 00029 , collision(false) 00030 , time_elapsed() 00031 { 00032 } 00033 00034 ManualArmManipResult_(const ContainerAllocator& _alloc) 00035 : success(false) 00036 , failed(false) 00037 , repeat(false) 00038 , timeout(false) 00039 , collision(false) 00040 , time_elapsed() 00041 { 00042 } 00043 00044 typedef uint8_t _success_type; 00045 uint8_t success; 00046 00047 typedef uint8_t _failed_type; 00048 uint8_t failed; 00049 00050 typedef uint8_t _repeat_type; 00051 uint8_t repeat; 00052 00053 typedef uint8_t _timeout_type; 00054 uint8_t timeout; 00055 00056 typedef uint8_t _collision_type; 00057 uint8_t collision; 00058 00059 typedef ros::Duration _time_elapsed_type; 00060 ros::Duration time_elapsed; 00061 00062 00063 private: 00064 static const char* __s_getDataType_() { return "srs_assisted_arm_navigation_msgs/ManualArmManipResult"; } 00065 public: 00066 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00067 00068 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00069 00070 private: 00071 static const char* __s_getMD5Sum_() { return "fd4ed8c447d4f279eb6d602b78f3777c"; } 00072 public: 00073 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00074 00075 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00076 00077 private: 00078 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00079 # result\n\ 00080 bool success\n\ 00081 bool failed\n\ 00082 bool repeat\n\ 00083 bool timeout\n\ 00084 bool collision\n\ 00085 duration time_elapsed\n\ 00086 \n\ 00087 "; } 00088 public: 00089 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00090 00091 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00092 00093 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00094 { 00095 ros::serialization::OStream stream(write_ptr, 1000000000); 00096 ros::serialization::serialize(stream, success); 00097 ros::serialization::serialize(stream, failed); 00098 ros::serialization::serialize(stream, repeat); 00099 ros::serialization::serialize(stream, timeout); 00100 ros::serialization::serialize(stream, collision); 00101 ros::serialization::serialize(stream, time_elapsed); 00102 return stream.getData(); 00103 } 00104 00105 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00106 { 00107 ros::serialization::IStream stream(read_ptr, 1000000000); 00108 ros::serialization::deserialize(stream, success); 00109 ros::serialization::deserialize(stream, failed); 00110 ros::serialization::deserialize(stream, repeat); 00111 ros::serialization::deserialize(stream, timeout); 00112 ros::serialization::deserialize(stream, collision); 00113 ros::serialization::deserialize(stream, time_elapsed); 00114 return stream.getData(); 00115 } 00116 00117 ROS_DEPRECATED virtual uint32_t serializationLength() const 00118 { 00119 uint32_t size = 0; 00120 size += ros::serialization::serializationLength(success); 00121 size += ros::serialization::serializationLength(failed); 00122 size += ros::serialization::serializationLength(repeat); 00123 size += ros::serialization::serializationLength(timeout); 00124 size += ros::serialization::serializationLength(collision); 00125 size += ros::serialization::serializationLength(time_elapsed); 00126 return size; 00127 } 00128 00129 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > Ptr; 00130 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> const> ConstPtr; 00131 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00132 }; // struct ManualArmManipResult 00133 typedef ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<std::allocator<void> > ManualArmManipResult; 00134 00135 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult> ManualArmManipResultPtr; 00136 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult const> ManualArmManipResultConstPtr; 00137 00138 00139 template<typename ContainerAllocator> 00140 std::ostream& operator<<(std::ostream& s, const ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> & v) 00141 { 00142 ros::message_operations::Printer< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> >::stream(s, "", v); 00143 return s;} 00144 00145 } // namespace srs_assisted_arm_navigation_msgs 00146 00147 namespace ros 00148 { 00149 namespace message_traits 00150 { 00151 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > : public TrueType {}; 00152 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> const> : public TrueType {}; 00153 template<class ContainerAllocator> 00154 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > { 00155 static const char* value() 00156 { 00157 return "fd4ed8c447d4f279eb6d602b78f3777c"; 00158 } 00159 00160 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> &) { return value(); } 00161 static const uint64_t static_value1 = 0xfd4ed8c447d4f279ULL; 00162 static const uint64_t static_value2 = 0xeb6d602b78f3777cULL; 00163 }; 00164 00165 template<class ContainerAllocator> 00166 struct DataType< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > { 00167 static const char* value() 00168 { 00169 return "srs_assisted_arm_navigation_msgs/ManualArmManipResult"; 00170 } 00171 00172 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> &) { return value(); } 00173 }; 00174 00175 template<class ContainerAllocator> 00176 struct Definition< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > { 00177 static const char* value() 00178 { 00179 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00180 # result\n\ 00181 bool success\n\ 00182 bool failed\n\ 00183 bool repeat\n\ 00184 bool timeout\n\ 00185 bool collision\n\ 00186 duration time_elapsed\n\ 00187 \n\ 00188 "; 00189 } 00190 00191 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> &) { return value(); } 00192 }; 00193 00194 template<class ContainerAllocator> struct IsFixedSize< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > : public TrueType {}; 00195 } // namespace message_traits 00196 } // namespace ros 00197 00198 namespace ros 00199 { 00200 namespace serialization 00201 { 00202 00203 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > 00204 { 00205 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00206 { 00207 stream.next(m.success); 00208 stream.next(m.failed); 00209 stream.next(m.repeat); 00210 stream.next(m.timeout); 00211 stream.next(m.collision); 00212 stream.next(m.time_elapsed); 00213 } 00214 00215 ROS_DECLARE_ALLINONE_SERIALIZER; 00216 }; // struct ManualArmManipResult_ 00217 } // namespace serialization 00218 } // namespace ros 00219 00220 namespace ros 00221 { 00222 namespace message_operations 00223 { 00224 00225 template<class ContainerAllocator> 00226 struct Printer< ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> > 00227 { 00228 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_assisted_arm_navigation_msgs::ManualArmManipResult_<ContainerAllocator> & v) 00229 { 00230 s << indent << "success: "; 00231 Printer<uint8_t>::stream(s, indent + " ", v.success); 00232 s << indent << "failed: "; 00233 Printer<uint8_t>::stream(s, indent + " ", v.failed); 00234 s << indent << "repeat: "; 00235 Printer<uint8_t>::stream(s, indent + " ", v.repeat); 00236 s << indent << "timeout: "; 00237 Printer<uint8_t>::stream(s, indent + " ", v.timeout); 00238 s << indent << "collision: "; 00239 Printer<uint8_t>::stream(s, indent + " ", v.collision); 00240 s << indent << "time_elapsed: "; 00241 Printer<ros::Duration>::stream(s, indent + " ", v.time_elapsed); 00242 } 00243 }; 00244 00245 00246 } // namespace message_operations 00247 } // namespace ros 00248 00249 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPRESULT_H 00250