Go to the documentation of this file.
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 std::allocator_traits< ContainerAllocator >::template rebind_alloc< char > >
_format_type;
47 typedef std::vector<uint8_t, typename std::allocator_traits< ContainerAllocator >::template rebind_alloc< uint8_t > >
_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
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)
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
GLint GLint GLsizei GLint GLenum format
CompressedImage_(const ContainerAllocator &_alloc)
GLsizei const GLchar *const * string
static void allInOne(Stream &stream, T m)
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
static const char * value(const ::sensor_msgs::CompressedImage_< ContainerAllocator > &)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
static const char * value(const ::sensor_msgs::CompressedImage_< ContainerAllocator > &)
std::vector< uint8_t, typename std::allocator_traits< ContainerAllocator >::template rebind_alloc< uint8_t > > _data_type
static const char * value()
static const char * value(const ::sensor_msgs::CompressedImage_< ContainerAllocator > &)
static const char * value()
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
unsigned __int64 uint64_t
::std_msgs::Header_< ContainerAllocator > _header_type
std::shared_ptr< ::sensor_msgs::CompressedImage_< ContainerAllocator > > Ptr
std::basic_string< char, std::char_traits< char >, typename std::allocator_traits< ContainerAllocator >::template rebind_alloc< char > > _format_type
::sensor_msgs::CompressedImage_< std::allocator< void > > CompressedImage
std::shared_ptr< ::sensor_msgs::CompressedImage const > CompressedImageConstPtr
def indent(str, line_prefix=' ')
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::CompressedImage_< ContainerAllocator > &v)
CompressedImage_< ContainerAllocator > Type
Specialize to provide the definition for a message.
static const char * value()
Specialize to provide the md5sum for a message.
std::shared_ptr< ::sensor_msgs::CompressedImage > CompressedImagePtr
Templated serialization class. Default implementation provides backwards compatibility with old messa...
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
static void stream(Stream &s, const std::string &indent, const M &value)
Specialize to provide the datatype for a message.
std::shared_ptr< ::sensor_msgs::CompressedImage_< ContainerAllocator > const > ConstPtr
Stream base-class, provides common functionality for IStream and OStream.
Tools for manipulating sensor_msgs.
librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:01