$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_ui_but/msg/ButCamMsg.msg */ 00002 #ifndef SRS_UI_BUT_MESSAGE_BUTCAMMSG_H 00003 #define SRS_UI_BUT_MESSAGE_BUTCAMMSG_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 #include "std_msgs/Header.h" 00018 #include "geometry_msgs/Pose.h" 00019 #include "geometry_msgs/Vector3.h" 00020 00021 namespace srs_ui_but 00022 { 00023 template <class ContainerAllocator> 00024 struct ButCamMsg_ { 00025 typedef ButCamMsg_<ContainerAllocator> Type; 00026 00027 ButCamMsg_() 00028 : header() 00029 , pose() 00030 , scale() 00031 { 00032 } 00033 00034 ButCamMsg_(const ContainerAllocator& _alloc) 00035 : header(_alloc) 00036 , pose(_alloc) 00037 , scale(_alloc) 00038 { 00039 } 00040 00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00042 ::std_msgs::Header_<ContainerAllocator> header; 00043 00044 typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type; 00045 ::geometry_msgs::Pose_<ContainerAllocator> pose; 00046 00047 typedef ::geometry_msgs::Vector3_<ContainerAllocator> _scale_type; 00048 ::geometry_msgs::Vector3_<ContainerAllocator> scale; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "srs_ui_but/ButCamMsg"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00055 00056 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00057 00058 private: 00059 static const char* __s_getMD5Sum_() { return "31a7fdbfddebf50fd786f2a40634cfaf"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "Header header # header for time/frame information\n\ 00067 geometry_msgs/Pose pose # Pose of the object\n\ 00068 geometry_msgs/Vector3 scale # Scale of the object 1,1,1 means default (usually 1 meter square)\n\ 00069 ================================================================================\n\ 00070 MSG: std_msgs/Header\n\ 00071 # Standard metadata for higher-level stamped data types.\n\ 00072 # This is generally used to communicate timestamped data \n\ 00073 # in a particular coordinate frame.\n\ 00074 # \n\ 00075 # sequence ID: consecutively increasing ID \n\ 00076 uint32 seq\n\ 00077 #Two-integer timestamp that is expressed as:\n\ 00078 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00079 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00080 # time-handling sugar is provided by the client library\n\ 00081 time stamp\n\ 00082 #Frame this data is associated with\n\ 00083 # 0: no frame\n\ 00084 # 1: global frame\n\ 00085 string frame_id\n\ 00086 \n\ 00087 ================================================================================\n\ 00088 MSG: geometry_msgs/Pose\n\ 00089 # A representation of pose in free space, composed of postion and orientation. \n\ 00090 Point position\n\ 00091 Quaternion orientation\n\ 00092 \n\ 00093 ================================================================================\n\ 00094 MSG: geometry_msgs/Point\n\ 00095 # This contains the position of a point in free space\n\ 00096 float64 x\n\ 00097 float64 y\n\ 00098 float64 z\n\ 00099 \n\ 00100 ================================================================================\n\ 00101 MSG: geometry_msgs/Quaternion\n\ 00102 # This represents an orientation in free space in quaternion form.\n\ 00103 \n\ 00104 float64 x\n\ 00105 float64 y\n\ 00106 float64 z\n\ 00107 float64 w\n\ 00108 \n\ 00109 ================================================================================\n\ 00110 MSG: geometry_msgs/Vector3\n\ 00111 # This represents a vector in free space. \n\ 00112 \n\ 00113 float64 x\n\ 00114 float64 y\n\ 00115 float64 z\n\ 00116 "; } 00117 public: 00118 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00119 00120 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00121 00122 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00123 { 00124 ros::serialization::OStream stream(write_ptr, 1000000000); 00125 ros::serialization::serialize(stream, header); 00126 ros::serialization::serialize(stream, pose); 00127 ros::serialization::serialize(stream, scale); 00128 return stream.getData(); 00129 } 00130 00131 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00132 { 00133 ros::serialization::IStream stream(read_ptr, 1000000000); 00134 ros::serialization::deserialize(stream, header); 00135 ros::serialization::deserialize(stream, pose); 00136 ros::serialization::deserialize(stream, scale); 00137 return stream.getData(); 00138 } 00139 00140 ROS_DEPRECATED virtual uint32_t serializationLength() const 00141 { 00142 uint32_t size = 0; 00143 size += ros::serialization::serializationLength(header); 00144 size += ros::serialization::serializationLength(pose); 00145 size += ros::serialization::serializationLength(scale); 00146 return size; 00147 } 00148 00149 typedef boost::shared_ptr< ::srs_ui_but::ButCamMsg_<ContainerAllocator> > Ptr; 00150 typedef boost::shared_ptr< ::srs_ui_but::ButCamMsg_<ContainerAllocator> const> ConstPtr; 00151 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00152 }; // struct ButCamMsg 00153 typedef ::srs_ui_but::ButCamMsg_<std::allocator<void> > ButCamMsg; 00154 00155 typedef boost::shared_ptr< ::srs_ui_but::ButCamMsg> ButCamMsgPtr; 00156 typedef boost::shared_ptr< ::srs_ui_but::ButCamMsg const> ButCamMsgConstPtr; 00157 00158 00159 template<typename ContainerAllocator> 00160 std::ostream& operator<<(std::ostream& s, const ::srs_ui_but::ButCamMsg_<ContainerAllocator> & v) 00161 { 00162 ros::message_operations::Printer< ::srs_ui_but::ButCamMsg_<ContainerAllocator> >::stream(s, "", v); 00163 return s;} 00164 00165 } // namespace srs_ui_but 00166 00167 namespace ros 00168 { 00169 namespace message_traits 00170 { 00171 template<class ContainerAllocator> struct IsMessage< ::srs_ui_but::ButCamMsg_<ContainerAllocator> > : public TrueType {}; 00172 template<class ContainerAllocator> struct IsMessage< ::srs_ui_but::ButCamMsg_<ContainerAllocator> const> : public TrueType {}; 00173 template<class ContainerAllocator> 00174 struct MD5Sum< ::srs_ui_but::ButCamMsg_<ContainerAllocator> > { 00175 static const char* value() 00176 { 00177 return "31a7fdbfddebf50fd786f2a40634cfaf"; 00178 } 00179 00180 static const char* value(const ::srs_ui_but::ButCamMsg_<ContainerAllocator> &) { return value(); } 00181 static const uint64_t static_value1 = 0x31a7fdbfddebf50fULL; 00182 static const uint64_t static_value2 = 0xd786f2a40634cfafULL; 00183 }; 00184 00185 template<class ContainerAllocator> 00186 struct DataType< ::srs_ui_but::ButCamMsg_<ContainerAllocator> > { 00187 static const char* value() 00188 { 00189 return "srs_ui_but/ButCamMsg"; 00190 } 00191 00192 static const char* value(const ::srs_ui_but::ButCamMsg_<ContainerAllocator> &) { return value(); } 00193 }; 00194 00195 template<class ContainerAllocator> 00196 struct Definition< ::srs_ui_but::ButCamMsg_<ContainerAllocator> > { 00197 static const char* value() 00198 { 00199 return "Header header # header for time/frame information\n\ 00200 geometry_msgs/Pose pose # Pose of the object\n\ 00201 geometry_msgs/Vector3 scale # Scale of the object 1,1,1 means default (usually 1 meter square)\n\ 00202 ================================================================================\n\ 00203 MSG: std_msgs/Header\n\ 00204 # Standard metadata for higher-level stamped data types.\n\ 00205 # This is generally used to communicate timestamped data \n\ 00206 # in a particular coordinate frame.\n\ 00207 # \n\ 00208 # sequence ID: consecutively increasing ID \n\ 00209 uint32 seq\n\ 00210 #Two-integer timestamp that is expressed as:\n\ 00211 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00212 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00213 # time-handling sugar is provided by the client library\n\ 00214 time stamp\n\ 00215 #Frame this data is associated with\n\ 00216 # 0: no frame\n\ 00217 # 1: global frame\n\ 00218 string frame_id\n\ 00219 \n\ 00220 ================================================================================\n\ 00221 MSG: geometry_msgs/Pose\n\ 00222 # A representation of pose in free space, composed of postion and orientation. \n\ 00223 Point position\n\ 00224 Quaternion orientation\n\ 00225 \n\ 00226 ================================================================================\n\ 00227 MSG: geometry_msgs/Point\n\ 00228 # This contains the position of a point in free space\n\ 00229 float64 x\n\ 00230 float64 y\n\ 00231 float64 z\n\ 00232 \n\ 00233 ================================================================================\n\ 00234 MSG: geometry_msgs/Quaternion\n\ 00235 # This represents an orientation in free space in quaternion form.\n\ 00236 \n\ 00237 float64 x\n\ 00238 float64 y\n\ 00239 float64 z\n\ 00240 float64 w\n\ 00241 \n\ 00242 ================================================================================\n\ 00243 MSG: geometry_msgs/Vector3\n\ 00244 # This represents a vector in free space. \n\ 00245 \n\ 00246 float64 x\n\ 00247 float64 y\n\ 00248 float64 z\n\ 00249 "; 00250 } 00251 00252 static const char* value(const ::srs_ui_but::ButCamMsg_<ContainerAllocator> &) { return value(); } 00253 }; 00254 00255 template<class ContainerAllocator> struct HasHeader< ::srs_ui_but::ButCamMsg_<ContainerAllocator> > : public TrueType {}; 00256 template<class ContainerAllocator> struct HasHeader< const ::srs_ui_but::ButCamMsg_<ContainerAllocator> > : public TrueType {}; 00257 } // namespace message_traits 00258 } // namespace ros 00259 00260 namespace ros 00261 { 00262 namespace serialization 00263 { 00264 00265 template<class ContainerAllocator> struct Serializer< ::srs_ui_but::ButCamMsg_<ContainerAllocator> > 00266 { 00267 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00268 { 00269 stream.next(m.header); 00270 stream.next(m.pose); 00271 stream.next(m.scale); 00272 } 00273 00274 ROS_DECLARE_ALLINONE_SERIALIZER; 00275 }; // struct ButCamMsg_ 00276 } // namespace serialization 00277 } // namespace ros 00278 00279 namespace ros 00280 { 00281 namespace message_operations 00282 { 00283 00284 template<class ContainerAllocator> 00285 struct Printer< ::srs_ui_but::ButCamMsg_<ContainerAllocator> > 00286 { 00287 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_ui_but::ButCamMsg_<ContainerAllocator> & v) 00288 { 00289 s << indent << "header: "; 00290 s << std::endl; 00291 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00292 s << indent << "pose: "; 00293 s << std::endl; 00294 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pose); 00295 s << indent << "scale: "; 00296 s << std::endl; 00297 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.scale); 00298 } 00299 }; 00300 00301 00302 } // namespace message_operations 00303 } // namespace ros 00304 00305 #endif // SRS_UI_BUT_MESSAGE_BUTCAMMSG_H 00306