5 #ifndef CONSOLE_MESSAGE_SERIAL_DATA_H 6 #define CONSOLE_MESSAGE_SERIAL_DATA_H 13 #include <ros/types.h> 14 #include <ros/serialization.h> 15 #include <ros/builtin_message_traits.h> 16 #include <ros/message_operations.h> 21 template <
class ContainerAllocator>
36 typedef std::vector<int64_t, typename ContainerAllocator::template rebind<int64_t>::other > _data_type;
42 typedef boost::shared_ptr< ::console::serial_data_<ContainerAllocator> > Ptr;
43 typedef boost::shared_ptr< ::console::serial_data_<ContainerAllocator>
const> ConstPtr;
47 typedef ::console::serial_data_<std::allocator<void> >
serial_data;
49 typedef boost::shared_ptr< ::console::serial_data > serial_dataPtr;
50 typedef boost::shared_ptr< ::console::serial_data const> serial_dataConstPtr;
56 template<
typename ContainerAllocator>
57 std::ostream& operator<<(std::ostream& s, const ::console::serial_data_<ContainerAllocator> & v)
59 ros::message_operations::Printer< ::console::serial_data_<ContainerAllocator> >::stream(s,
"", v);
67 namespace message_traits
80 template <
class ContainerAllocator>
85 template <
class ContainerAllocator>
90 template <
class ContainerAllocator>
95 template <
class ContainerAllocator>
100 template <
class ContainerAllocator>
105 template <
class ContainerAllocator>
111 template<
class ContainerAllocator>
114 static const char* value()
116 return "79cd2e4a60f8fd7afcb0476d2ea77fdc";
119 static const char* value(const ::console::serial_data_<ContainerAllocator>&) {
return value(); }
120 static const uint64_t static_value1 = 0x79cd2e4a60f8fd7aULL;
121 static const uint64_t static_value2 = 0xfcb0476d2ea77fdcULL;
124 template<
class ContainerAllocator>
127 static const char* value()
129 return "console/serial_data";
132 static const char* value(const ::console::serial_data_<ContainerAllocator>&) {
return value(); }
135 template<
class ContainerAllocator>
138 static const char* value()
140 return "int64[] data\n\ 144 static const char* value(const ::console::serial_data_<ContainerAllocator>&) {
return value(); }
152 namespace serialization
157 template<
typename Stream,
typename T>
inline static void allInOne(Stream& stream, T m)
162 ROS_DECLARE_ALLINONE_SERIALIZER;
170 namespace message_operations
173 template<
class ContainerAllocator>
176 template<
typename Stream>
static void stream(Stream& s,
const std::string& indent, const ::console::serial_data_<ContainerAllocator>& v)
178 s << indent <<
"data[]" << std::endl;
179 for (
size_t i = 0; i < v.data.size(); ++i)
181 s << indent <<
" data[" << i <<
"]: ";
182 Printer<int64_t>::stream(s, indent +
" ", v.data[i]);
190 #endif // CONSOLE_MESSAGE_SERIAL_DATA_H Definition: serial_data.h:22
Definition: AprilTagDetection.h:76
Definition: serial_data.h:19