1 |
|
|
// Generated by gencpp from file dynamic_graph_manager/Matrix.msg |
2 |
|
|
// DO NOT EDIT! |
3 |
|
|
|
4 |
|
|
|
5 |
|
|
#ifndef DYNAMIC_GRAPH_MANAGER_MESSAGE_MATRIX_H |
6 |
|
|
#define DYNAMIC_GRAPH_MANAGER_MESSAGE_MATRIX_H |
7 |
|
|
|
8 |
|
|
|
9 |
|
|
#include <string> |
10 |
|
|
#include <vector> |
11 |
|
|
#include <map> |
12 |
|
|
|
13 |
|
|
#include <ros/types.h> |
14 |
|
|
#include <ros/serialization.h> |
15 |
|
|
#include <ros/builtin_message_traits.h> |
16 |
|
|
#include <ros/message_operations.h> |
17 |
|
|
|
18 |
|
|
|
19 |
|
|
namespace dynamic_graph_manager |
20 |
|
|
{ |
21 |
|
|
template <class ContainerAllocator> |
22 |
|
|
struct Matrix_ |
23 |
|
|
{ |
24 |
|
|
typedef Matrix_<ContainerAllocator> Type; |
25 |
|
|
|
26 |
|
|
Matrix_() |
27 |
|
|
: data() |
28 |
|
|
, width(0) { |
29 |
|
|
} |
30 |
|
|
Matrix_(const ContainerAllocator& _alloc) |
31 |
|
|
: data(_alloc) |
32 |
|
|
, width(0) { |
33 |
|
|
(void)_alloc; |
34 |
|
|
} |
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _data_type; |
39 |
|
|
_data_type data; |
40 |
|
|
|
41 |
|
|
typedef uint32_t _width_type; |
42 |
|
|
_width_type width; |
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
typedef boost::shared_ptr< ::dynamic_graph_manager::Matrix_<ContainerAllocator> > Ptr; |
49 |
|
|
typedef boost::shared_ptr< ::dynamic_graph_manager::Matrix_<ContainerAllocator> const> ConstPtr; |
50 |
|
|
|
51 |
|
|
}; // struct Matrix_ |
52 |
|
|
|
53 |
|
|
typedef ::dynamic_graph_manager::Matrix_<std::allocator<void> > Matrix; |
54 |
|
|
|
55 |
|
|
typedef boost::shared_ptr< ::dynamic_graph_manager::Matrix > MatrixPtr; |
56 |
|
|
typedef boost::shared_ptr< ::dynamic_graph_manager::Matrix const> MatrixConstPtr; |
57 |
|
|
|
58 |
|
|
// constants requiring out of line definition |
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
template<typename ContainerAllocator> |
63 |
|
|
std::ostream& operator<<(std::ostream& s, const ::dynamic_graph_manager::Matrix_<ContainerAllocator> & v) |
64 |
|
|
{ |
65 |
|
|
ros::message_operations::Printer< ::dynamic_graph_manager::Matrix_<ContainerAllocator> >::stream(s, "", v); |
66 |
|
|
return s; |
67 |
|
|
} |
68 |
|
|
|
69 |
|
|
} // namespace dynamic_graph_manager |
70 |
|
|
|
71 |
|
|
namespace ros |
72 |
|
|
{ |
73 |
|
|
namespace message_traits |
74 |
|
|
{ |
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
// BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False} |
79 |
|
|
// {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'dynamic_graph_manager': ['/workspace/software/workspace/src/catkin/dg_control/dynamic_graph_manager/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< ::dynamic_graph_manager::Matrix_<ContainerAllocator> > |
88 |
|
|
: FalseType |
89 |
|
|
{ }; |
90 |
|
|
|
91 |
|
|
template <class ContainerAllocator> |
92 |
|
|
struct IsFixedSize< ::dynamic_graph_manager::Matrix_<ContainerAllocator> const> |
93 |
|
|
: FalseType |
94 |
|
|
{ }; |
95 |
|
|
|
96 |
|
|
template <class ContainerAllocator> |
97 |
|
|
struct IsMessage< ::dynamic_graph_manager::Matrix_<ContainerAllocator> > |
98 |
|
|
: TrueType |
99 |
|
|
{ }; |
100 |
|
|
|
101 |
|
|
template <class ContainerAllocator> |
102 |
|
|
struct IsMessage< ::dynamic_graph_manager::Matrix_<ContainerAllocator> const> |
103 |
|
|
: TrueType |
104 |
|
|
{ }; |
105 |
|
|
|
106 |
|
|
template <class ContainerAllocator> |
107 |
|
|
struct HasHeader< ::dynamic_graph_manager::Matrix_<ContainerAllocator> > |
108 |
|
|
: FalseType |
109 |
|
|
{ }; |
110 |
|
|
|
111 |
|
|
template <class ContainerAllocator> |
112 |
|
|
struct HasHeader< ::dynamic_graph_manager::Matrix_<ContainerAllocator> const> |
113 |
|
|
: FalseType |
114 |
|
|
{ }; |
115 |
|
|
|
116 |
|
|
|
117 |
|
|
template<class ContainerAllocator> |
118 |
|
|
struct MD5Sum< ::dynamic_graph_manager::Matrix_<ContainerAllocator> > |
119 |
|
|
{ |
120 |
|
|
static const char* value() |
121 |
|
|
{ |
122 |
|
|
return "c1af738e762017d68e8c4668d731cf90"; |
123 |
|
|
} |
124 |
|
|
|
125 |
|
|
static const char* value(const ::dynamic_graph_manager::Matrix_<ContainerAllocator>&) { return value(); } |
126 |
|
|
static const uint64_t static_value1 = 0xc1af738e762017d6ULL; |
127 |
|
|
static const uint64_t static_value2 = 0x8e8c4668d731cf90ULL; |
128 |
|
|
}; |
129 |
|
|
|
130 |
|
|
template<class ContainerAllocator> |
131 |
|
|
struct DataType< ::dynamic_graph_manager::Matrix_<ContainerAllocator> > |
132 |
|
|
{ |
133 |
|
|
static const char* value() |
134 |
|
|
{ |
135 |
|
|
return "dynamic_graph_manager/Matrix"; |
136 |
|
|
} |
137 |
|
|
|
138 |
|
|
static const char* value(const ::dynamic_graph_manager::Matrix_<ContainerAllocator>&) { return value(); } |
139 |
|
|
}; |
140 |
|
|
|
141 |
|
|
template<class ContainerAllocator> |
142 |
|
|
struct Definition< ::dynamic_graph_manager::Matrix_<ContainerAllocator> > |
143 |
|
|
{ |
144 |
|
|
static const char* value() |
145 |
|
|
{ |
146 |
|
|
return "float64[] data\n\ |
147 |
|
|
uint32 width\n\ |
148 |
|
|
"; |
149 |
|
|
} |
150 |
|
|
|
151 |
|
|
static const char* value(const ::dynamic_graph_manager::Matrix_<ContainerAllocator>&) { return value(); } |
152 |
|
|
}; |
153 |
|
|
|
154 |
|
|
} // namespace message_traits |
155 |
|
|
} // namespace ros |
156 |
|
|
|
157 |
|
|
namespace ros |
158 |
|
|
{ |
159 |
|
|
namespace serialization |
160 |
|
|
{ |
161 |
|
|
|
162 |
|
|
template<class ContainerAllocator> struct Serializer< ::dynamic_graph_manager::Matrix_<ContainerAllocator> > |
163 |
|
|
{ |
164 |
|
|
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) |
165 |
|
|
{ |
166 |
|
|
stream.next(m.data); |
167 |
|
|
stream.next(m.width); |
168 |
|
|
} |
169 |
|
|
|
170 |
|
|
ROS_DECLARE_ALLINONE_SERIALIZER |
171 |
|
|
}; // struct Matrix_ |
172 |
|
|
|
173 |
|
|
} // namespace serialization |
174 |
|
|
} // namespace ros |
175 |
|
|
|
176 |
|
|
namespace ros |
177 |
|
|
{ |
178 |
|
|
namespace message_operations |
179 |
|
|
{ |
180 |
|
|
|
181 |
|
|
template<class ContainerAllocator> |
182 |
|
|
struct Printer< ::dynamic_graph_manager::Matrix_<ContainerAllocator> > |
183 |
|
|
{ |
184 |
|
|
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::dynamic_graph_manager::Matrix_<ContainerAllocator>& v) |
185 |
|
|
{ |
186 |
|
|
s << indent << "data[]" << std::endl; |
187 |
|
|
for (size_t i = 0; i < v.data.size(); ++i) |
188 |
|
|
{ |
189 |
|
|
s << indent << " data[" << i << "]: "; |
190 |
|
|
Printer<double>::stream(s, indent + " ", v.data[i]); |
191 |
|
|
} |
192 |
|
|
s << indent << "width: "; |
193 |
|
|
Printer<uint32_t>::stream(s, indent + " ", v.width); |
194 |
|
|
} |
195 |
|
|
}; |
196 |
|
|
|
197 |
|
|
} // namespace message_operations |
198 |
|
|
} // namespace ros |
199 |
|
|
|
200 |
|
|
#endif // DYNAMIC_GRAPH_MANAGER_MESSAGE_MATRIX_H |