$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/ScaleChanged.msg */ 00002 #ifndef SRS_INTERACTION_PRIMITIVES_MESSAGE_SCALECHANGED_H 00003 #define SRS_INTERACTION_PRIMITIVES_MESSAGE_SCALECHANGED_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/Vector3.h" 00018 #include "geometry_msgs/Vector3.h" 00019 00020 namespace srs_interaction_primitives 00021 { 00022 template <class ContainerAllocator> 00023 struct ScaleChanged_ { 00024 typedef ScaleChanged_<ContainerAllocator> Type; 00025 00026 ScaleChanged_() 00027 : marker_name() 00028 , new_scale() 00029 , scale_change() 00030 { 00031 } 00032 00033 ScaleChanged_(const ContainerAllocator& _alloc) 00034 : marker_name(_alloc) 00035 , new_scale(_alloc) 00036 , scale_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::Vector3_<ContainerAllocator> _new_scale_type; 00044 ::geometry_msgs::Vector3_<ContainerAllocator> new_scale; 00045 00046 typedef ::geometry_msgs::Vector3_<ContainerAllocator> _scale_change_type; 00047 ::geometry_msgs::Vector3_<ContainerAllocator> scale_change; 00048 00049 00050 private: 00051 static const char* __s_getDataType_() { return "srs_interaction_primitives/ScaleChanged"; } 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 "f644c1f4ac359bd4eb43d88dde1e3f66"; } 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/Vector3 new_scale\n\ 00067 geometry_msgs/Vector3 scale_change\n\ 00068 \n\ 00069 ================================================================================\n\ 00070 MSG: geometry_msgs/Vector3\n\ 00071 # This represents a vector in free space. \n\ 00072 \n\ 00073 float64 x\n\ 00074 float64 y\n\ 00075 float64 z\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, marker_name); 00086 ros::serialization::serialize(stream, new_scale); 00087 ros::serialization::serialize(stream, scale_change); 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, marker_name); 00095 ros::serialization::deserialize(stream, new_scale); 00096 ros::serialization::deserialize(stream, scale_change); 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(marker_name); 00104 size += ros::serialization::serializationLength(new_scale); 00105 size += ros::serialization::serializationLength(scale_change); 00106 return size; 00107 } 00108 00109 typedef boost::shared_ptr< ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> > Ptr; 00110 typedef boost::shared_ptr< ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> const> ConstPtr; 00111 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00112 }; // struct ScaleChanged 00113 typedef ::srs_interaction_primitives::ScaleChanged_<std::allocator<void> > ScaleChanged; 00114 00115 typedef boost::shared_ptr< ::srs_interaction_primitives::ScaleChanged> ScaleChangedPtr; 00116 typedef boost::shared_ptr< ::srs_interaction_primitives::ScaleChanged const> ScaleChangedConstPtr; 00117 00118 00119 template<typename ContainerAllocator> 00120 std::ostream& operator<<(std::ostream& s, const ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> & v) 00121 { 00122 ros::message_operations::Printer< ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> >::stream(s, "", v); 00123 return s;} 00124 00125 } // namespace srs_interaction_primitives 00126 00127 namespace ros 00128 { 00129 namespace message_traits 00130 { 00131 template<class ContainerAllocator> struct IsMessage< ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> > : public TrueType {}; 00132 template<class ContainerAllocator> struct IsMessage< ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> const> : public TrueType {}; 00133 template<class ContainerAllocator> 00134 struct MD5Sum< ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> > { 00135 static const char* value() 00136 { 00137 return "f644c1f4ac359bd4eb43d88dde1e3f66"; 00138 } 00139 00140 static const char* value(const ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> &) { return value(); } 00141 static const uint64_t static_value1 = 0xf644c1f4ac359bd4ULL; 00142 static const uint64_t static_value2 = 0xeb43d88dde1e3f66ULL; 00143 }; 00144 00145 template<class ContainerAllocator> 00146 struct DataType< ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> > { 00147 static const char* value() 00148 { 00149 return "srs_interaction_primitives/ScaleChanged"; 00150 } 00151 00152 static const char* value(const ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> &) { return value(); } 00153 }; 00154 00155 template<class ContainerAllocator> 00156 struct Definition< ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> > { 00157 static const char* value() 00158 { 00159 return "string marker_name\n\ 00160 geometry_msgs/Vector3 new_scale\n\ 00161 geometry_msgs/Vector3 scale_change\n\ 00162 \n\ 00163 ================================================================================\n\ 00164 MSG: geometry_msgs/Vector3\n\ 00165 # This represents a vector in free space. \n\ 00166 \n\ 00167 float64 x\n\ 00168 float64 y\n\ 00169 float64 z\n\ 00170 "; 00171 } 00172 00173 static const char* value(const ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> &) { return value(); } 00174 }; 00175 00176 } // namespace message_traits 00177 } // namespace ros 00178 00179 namespace ros 00180 { 00181 namespace serialization 00182 { 00183 00184 template<class ContainerAllocator> struct Serializer< ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> > 00185 { 00186 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00187 { 00188 stream.next(m.marker_name); 00189 stream.next(m.new_scale); 00190 stream.next(m.scale_change); 00191 } 00192 00193 ROS_DECLARE_ALLINONE_SERIALIZER; 00194 }; // struct ScaleChanged_ 00195 } // namespace serialization 00196 } // namespace ros 00197 00198 namespace ros 00199 { 00200 namespace message_operations 00201 { 00202 00203 template<class ContainerAllocator> 00204 struct Printer< ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> > 00205 { 00206 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_interaction_primitives::ScaleChanged_<ContainerAllocator> & v) 00207 { 00208 s << indent << "marker_name: "; 00209 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.marker_name); 00210 s << indent << "new_scale: "; 00211 s << std::endl; 00212 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.new_scale); 00213 s << indent << "scale_change: "; 00214 s << std::endl; 00215 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.scale_change); 00216 } 00217 }; 00218 00219 00220 } // namespace message_operations 00221 } // namespace ros 00222 00223 #endif // SRS_INTERACTION_PRIMITIVES_MESSAGE_SCALECHANGED_H 00224