Go to the documentation of this file.
5 #ifndef STD_MSGS_MESSAGE_BYTEMULTIARRAY_H
6 #define STD_MSGS_MESSAGE_BYTEMULTIARRAY_H
22 template <
class ContainerAllocator>
39 typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator>
_layout_type;
42 typedef std::vector<int8_t, typename std::allocator_traits< ContainerAllocator >::template rebind_alloc< int8_t > >
_data_type;
48 typedef std::shared_ptr< ::std_msgs::ByteMultiArray_<ContainerAllocator> >
Ptr;
49 typedef std::shared_ptr< ::std_msgs::ByteMultiArray_<ContainerAllocator>
const>
ConstPtr;
62 template<
typename ContainerAllocator>
63 std::ostream&
operator<<(std::ostream&
s, const ::std_msgs::ByteMultiArray_<ContainerAllocator> &
v)
73 namespace message_traits
86 template <
class ContainerAllocator>
91 template <
class ContainerAllocator>
96 template <
class ContainerAllocator>
101 template <
class ContainerAllocator>
106 template <
class ContainerAllocator>
111 template <
class ContainerAllocator>
117 template<
class ContainerAllocator>
122 return "70ea476cbcfd65ac2f68f3cda1e891fe";
125 static const char*
value(const ::std_msgs::ByteMultiArray_<ContainerAllocator>&) {
return value(); }
126 static const uint64_t static_value1 = 0x70ea476cbcfd65acULL;
127 static const uint64_t static_value2 = 0x2f68f3cda1e891feULL;
130 template<
class ContainerAllocator>
135 return "std_msgs/ByteMultiArray";
138 static const char*
value(const ::std_msgs::ByteMultiArray_<ContainerAllocator>&) {
return value(); }
141 template<
class ContainerAllocator>
146 return "# Please look at the MultiArrayLayout message definition for\n\
147 # documentation on all multiarrays.\n\
149 MultiArrayLayout layout # specification of data layout\n\
150 byte[] data # array of data\n\
153 ================================================================================\n\
154 MSG: std_msgs/MultiArrayLayout\n\
155 # The multiarray declares a generic multi-dimensional array of a\n\
156 # particular data type. Dimensions are ordered from outer most\n\
159 MultiArrayDimension[] dim # Array of dimension properties\n\
160 uint32 data_offset # padding elements at front of data\n\
162 # Accessors should ALWAYS be written in terms of dimension stride\n\
163 # and specified outer-most dimension first.\n\
165 # multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n\
167 # A standard, 3-channel 640x480 image with interleaved color channels\n\
168 # would be specified as:\n\
170 # dim[0].label = \"height\"\n\
171 # dim[0].size = 480\n\
172 # dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n\
173 # dim[1].label = \"width\"\n\
174 # dim[1].size = 640\n\
175 # dim[1].stride = 3*640 = 1920\n\
176 # dim[2].label = \"channel\"\n\
178 # dim[2].stride = 3\n\
180 # multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n\
182 ================================================================================\n\
183 MSG: std_msgs/MultiArrayDimension\n\
184 string label # label of given dimension\n\
185 uint32 size # size of given dimension (in type units)\n\
186 uint32 stride # stride of given dimension\n\
190 static const char*
value(const ::std_msgs::ByteMultiArray_<ContainerAllocator>&) {
return value(); }
198 namespace serialization
217 namespace message_operations
220 template<
class ContainerAllocator>
223 template<
typename Stream>
static void stream(Stream&
s,
const std::string&
indent, const ::std_msgs::ByteMultiArray_<ContainerAllocator>&
v)
228 s <<
indent <<
"data[]" << std::endl;
229 for (
size_t i = 0;
i <
v.data.size(); ++
i)
231 s <<
indent <<
" data[" <<
i <<
"]: ";
240 #endif // STD_MSGS_MESSAGE_BYTEMULTIARRAY_H
::std_msgs::ByteMultiArray_< std::allocator< void > > ByteMultiArray
static const char * value()
static const char * value()
std::shared_ptr< ::std_msgs::ByteMultiArray_< ContainerAllocator > > Ptr
static const char * value()
std::vector< int8_t, typename std::allocator_traits< ContainerAllocator >::template rebind_alloc< int8_t > > _data_type
GLsizei const GLchar *const * string
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
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 ::std_msgs::ByteMultiArray_< ContainerAllocator > &)
static const char * value(const ::std_msgs::ByteMultiArray_< ContainerAllocator > &)
static void allInOne(Stream &stream, T m)
::std_msgs::MultiArrayLayout_< ContainerAllocator > _layout_type
unsigned __int64 uint64_t
std::shared_ptr< ::std_msgs::ByteMultiArray > ByteMultiArrayPtr
def indent(str, line_prefix=' ')
std::shared_ptr< ::std_msgs::ByteMultiArray const > ByteMultiArrayConstPtr
Specialize to provide the definition for a message.
Specialize to provide the md5sum for a message.
static const char * value(const ::std_msgs::ByteMultiArray_< ContainerAllocator > &)
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...
ByteMultiArray_(const ContainerAllocator &_alloc)
std::shared_ptr< ::std_msgs::ByteMultiArray_< ContainerAllocator > const > ConstPtr
static void stream(Stream &s, const std::string &indent, const M &value)
Specialize to provide the datatype for a message.
std::ostream & operator<<(std::ostream &s, const ::std_msgs::Bool_< ContainerAllocator > &v)
Stream base-class, provides common functionality for IStream and OStream.
ByteMultiArray_< ContainerAllocator > Type
static void stream(Stream &s, const std::string &indent, const ::std_msgs::ByteMultiArray_< ContainerAllocator > &v)
librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:01