5 #ifndef STD_MSGS_MESSAGE_INT16MULTIARRAY_H 6 #define STD_MSGS_MESSAGE_INT16MULTIARRAY_H 22 template <
class ContainerAllocator>
39 typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator>
_layout_type;
42 typedef std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >
_data_type;
62 template<
typename ContainerAllocator>
63 std::ostream& operator<<(std::ostream& s, const ::std_msgs::Int16MultiArray_<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 "d9338d7f523fcb692fae9d0a0e9f067c";
125 static const char*
value(const ::std_msgs::Int16MultiArray_<ContainerAllocator>&) {
return value(); }
126 static const uint64_t static_value1 = 0xd9338d7f523fcb69ULL;
127 static const uint64_t static_value2 = 0x2fae9d0a0e9f067cULL;
130 template<
class ContainerAllocator>
135 return "std_msgs/Int16MultiArray";
138 static const char*
value(const ::std_msgs::Int16MultiArray_<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 int16[] 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::Int16MultiArray_<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::Int16MultiArray_<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_INT16MULTIARRAY_H
Int16MultiArray_< ContainerAllocator > Type
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.
Int16MultiArray_(const ContainerAllocator &_alloc)
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
static const char * value(const ::std_msgs::Int16MultiArray_< ContainerAllocator > &)
Specialize to provide the datatype for a message.
static const char * value(const ::std_msgs::Int16MultiArray_< ContainerAllocator > &)
boost::shared_ptr< ::std_msgs::Int16MultiArray > Int16MultiArrayPtr
static const char * value()
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
std::vector< int16_t, typename ContainerAllocator::template rebind< int16_t >::other > _data_type
Stream base-class, provides common functionality for IStream and OStream.
static const char * value()
static void stream(Stream &s, const std::string &indent, const ::std_msgs::Int16MultiArray_< ContainerAllocator > &v)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
static void allInOne(Stream &stream, T m)
unsigned __int64 uint64_t
Specialize to provide the definition for a message.
static const char * value()
::std_msgs::MultiArrayLayout_< ContainerAllocator > _layout_type
::std_msgs::Int16MultiArray_< std::allocator< void > > Int16MultiArray
static const char * value(const ::std_msgs::Int16MultiArray_< ContainerAllocator > &)
boost::shared_ptr< ::std_msgs::Int16MultiArray_< ContainerAllocator > > Ptr
boost::shared_ptr< ::std_msgs::Int16MultiArray const > Int16MultiArrayConstPtr
boost::shared_ptr< ::std_msgs::Int16MultiArray_< ContainerAllocator > const > ConstPtr
Templated serialization class. Default implementation provides backwards compatibility with old messa...