$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-object_manipulation/doc_stacks/2013-03-01_16-13-18.345538/object_manipulation/compressed_pointcloud_transport/msg/CompressedPointCloud.msg */ 00002 #ifndef COMPRESSED_POINTCLOUD_TRANSPORT_MESSAGE_COMPRESSEDPOINTCLOUD_H 00003 #define COMPRESSED_POINTCLOUD_TRANSPORT_MESSAGE_COMPRESSEDPOINTCLOUD_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 00019 namespace compressed_pointcloud_transport 00020 { 00021 template <class ContainerAllocator> 00022 struct CompressedPointCloud_ { 00023 typedef CompressedPointCloud_<ContainerAllocator> Type; 00024 00025 CompressedPointCloud_() 00026 : header() 00027 , data() 00028 { 00029 } 00030 00031 CompressedPointCloud_(const ContainerAllocator& _alloc) 00032 : header(_alloc) 00033 , data(_alloc) 00034 { 00035 } 00036 00037 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00038 ::std_msgs::Header_<ContainerAllocator> header; 00039 00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _data_type; 00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > data; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "compressed_pointcloud_transport/CompressedPointCloud"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "c99a9440709e4d4a9716d55b8270d5e7"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "Header header\n\ 00060 string data\n\ 00061 \n\ 00062 \n\ 00063 ================================================================================\n\ 00064 MSG: std_msgs/Header\n\ 00065 # Standard metadata for higher-level stamped data types.\n\ 00066 # This is generally used to communicate timestamped data \n\ 00067 # in a particular coordinate frame.\n\ 00068 # \n\ 00069 # sequence ID: consecutively increasing ID \n\ 00070 uint32 seq\n\ 00071 #Two-integer timestamp that is expressed as:\n\ 00072 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00073 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00074 # time-handling sugar is provided by the client library\n\ 00075 time stamp\n\ 00076 #Frame this data is associated with\n\ 00077 # 0: no frame\n\ 00078 # 1: global frame\n\ 00079 string frame_id\n\ 00080 \n\ 00081 "; } 00082 public: 00083 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00084 00085 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00086 00087 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00088 { 00089 ros::serialization::OStream stream(write_ptr, 1000000000); 00090 ros::serialization::serialize(stream, header); 00091 ros::serialization::serialize(stream, data); 00092 return stream.getData(); 00093 } 00094 00095 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00096 { 00097 ros::serialization::IStream stream(read_ptr, 1000000000); 00098 ros::serialization::deserialize(stream, header); 00099 ros::serialization::deserialize(stream, data); 00100 return stream.getData(); 00101 } 00102 00103 ROS_DEPRECATED virtual uint32_t serializationLength() const 00104 { 00105 uint32_t size = 0; 00106 size += ros::serialization::serializationLength(header); 00107 size += ros::serialization::serializationLength(data); 00108 return size; 00109 } 00110 00111 typedef boost::shared_ptr< ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> > Ptr; 00112 typedef boost::shared_ptr< ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> const> ConstPtr; 00113 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00114 }; // struct CompressedPointCloud 00115 typedef ::compressed_pointcloud_transport::CompressedPointCloud_<std::allocator<void> > CompressedPointCloud; 00116 00117 typedef boost::shared_ptr< ::compressed_pointcloud_transport::CompressedPointCloud> CompressedPointCloudPtr; 00118 typedef boost::shared_ptr< ::compressed_pointcloud_transport::CompressedPointCloud const> CompressedPointCloudConstPtr; 00119 00120 00121 template<typename ContainerAllocator> 00122 std::ostream& operator<<(std::ostream& s, const ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> & v) 00123 { 00124 ros::message_operations::Printer< ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> >::stream(s, "", v); 00125 return s;} 00126 00127 } // namespace compressed_pointcloud_transport 00128 00129 namespace ros 00130 { 00131 namespace message_traits 00132 { 00133 template<class ContainerAllocator> struct IsMessage< ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> > : public TrueType {}; 00134 template<class ContainerAllocator> struct IsMessage< ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> const> : public TrueType {}; 00135 template<class ContainerAllocator> 00136 struct MD5Sum< ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> > { 00137 static const char* value() 00138 { 00139 return "c99a9440709e4d4a9716d55b8270d5e7"; 00140 } 00141 00142 static const char* value(const ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> &) { return value(); } 00143 static const uint64_t static_value1 = 0xc99a9440709e4d4aULL; 00144 static const uint64_t static_value2 = 0x9716d55b8270d5e7ULL; 00145 }; 00146 00147 template<class ContainerAllocator> 00148 struct DataType< ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> > { 00149 static const char* value() 00150 { 00151 return "compressed_pointcloud_transport/CompressedPointCloud"; 00152 } 00153 00154 static const char* value(const ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> &) { return value(); } 00155 }; 00156 00157 template<class ContainerAllocator> 00158 struct Definition< ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> > { 00159 static const char* value() 00160 { 00161 return "Header header\n\ 00162 string data\n\ 00163 \n\ 00164 \n\ 00165 ================================================================================\n\ 00166 MSG: std_msgs/Header\n\ 00167 # Standard metadata for higher-level stamped data types.\n\ 00168 # This is generally used to communicate timestamped data \n\ 00169 # in a particular coordinate frame.\n\ 00170 # \n\ 00171 # sequence ID: consecutively increasing ID \n\ 00172 uint32 seq\n\ 00173 #Two-integer timestamp that is expressed as:\n\ 00174 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00175 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00176 # time-handling sugar is provided by the client library\n\ 00177 time stamp\n\ 00178 #Frame this data is associated with\n\ 00179 # 0: no frame\n\ 00180 # 1: global frame\n\ 00181 string frame_id\n\ 00182 \n\ 00183 "; 00184 } 00185 00186 static const char* value(const ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> &) { return value(); } 00187 }; 00188 00189 template<class ContainerAllocator> struct HasHeader< ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> > : public TrueType {}; 00190 template<class ContainerAllocator> struct HasHeader< const ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> > : public TrueType {}; 00191 } // namespace message_traits 00192 } // namespace ros 00193 00194 namespace ros 00195 { 00196 namespace serialization 00197 { 00198 00199 template<class ContainerAllocator> struct Serializer< ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> > 00200 { 00201 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00202 { 00203 stream.next(m.header); 00204 stream.next(m.data); 00205 } 00206 00207 ROS_DECLARE_ALLINONE_SERIALIZER; 00208 }; // struct CompressedPointCloud_ 00209 } // namespace serialization 00210 } // namespace ros 00211 00212 namespace ros 00213 { 00214 namespace message_operations 00215 { 00216 00217 template<class ContainerAllocator> 00218 struct Printer< ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> > 00219 { 00220 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::compressed_pointcloud_transport::CompressedPointCloud_<ContainerAllocator> & v) 00221 { 00222 s << indent << "header: "; 00223 s << std::endl; 00224 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00225 s << indent << "data: "; 00226 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.data); 00227 } 00228 }; 00229 00230 00231 } // namespace message_operations 00232 } // namespace ros 00233 00234 #endif // COMPRESSED_POINTCLOUD_TRANSPORT_MESSAGE_COMPRESSEDPOINTCLOUD_H 00235