5 #ifndef SENSOR_MSGS_MESSAGE_COMPRESSEDIMAGE_H 6 #define SENSOR_MSGS_MESSAGE_COMPRESSEDIMAGE_H 22 template <
class ContainerAllocator>
44 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_format_type;
47 typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >
_data_type;
53 typedef std::shared_ptr< ::sensor_msgs::CompressedImage_<ContainerAllocator> >
Ptr;
54 typedef std::shared_ptr< ::sensor_msgs::CompressedImage_<ContainerAllocator>
const>
ConstPtr;
67 template<
typename ContainerAllocator>
68 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::CompressedImage_<ContainerAllocator> &
v)
78 namespace message_traits
91 template <
class ContainerAllocator>
96 template <
class ContainerAllocator>
101 template <
class ContainerAllocator>
106 template <
class ContainerAllocator>
111 template <
class ContainerAllocator>
116 template <
class ContainerAllocator>
122 template<
class ContainerAllocator>
127 return "8f7a12909da2c9d3332d540a0977563f";
130 static const char*
value(const ::sensor_msgs::CompressedImage_<ContainerAllocator>&) {
return value(); }
131 static const uint64_t static_value1 = 0x8f7a12909da2c9d3ULL;
132 static const uint64_t static_value2 = 0x332d540a0977563fULL;
135 template<
class ContainerAllocator>
140 return "sensor_msgs/CompressedImage";
143 static const char*
value(const ::sensor_msgs::CompressedImage_<ContainerAllocator>&) {
return value(); }
146 template<
class ContainerAllocator>
151 return "# This message contains a compressed image\n\ 153 Header header # Header timestamp should be acquisition time of image\n\ 154 # Header frame_id should be optical frame of camera\n\ 155 # origin of frame should be optical center of cameara\n\ 156 # +x should point to the right in the image\n\ 157 # +y should point down in the image\n\ 158 # +z should point into to plane of the image\n\ 160 string format # Specifies the format of the data\n\ 161 # Acceptable values:\n\ 163 uint8[] data # Compressed image buffer\n\ 165 ================================================================================\n\ 166 MSG: std_msgs/Header\n\ 167 # Standard metadata for higher-level stamped data types.\n\ 168 # This is generally used to communicate timestamped data \n\ 169 # in a particular coordinate frame.\n\ 171 # sequence ID: consecutively increasing ID \n\ 173 #Two-integer timestamp that is expressed as:\n\ 174 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\ 175 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\ 176 # time-handling sugar is provided by the client library\n\ 178 #Frame this data is associated with\n\ 185 static const char*
value(const ::sensor_msgs::CompressedImage_<ContainerAllocator>&) {
return value(); }
193 namespace serialization
200 stream.next(m.header);
201 stream.next(m.format);
213 namespace message_operations
216 template<
class ContainerAllocator>
219 template<
typename Stream>
static void stream(Stream&
s,
const std::string& indent, const ::sensor_msgs::CompressedImage_<ContainerAllocator>&
v)
221 s << indent <<
"header: ";
224 s << indent <<
"format: ";
226 s << indent <<
"data[]" << std::endl;
227 for (
size_t i = 0;
i < v.data.size(); ++
i)
229 s << indent <<
" data[" <<
i <<
"]: ";
238 #endif // SENSOR_MSGS_MESSAGE_COMPRESSEDIMAGE_H
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
std::vector< uint8_t, typename ContainerAllocator::template rebind< uint8_t >::other > _data_type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
CompressedImage_(const ContainerAllocator &_alloc)
Specialize to provide the md5sum for a message.
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static const char * value(const ::sensor_msgs::CompressedImage_< ContainerAllocator > &)
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
std::shared_ptr< ::sensor_msgs::CompressedImage > CompressedImagePtr
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _format_type
::std_msgs::Header_< ContainerAllocator > _header_type
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
std::shared_ptr< ::sensor_msgs::CompressedImage const > CompressedImageConstPtr
std::shared_ptr< ::sensor_msgs::CompressedImage_< ContainerAllocator > > Ptr
static const char * value(const ::sensor_msgs::CompressedImage_< ContainerAllocator > &)
Stream base-class, provides common functionality for IStream and OStream.
Tools for manipulating sensor_msgs.
GLint GLint GLsizei GLint GLenum format
static const char * value()
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Specialize to provide the definition for a message.
CompressedImage_< ContainerAllocator > Type
static const char * value(const ::sensor_msgs::CompressedImage_< ContainerAllocator > &)
static const char * value()
static const char * value()
static void allInOne(Stream &stream, T m)
::sensor_msgs::CompressedImage_< std::allocator< void > > CompressedImage
Templated serialization class. Default implementation provides backwards compatibility with old messa...
std::shared_ptr< ::sensor_msgs::CompressedImage_< ContainerAllocator > const > ConstPtr
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::CompressedImage_< ContainerAllocator > &v)