5 #ifndef STD_MSGS_MESSAGE_INT32MULTIARRAY_H 6 #define STD_MSGS_MESSAGE_INT32MULTIARRAY_H 22 template <
class ContainerAllocator>
39 typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator>
_layout_type;
42 typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >
_data_type;
62 template<
typename ContainerAllocator>
63 std::ostream& operator<<(std::ostream& s, const ::std_msgs::Int32MultiArray_<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 "1d99f79f8b325b44fee908053e9c945b";
125 static const char*
value(const ::std_msgs::Int32MultiArray_<ContainerAllocator>&) {
return value(); }
126 static const uint64_t static_value1 = 0x1d99f79f8b325b44ULL;
127 static const uint64_t static_value2 = 0xfee908053e9c945bULL;
130 template<
class ContainerAllocator>
135 return "std_msgs/Int32MultiArray";
138 static const char*
value(const ::std_msgs::Int32MultiArray_<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 int32[] 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::Int32MultiArray_<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::Int32MultiArray_<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_INT32MULTIARRAY_H
static void allInOne(Stream &stream, T m)
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.
static const char * value()
boost::shared_ptr< ::std_msgs::Int32MultiArray_< ContainerAllocator > > Ptr
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
boost::shared_ptr< ::std_msgs::Int32MultiArray const > Int32MultiArrayConstPtr
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
static const char * value()
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Stream base-class, provides common functionality for IStream and OStream.
boost::shared_ptr< ::std_msgs::Int32MultiArray > Int32MultiArrayPtr
static const char * value(const ::std_msgs::Int32MultiArray_< ContainerAllocator > &)
Int32MultiArray_< ContainerAllocator > Type
#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.
static const char * value(const ::std_msgs::Int32MultiArray_< ContainerAllocator > &)
::std_msgs::MultiArrayLayout_< ContainerAllocator > _layout_type
Templated serialization class. Default implementation provides backwards compatibility with old messa...
boost::shared_ptr< ::std_msgs::Int32MultiArray_< ContainerAllocator > const > ConstPtr
Int32MultiArray_(const ContainerAllocator &_alloc)
::std_msgs::Int32MultiArray_< std::allocator< void > > Int32MultiArray
static const char * value()
std::vector< int32_t, typename ContainerAllocator::template rebind< int32_t >::other > _data_type
static void stream(Stream &s, const std::string &indent, const ::std_msgs::Int32MultiArray_< ContainerAllocator > &v)
static const char * value(const ::std_msgs::Int32MultiArray_< ContainerAllocator > &)