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