$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/ManualArmManipFeedback.msg */ 00002 #ifndef SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPFEEDBACK_H 00003 #define SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPFEEDBACK_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 ManualArmManipFeedback_ { 00022 typedef ManualArmManipFeedback_<ContainerAllocator> Type; 00023 00024 ManualArmManipFeedback_() 00025 : starting(false) 00026 , planning(false) 00027 , executing(false) 00028 , reset(false) 00029 { 00030 } 00031 00032 ManualArmManipFeedback_(const ContainerAllocator& _alloc) 00033 : starting(false) 00034 , planning(false) 00035 , executing(false) 00036 , reset(false) 00037 { 00038 } 00039 00040 typedef uint8_t _starting_type; 00041 uint8_t starting; 00042 00043 typedef uint8_t _planning_type; 00044 uint8_t planning; 00045 00046 typedef uint8_t _executing_type; 00047 uint8_t executing; 00048 00049 typedef uint8_t _reset_type; 00050 uint8_t reset; 00051 00052 00053 private: 00054 static const char* __s_getDataType_() { return "srs_assisted_arm_navigation_msgs/ManualArmManipFeedback"; } 00055 public: 00056 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00057 00058 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00059 00060 private: 00061 static const char* __s_getMD5Sum_() { return "ed2e21aa21fafbcd2657d0eaa59c1468"; } 00062 public: 00063 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00064 00065 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00066 00067 private: 00068 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00069 # feedback\n\ 00070 bool starting\n\ 00071 bool planning\n\ 00072 bool executing\n\ 00073 bool reset\n\ 00074 \n\ 00075 \n\ 00076 "; } 00077 public: 00078 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00079 00080 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00081 00082 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00083 { 00084 ros::serialization::OStream stream(write_ptr, 1000000000); 00085 ros::serialization::serialize(stream, starting); 00086 ros::serialization::serialize(stream, planning); 00087 ros::serialization::serialize(stream, executing); 00088 ros::serialization::serialize(stream, reset); 00089 return stream.getData(); 00090 } 00091 00092 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00093 { 00094 ros::serialization::IStream stream(read_ptr, 1000000000); 00095 ros::serialization::deserialize(stream, starting); 00096 ros::serialization::deserialize(stream, planning); 00097 ros::serialization::deserialize(stream, executing); 00098 ros::serialization::deserialize(stream, reset); 00099 return stream.getData(); 00100 } 00101 00102 ROS_DEPRECATED virtual uint32_t serializationLength() const 00103 { 00104 uint32_t size = 0; 00105 size += ros::serialization::serializationLength(starting); 00106 size += ros::serialization::serializationLength(planning); 00107 size += ros::serialization::serializationLength(executing); 00108 size += ros::serialization::serializationLength(reset); 00109 return size; 00110 } 00111 00112 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> > Ptr; 00113 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> const> ConstPtr; 00114 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00115 }; // struct ManualArmManipFeedback 00116 typedef ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<std::allocator<void> > ManualArmManipFeedback; 00117 00118 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback> ManualArmManipFeedbackPtr; 00119 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback const> ManualArmManipFeedbackConstPtr; 00120 00121 00122 template<typename ContainerAllocator> 00123 std::ostream& operator<<(std::ostream& s, const ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> & v) 00124 { 00125 ros::message_operations::Printer< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> >::stream(s, "", v); 00126 return s;} 00127 00128 } // namespace srs_assisted_arm_navigation_msgs 00129 00130 namespace ros 00131 { 00132 namespace message_traits 00133 { 00134 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> > : public TrueType {}; 00135 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> const> : public TrueType {}; 00136 template<class ContainerAllocator> 00137 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> > { 00138 static const char* value() 00139 { 00140 return "ed2e21aa21fafbcd2657d0eaa59c1468"; 00141 } 00142 00143 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> &) { return value(); } 00144 static const uint64_t static_value1 = 0xed2e21aa21fafbcdULL; 00145 static const uint64_t static_value2 = 0x2657d0eaa59c1468ULL; 00146 }; 00147 00148 template<class ContainerAllocator> 00149 struct DataType< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> > { 00150 static const char* value() 00151 { 00152 return "srs_assisted_arm_navigation_msgs/ManualArmManipFeedback"; 00153 } 00154 00155 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> &) { return value(); } 00156 }; 00157 00158 template<class ContainerAllocator> 00159 struct Definition< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> > { 00160 static const char* value() 00161 { 00162 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00163 # feedback\n\ 00164 bool starting\n\ 00165 bool planning\n\ 00166 bool executing\n\ 00167 bool reset\n\ 00168 \n\ 00169 \n\ 00170 "; 00171 } 00172 00173 static const char* value(const ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> &) { return value(); } 00174 }; 00175 00176 template<class ContainerAllocator> struct IsFixedSize< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> > : public TrueType {}; 00177 } // namespace message_traits 00178 } // namespace ros 00179 00180 namespace ros 00181 { 00182 namespace serialization 00183 { 00184 00185 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> > 00186 { 00187 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00188 { 00189 stream.next(m.starting); 00190 stream.next(m.planning); 00191 stream.next(m.executing); 00192 stream.next(m.reset); 00193 } 00194 00195 ROS_DECLARE_ALLINONE_SERIALIZER; 00196 }; // struct ManualArmManipFeedback_ 00197 } // namespace serialization 00198 } // namespace ros 00199 00200 namespace ros 00201 { 00202 namespace message_operations 00203 { 00204 00205 template<class ContainerAllocator> 00206 struct Printer< ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> > 00207 { 00208 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_assisted_arm_navigation_msgs::ManualArmManipFeedback_<ContainerAllocator> & v) 00209 { 00210 s << indent << "starting: "; 00211 Printer<uint8_t>::stream(s, indent + " ", v.starting); 00212 s << indent << "planning: "; 00213 Printer<uint8_t>::stream(s, indent + " ", v.planning); 00214 s << indent << "executing: "; 00215 Printer<uint8_t>::stream(s, indent + " ", v.executing); 00216 s << indent << "reset: "; 00217 Printer<uint8_t>::stream(s, indent + " ", v.reset); 00218 } 00219 }; 00220 00221 00222 } // namespace message_operations 00223 } // namespace ros 00224 00225 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_MESSAGE_MANUALARMMANIPFEEDBACK_H 00226