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 ContainerAllocator::template rebind<int8_t>::other >
_data_type;
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
205 stream.next(m.layout);
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)
225 s << indent <<
"layout: ";
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
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
def indent(str, line_prefix=' ')
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the datatype for a message.
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
ByteMultiArray_(const ContainerAllocator &_alloc)
ByteMultiArray_< ContainerAllocator > Type
::std_msgs::MultiArrayLayout_< ContainerAllocator > _layout_type
Stream base-class, provides common functionality for IStream and OStream.
static void allInOne(Stream &stream, T m)
static const char * value(const ::std_msgs::ByteMultiArray_< ContainerAllocator > &)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
std::vector< int8_t, typename ContainerAllocator::template rebind< int8_t >::other > _data_type
Specialize to provide the definition for a message.
static const char * value(const ::std_msgs::ByteMultiArray_< ContainerAllocator > &)
static void stream(Stream &s, const std::string &indent, const ::std_msgs::ByteMultiArray_< ContainerAllocator > &v)
boost::shared_ptr< ::std_msgs::ByteMultiArray_< ContainerAllocator > const > ConstPtr
static const char * value()
static const char * value(const ::std_msgs::ByteMultiArray_< ContainerAllocator > &)
boost::shared_ptr< ::std_msgs::ByteMultiArray_< ContainerAllocator > > Ptr
boost::shared_ptr< ::std_msgs::ByteMultiArray const > ByteMultiArrayConstPtr
static const char * value()
boost::shared_ptr< ::std_msgs::ByteMultiArray > ByteMultiArrayPtr
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value()
::std_msgs::ByteMultiArray_< std::allocator< void > > ByteMultiArray