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