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