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