Int64MultiArray.h
Go to the documentation of this file.
1 // Generated by gencpp from file std_msgs/Int64MultiArray.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef STD_MSGS_MESSAGE_INT64MULTIARRAY_H
6 #define STD_MSGS_MESSAGE_INT64MULTIARRAY_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 
13 #include <ros/types.h>
14 #include <ros/serialization.h>
16 #include <ros/message_operations.h>
17 
19 
20 namespace std_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : layout()
29  , data() {
30  }
31  Int64MultiArray_(const ContainerAllocator& _alloc)
32  : layout(_alloc)
33  , data(_alloc) {
34  (void)_alloc;
35  }
36 
37 
38 
39  typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
40  _layout_type layout;
41 
42  typedef std::vector<int64_t, typename ContainerAllocator::template rebind<int64_t>::other > _data_type;
43  _data_type data;
44 
45 
46 
47 
50 
51 }; // struct Int64MultiArray_
52 
53 typedef ::std_msgs::Int64MultiArray_<std::allocator<void> > Int64MultiArray;
54 
57 
58 // constants requiring out of line definition
59 
60 
61 
62 template<typename ContainerAllocator>
63 std::ostream& operator<<(std::ostream& s, const ::std_msgs::Int64MultiArray_<ContainerAllocator> & v)
64 {
66 return s;
67 }
68 
69 } // namespace std_msgs
70 
71 namespace rs2rosinternal
72 {
73 namespace message_traits
74 {
75 
76 
77 
78 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
79 // {'std_msgs': ['/tmp/binarydeb/ros-kinetic-std-msgs-0.5.10/msg']}
80 
81 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
82 
83 
84 
85 
86 template <class ContainerAllocator>
87 struct IsFixedSize< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
88  : FalseType
89  { };
90 
91 template <class ContainerAllocator>
92 struct IsFixedSize< ::std_msgs::Int64MultiArray_<ContainerAllocator> const>
93  : FalseType
94  { };
95 
96 template <class ContainerAllocator>
97 struct IsMessage< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
98  : TrueType
99  { };
100 
101 template <class ContainerAllocator>
102 struct IsMessage< ::std_msgs::Int64MultiArray_<ContainerAllocator> const>
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct HasHeader< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
108  : FalseType
109  { };
110 
111 template <class ContainerAllocator>
112 struct HasHeader< ::std_msgs::Int64MultiArray_<ContainerAllocator> const>
113  : FalseType
114  { };
115 
116 
117 template<class ContainerAllocator>
118 struct MD5Sum< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
119 {
120  static const char* value()
121  {
122  return "54865aa6c65be0448113a2afc6a49270";
123  }
124 
125  static const char* value(const ::std_msgs::Int64MultiArray_<ContainerAllocator>&) { return value(); }
126  static const uint64_t static_value1 = 0x54865aa6c65be044ULL;
127  static const uint64_t static_value2 = 0x8113a2afc6a49270ULL;
128 };
129 
130 template<class ContainerAllocator>
131 struct DataType< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
132 {
133  static const char* value()
134  {
135  return "std_msgs/Int64MultiArray";
136  }
137 
138  static const char* value(const ::std_msgs::Int64MultiArray_<ContainerAllocator>&) { return value(); }
139 };
140 
141 template<class ContainerAllocator>
142 struct Definition< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
143 {
144  static const char* value()
145  {
146  return "# Please look at the MultiArrayLayout message definition for\n\
147 # documentation on all multiarrays.\n\
148 \n\
149 MultiArrayLayout layout # specification of data layout\n\
150 int64[] data # array of data\n\
151 \n\
152 \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\
157 # to inner most.\n\
158 \n\
159 MultiArrayDimension[] dim # Array of dimension properties\n\
160 uint32 data_offset # padding elements at front of data\n\
161 \n\
162 # Accessors should ALWAYS be written in terms of dimension stride\n\
163 # and specified outer-most dimension first.\n\
164 # \n\
165 # multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n\
166 #\n\
167 # A standard, 3-channel 640x480 image with interleaved color channels\n\
168 # would be specified as:\n\
169 #\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\
177 # dim[2].size = 3\n\
178 # dim[2].stride = 3\n\
179 #\n\
180 # multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n\
181 \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\
187 ";
188  }
189 
190  static const char* value(const ::std_msgs::Int64MultiArray_<ContainerAllocator>&) { return value(); }
191 };
192 
193 } // namespace message_traits
194 } // namespace rs2rosinternal
195 
196 namespace rs2rosinternal
197 {
198 namespace serialization
199 {
200 
201  template<class ContainerAllocator> struct Serializer< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
202  {
203  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
204  {
205  stream.next(m.layout);
206  stream.next(m.data);
207  }
208 
210  }; // struct Int64MultiArray_
211 
212 } // namespace serialization
213 } // namespace rs2rosinternal
214 
215 namespace rs2rosinternal
216 {
217 namespace message_operations
218 {
219 
220 template<class ContainerAllocator>
221 struct Printer< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
222 {
223  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Int64MultiArray_<ContainerAllocator>& v)
224  {
225  s << indent << "layout: ";
226  s << std::endl;
228  s << indent << "data[]" << std::endl;
229  for (size_t i = 0; i < v.data.size(); ++i)
230  {
231  s << indent << " data[" << i << "]: ";
232  Printer<int64_t>::stream(s, indent + " ", v.data[i]);
233  }
234  }
235 };
236 
237 } // namespace message_operations
238 } // namespace rs2rosinternal
239 
240 #endif // STD_MSGS_MESSAGE_INT64MULTIARRAY_H
boost::shared_ptr< ::std_msgs::Int64MultiArray const > Int64MultiArrayConstPtr
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
static void stream(Stream &s, const std::string &indent, const ::std_msgs::Int64MultiArray_< ContainerAllocator > &v)
static const char * value(const ::std_msgs::Int64MultiArray_< ContainerAllocator > &)
Int64MultiArray_< ContainerAllocator > Type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static const char * value(const ::std_msgs::Int64MultiArray_< ContainerAllocator > &)
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
GLuint GLuint stream
Definition: glext.h:1790
boost::shared_ptr< ::std_msgs::Int64MultiArray_< ContainerAllocator > > Ptr
boost::shared_ptr< ::std_msgs::Int64MultiArray > Int64MultiArrayPtr
Int64MultiArray_(const ContainerAllocator &_alloc)
::std_msgs::MultiArrayLayout_< ContainerAllocator > _layout_type
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.
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: Bool.h:19
unsigned __int64 uint64_t
Definition: stdint.h:90
Specialize to provide the definition for a message.
static const char * value(const ::std_msgs::Int64MultiArray_< ContainerAllocator > &)
boost::shared_ptr< ::std_msgs::Int64MultiArray_< ContainerAllocator > const > ConstPtr
int i
Templated serialization class. Default implementation provides backwards compatibility with old messa...
::std_msgs::Int64MultiArray_< std::allocator< void > > Int64MultiArray
std::vector< int64_t, typename ContainerAllocator::template rebind< int64_t >::other > _data_type
GLdouble v
Definition: parser.hpp:150


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:17