AutoCar  v1.0.0
serial_data.h
1 // Generated by gencpp from file serial_comm/serial_data.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef SERIAL_COMM_MESSAGE_SERIAL_DATA_H
6 #define SERIAL_COMM_MESSAGE_SERIAL_DATA_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 serial_comm
20 {
21 template <class ContainerAllocator>
23 {
25 
26  serial_data_()
27  : data() {
28  }
29  serial_data_(const ContainerAllocator& _alloc)
30  : data(_alloc) {
31  (void)_alloc;
32  }
33 
34 
35 
36  typedef std::vector<int64_t, typename ContainerAllocator::template rebind<int64_t>::other > _data_type;
37  _data_type data;
38 
39 
40 
41 
42  typedef boost::shared_ptr< ::serial_comm::serial_data_<ContainerAllocator> > Ptr;
43  typedef boost::shared_ptr< ::serial_comm::serial_data_<ContainerAllocator> const> ConstPtr;
44 
45 }; // struct serial_data_
46 
47 typedef ::serial_comm::serial_data_<std::allocator<void> > serial_data;
48 
49 typedef boost::shared_ptr< ::serial_comm::serial_data > serial_dataPtr;
50 typedef boost::shared_ptr< ::serial_comm::serial_data const> serial_dataConstPtr;
51 
52 // constants requiring out of line definition
53 
54 
55 
56 template<typename ContainerAllocator>
57 std::ostream& operator<<(std::ostream& s, const ::serial_comm::serial_data_<ContainerAllocator> & v)
58 {
59 ros::message_operations::Printer< ::serial_comm::serial_data_<ContainerAllocator> >::stream(s, "", v);
60 return s;
61 }
62 
63 } // namespace serial_comm
64 
65 namespace ros
66 {
67 namespace message_traits
68 {
69 
70 
71 
72 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
73 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'serial_comm': ['/home/ubuntu/auto_car/src/serial_comm/msg']}
74 
75 // !!!!!!!!!!! ['__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']
76 
77 
78 
79 
80 template <class ContainerAllocator>
81 struct IsFixedSize< ::serial_comm::serial_data_<ContainerAllocator> >
82  : FalseType
83  { };
84 
85 template <class ContainerAllocator>
86 struct IsFixedSize< ::serial_comm::serial_data_<ContainerAllocator> const>
87  : FalseType
88  { };
89 
90 template <class ContainerAllocator>
91 struct IsMessage< ::serial_comm::serial_data_<ContainerAllocator> >
92  : TrueType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsMessage< ::serial_comm::serial_data_<ContainerAllocator> const>
97  : TrueType
98  { };
99 
100 template <class ContainerAllocator>
101 struct HasHeader< ::serial_comm::serial_data_<ContainerAllocator> >
102  : FalseType
103  { };
104 
105 template <class ContainerAllocator>
106 struct HasHeader< ::serial_comm::serial_data_<ContainerAllocator> const>
107  : FalseType
108  { };
109 
110 
111 template<class ContainerAllocator>
112 struct MD5Sum< ::serial_comm::serial_data_<ContainerAllocator> >
113 {
114  static const char* value()
115  {
116  return "79cd2e4a60f8fd7afcb0476d2ea77fdc";
117  }
118 
119  static const char* value(const ::serial_comm::serial_data_<ContainerAllocator>&) { return value(); }
120  static const uint64_t static_value1 = 0x79cd2e4a60f8fd7aULL;
121  static const uint64_t static_value2 = 0xfcb0476d2ea77fdcULL;
122 };
123 
124 template<class ContainerAllocator>
125 struct DataType< ::serial_comm::serial_data_<ContainerAllocator> >
126 {
127  static const char* value()
128  {
129  return "serial_comm/serial_data";
130  }
131 
132  static const char* value(const ::serial_comm::serial_data_<ContainerAllocator>&) { return value(); }
133 };
134 
135 template<class ContainerAllocator>
136 struct Definition< ::serial_comm::serial_data_<ContainerAllocator> >
137 {
138  static const char* value()
139  {
140  return "int64[] data\n\
141 ";
142  }
143 
144  static const char* value(const ::serial_comm::serial_data_<ContainerAllocator>&) { return value(); }
145 };
146 
147 } // namespace message_traits
148 } // namespace ros
149 
150 namespace ros
151 {
152 namespace serialization
153 {
154 
155  template<class ContainerAllocator> struct Serializer< ::serial_comm::serial_data_<ContainerAllocator> >
156  {
157  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
158  {
159  stream.next(m.data);
160  }
161 
162  ROS_DECLARE_ALLINONE_SERIALIZER;
163  }; // struct serial_data_
164 
165 } // namespace serialization
166 } // namespace ros
167 
168 namespace ros
169 {
170 namespace message_operations
171 {
172 
173 template<class ContainerAllocator>
174 struct Printer< ::serial_comm::serial_data_<ContainerAllocator> >
175 {
176  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::serial_comm::serial_data_<ContainerAllocator>& v)
177  {
178  s << indent << "data[]" << std::endl;
179  for (size_t i = 0; i < v.data.size(); ++i)
180  {
181  s << indent << " data[" << i << "]: ";
182  Printer<int64_t>::stream(s, indent + " ", v.data[i]);
183  }
184  }
185 };
186 
187 } // namespace message_operations
188 } // namespace ros
189 
190 #endif // SERIAL_COMM_MESSAGE_SERIAL_DATA_H
Definition: serial_data.h:22
Definition: AprilTagDetection.h:76
Definition: car_speed.h:19