Go to the documentation of this file.
6 #ifndef SENSOR_MSGS_MESSAGE_COMPRESSEDIMAGE_H
7 #define SENSOR_MSGS_MESSAGE_COMPRESSEDIMAGE_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
23 template <
class ContainerAllocator>
45 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_format_type;
48 typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >
_data_type;
54 typedef std::shared_ptr< ::sensor_msgs::CompressedImage_<ContainerAllocator> >
Ptr;
55 typedef std::shared_ptr< ::sensor_msgs::CompressedImage_<ContainerAllocator>
const>
ConstPtr;
68 template<
typename ContainerAllocator>
69 std::ostream&
operator<<(std::ostream& s, const ::sensor_msgs::CompressedImage_<ContainerAllocator> & v)
79 namespace message_traits
92 template <
class ContainerAllocator>
97 template <
class ContainerAllocator>
102 template <
class ContainerAllocator>
107 template <
class ContainerAllocator>
112 template <
class ContainerAllocator>
117 template <
class ContainerAllocator>
123 template<
class ContainerAllocator>
128 return "8f7a12909da2c9d3332d540a0977563f";
131 static const char*
value(const ::sensor_msgs::CompressedImage_<ContainerAllocator>&) {
return value(); }
132 static const uint64_t static_value1 = 0x8f7a12909da2c9d3ULL;
133 static const uint64_t static_value2 = 0x332d540a0977563fULL;
136 template<
class ContainerAllocator>
141 return "sensor_msgs/CompressedImage";
144 static const char*
value(const ::sensor_msgs::CompressedImage_<ContainerAllocator>&) {
return value(); }
147 template<
class ContainerAllocator>
152 return "# This message contains a compressed image\n\
154 Header header # Header timestamp should be acquisition time of image\n\
155 # Header frame_id should be optical frame of camera\n\
156 # origin of frame should be optical center of cameara\n\
157 # +x should point to the right in the image\n\
158 # +y should point down in the image\n\
159 # +z should point into to plane of the image\n\
161 string format # Specifies the format of the data\n\
162 # Acceptable values:\n\
164 uint8[] data # Compressed image buffer\n\
166 ================================================================================\n\
167 MSG: std_msgs/Header\n\
168 # Standard metadata for higher-level stamped data types.\n\
169 # This is generally used to communicate timestamped data \n\
170 # in a particular coordinate frame.\n\
172 # sequence ID: consecutively increasing ID \n\
174 #Two-integer timestamp that is expressed as:\n\
175 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
176 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
177 # time-handling sugar is provided by the client library\n\
179 #Frame this data is associated with\n\
186 static const char*
value(const ::sensor_msgs::CompressedImage_<ContainerAllocator>&) {
return value(); }
194 namespace serialization
199 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
201 stream.next(m.header);
202 stream.next(m.format);
214 namespace message_operations
217 template<
class ContainerAllocator>
220 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sensor_msgs::CompressedImage_<ContainerAllocator>& v)
227 s <<
indent <<
"data[]" << std::endl;
228 for (
size_t i = 0; i < v.data.size(); ++i)
230 s <<
indent <<
" data[" << i <<
"]: ";
239 #endif // SENSOR_MSGS_MESSAGE_COMPRESSEDIMAGE_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::CompressedImage_< ContainerAllocator > &v)
CompressedImage_(const ContainerAllocator &_alloc)
static const char * value(const ::sensor_msgs::CompressedImage_< ContainerAllocator > &)
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value()
static const char * value(const ::sensor_msgs::CompressedImage_< ContainerAllocator > &)
static void stream(Stream &s, const std::string &indent, const M &value)
std::vector< uint8_t, typename ContainerAllocator::template rebind< uint8_t >::other > _data_type
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Specialize to provide the datatype for a message.
Specialize to provide the definition for a message.
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _format_type
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
static const char * value()
::std_msgs::Header_< ContainerAllocator > _header_type
std::shared_ptr< ::sensor_msgs::CompressedImage_< ContainerAllocator > > Ptr
::sensor_msgs::CompressedImage_< std::allocator< void > > CompressedImage
std::shared_ptr< ::sensor_msgs::CompressedImage const > CompressedImageConstPtr
CompressedImage_< ContainerAllocator > Type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
std::shared_ptr< ::sensor_msgs::CompressedImage > CompressedImagePtr
Stream base-class, provides common functionality for IStream and OStream.
static const char * value()
std::shared_ptr< ::sensor_msgs::CompressedImage_< ContainerAllocator > const > ConstPtr
static const char * value(const ::sensor_msgs::CompressedImage_< ContainerAllocator > &)
Tools for manipulating sensor_msgs.
static void allInOne(Stream &stream, T m)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08