$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_interaction_primitives/msg/PoseChanged.msg */ 00002 #ifndef SRS_INTERACTION_PRIMITIVES_MESSAGE_POSECHANGED_H 00003 #define SRS_INTERACTION_PRIMITIVES_MESSAGE_POSECHANGED_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 "geometry_msgs/Pose.h" 00018 #include "geometry_msgs/Pose.h" 00019 00020 namespace srs_interaction_primitives 00021 { 00022 template <class ContainerAllocator> 00023 struct PoseChanged_ { 00024 typedef PoseChanged_<ContainerAllocator> Type; 00025 00026 PoseChanged_() 00027 : marker_name() 00028 , new_pose() 00029 , pose_change() 00030 { 00031 } 00032 00033 PoseChanged_(const ContainerAllocator& _alloc) 00034 : marker_name(_alloc) 00035 , new_pose(_alloc) 00036 , pose_change(_alloc) 00037 { 00038 } 00039 00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _marker_name_type; 00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > marker_name; 00042 00043 typedef ::geometry_msgs::Pose_<ContainerAllocator> _new_pose_type; 00044 ::geometry_msgs::Pose_<ContainerAllocator> new_pose; 00045 00046 typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_change_type; 00047 ::geometry_msgs::Pose_<ContainerAllocator> pose_change; 00048 00049 00050 private: 00051 static const char* __s_getDataType_() { return "srs_interaction_primitives/PoseChanged"; } 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 "8b560558987185c60273e1ff9b480bca"; } 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 "string marker_name\n\ 00066 geometry_msgs/Pose new_pose\n\ 00067 geometry_msgs/Pose pose_change\n\ 00068 \n\ 00069 ================================================================================\n\ 00070 MSG: geometry_msgs/Pose\n\ 00071 # A representation of pose in free space, composed of postion and orientation. \n\ 00072 Point position\n\ 00073 Quaternion orientation\n\ 00074 \n\ 00075 ================================================================================\n\ 00076 MSG: geometry_msgs/Point\n\ 00077 # This contains the position of a point in free space\n\ 00078 float64 x\n\ 00079 float64 y\n\ 00080 float64 z\n\ 00081 \n\ 00082 ================================================================================\n\ 00083 MSG: geometry_msgs/Quaternion\n\ 00084 # This represents an orientation in free space in quaternion form.\n\ 00085 \n\ 00086 float64 x\n\ 00087 float64 y\n\ 00088 float64 z\n\ 00089 float64 w\n\ 00090 \n\ 00091 "; } 00092 public: 00093 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00094 00095 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00096 00097 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00098 { 00099 ros::serialization::OStream stream(write_ptr, 1000000000); 00100 ros::serialization::serialize(stream, marker_name); 00101 ros::serialization::serialize(stream, new_pose); 00102 ros::serialization::serialize(stream, pose_change); 00103 return stream.getData(); 00104 } 00105 00106 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00107 { 00108 ros::serialization::IStream stream(read_ptr, 1000000000); 00109 ros::serialization::deserialize(stream, marker_name); 00110 ros::serialization::deserialize(stream, new_pose); 00111 ros::serialization::deserialize(stream, pose_change); 00112 return stream.getData(); 00113 } 00114 00115 ROS_DEPRECATED virtual uint32_t serializationLength() const 00116 { 00117 uint32_t size = 0; 00118 size += ros::serialization::serializationLength(marker_name); 00119 size += ros::serialization::serializationLength(new_pose); 00120 size += ros::serialization::serializationLength(pose_change); 00121 return size; 00122 } 00123 00124 typedef boost::shared_ptr< ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> > Ptr; 00125 typedef boost::shared_ptr< ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> const> ConstPtr; 00126 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00127 }; // struct PoseChanged 00128 typedef ::srs_interaction_primitives::PoseChanged_<std::allocator<void> > PoseChanged; 00129 00130 typedef boost::shared_ptr< ::srs_interaction_primitives::PoseChanged> PoseChangedPtr; 00131 typedef boost::shared_ptr< ::srs_interaction_primitives::PoseChanged const> PoseChangedConstPtr; 00132 00133 00134 template<typename ContainerAllocator> 00135 std::ostream& operator<<(std::ostream& s, const ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> & v) 00136 { 00137 ros::message_operations::Printer< ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> >::stream(s, "", v); 00138 return s;} 00139 00140 } // namespace srs_interaction_primitives 00141 00142 namespace ros 00143 { 00144 namespace message_traits 00145 { 00146 template<class ContainerAllocator> struct IsMessage< ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> > : public TrueType {}; 00147 template<class ContainerAllocator> struct IsMessage< ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> const> : public TrueType {}; 00148 template<class ContainerAllocator> 00149 struct MD5Sum< ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> > { 00150 static const char* value() 00151 { 00152 return "8b560558987185c60273e1ff9b480bca"; 00153 } 00154 00155 static const char* value(const ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> &) { return value(); } 00156 static const uint64_t static_value1 = 0x8b560558987185c6ULL; 00157 static const uint64_t static_value2 = 0x0273e1ff9b480bcaULL; 00158 }; 00159 00160 template<class ContainerAllocator> 00161 struct DataType< ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> > { 00162 static const char* value() 00163 { 00164 return "srs_interaction_primitives/PoseChanged"; 00165 } 00166 00167 static const char* value(const ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> &) { return value(); } 00168 }; 00169 00170 template<class ContainerAllocator> 00171 struct Definition< ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> > { 00172 static const char* value() 00173 { 00174 return "string marker_name\n\ 00175 geometry_msgs/Pose new_pose\n\ 00176 geometry_msgs/Pose pose_change\n\ 00177 \n\ 00178 ================================================================================\n\ 00179 MSG: geometry_msgs/Pose\n\ 00180 # A representation of pose in free space, composed of postion and orientation. \n\ 00181 Point position\n\ 00182 Quaternion orientation\n\ 00183 \n\ 00184 ================================================================================\n\ 00185 MSG: geometry_msgs/Point\n\ 00186 # This contains the position of a point in free space\n\ 00187 float64 x\n\ 00188 float64 y\n\ 00189 float64 z\n\ 00190 \n\ 00191 ================================================================================\n\ 00192 MSG: geometry_msgs/Quaternion\n\ 00193 # This represents an orientation in free space in quaternion form.\n\ 00194 \n\ 00195 float64 x\n\ 00196 float64 y\n\ 00197 float64 z\n\ 00198 float64 w\n\ 00199 \n\ 00200 "; 00201 } 00202 00203 static const char* value(const ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> &) { return value(); } 00204 }; 00205 00206 } // namespace message_traits 00207 } // namespace ros 00208 00209 namespace ros 00210 { 00211 namespace serialization 00212 { 00213 00214 template<class ContainerAllocator> struct Serializer< ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> > 00215 { 00216 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00217 { 00218 stream.next(m.marker_name); 00219 stream.next(m.new_pose); 00220 stream.next(m.pose_change); 00221 } 00222 00223 ROS_DECLARE_ALLINONE_SERIALIZER; 00224 }; // struct PoseChanged_ 00225 } // namespace serialization 00226 } // namespace ros 00227 00228 namespace ros 00229 { 00230 namespace message_operations 00231 { 00232 00233 template<class ContainerAllocator> 00234 struct Printer< ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> > 00235 { 00236 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_interaction_primitives::PoseChanged_<ContainerAllocator> & v) 00237 { 00238 s << indent << "marker_name: "; 00239 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.marker_name); 00240 s << indent << "new_pose: "; 00241 s << std::endl; 00242 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.new_pose); 00243 s << indent << "pose_change: "; 00244 s << std::endl; 00245 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pose_change); 00246 } 00247 }; 00248 00249 00250 } // namespace message_operations 00251 } // namespace ros 00252 00253 #endif // SRS_INTERACTION_PRIMITIVES_MESSAGE_POSECHANGED_H 00254