This commit is contained in:
Ivan
2022-04-05 11:42:28 +03:00
commit 6dc0eb0fcf
5565 changed files with 1200500 additions and 0 deletions

195
thirdparty/ros/include/std_msgs/Bool.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/Bool.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_BOOL_H
#define STD_MSGS_MESSAGE_BOOL_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Bool_
{
typedef Bool_<ContainerAllocator> Type;
Bool_()
: data(false) {
}
Bool_(const ContainerAllocator& _alloc)
: data(false) {
(void)_alloc;
}
typedef uint8_t _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Bool_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Bool_<ContainerAllocator> const> ConstPtr;
}; // struct Bool_
typedef ::std_msgs::Bool_<std::allocator<void> > Bool;
typedef boost::shared_ptr< ::std_msgs::Bool > BoolPtr;
typedef boost::shared_ptr< ::std_msgs::Bool const> BoolConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Bool_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Bool_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Bool_<ContainerAllocator1> & lhs, const ::std_msgs::Bool_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Bool_<ContainerAllocator1> & lhs, const ::std_msgs::Bool_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Bool_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Bool_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Bool_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Bool_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Bool_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Bool_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Bool_<ContainerAllocator> >
{
static const char* value()
{
return "8b94c1b53db61fb6aed406028ad6332a";
}
static const char* value(const ::std_msgs::Bool_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x8b94c1b53db61fb6ULL;
static const uint64_t static_value2 = 0xaed406028ad6332aULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Bool_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Bool";
}
static const char* value(const ::std_msgs::Bool_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Bool_<ContainerAllocator> >
{
static const char* value()
{
return "bool data\n"
;
}
static const char* value(const ::std_msgs::Bool_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Bool_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Bool_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Bool_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Bool_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<uint8_t>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_BOOL_H

195
thirdparty/ros/include/std_msgs/Byte.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/Byte.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_BYTE_H
#define STD_MSGS_MESSAGE_BYTE_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Byte_
{
typedef Byte_<ContainerAllocator> Type;
Byte_()
: data(0) {
}
Byte_(const ContainerAllocator& _alloc)
: data(0) {
(void)_alloc;
}
typedef int8_t _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Byte_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Byte_<ContainerAllocator> const> ConstPtr;
}; // struct Byte_
typedef ::std_msgs::Byte_<std::allocator<void> > Byte;
typedef boost::shared_ptr< ::std_msgs::Byte > BytePtr;
typedef boost::shared_ptr< ::std_msgs::Byte const> ByteConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Byte_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Byte_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Byte_<ContainerAllocator1> & lhs, const ::std_msgs::Byte_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Byte_<ContainerAllocator1> & lhs, const ::std_msgs::Byte_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Byte_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Byte_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Byte_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Byte_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Byte_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Byte_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Byte_<ContainerAllocator> >
{
static const char* value()
{
return "ad736a2e8818154c487bb80fe42ce43b";
}
static const char* value(const ::std_msgs::Byte_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xad736a2e8818154cULL;
static const uint64_t static_value2 = 0x487bb80fe42ce43bULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Byte_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Byte";
}
static const char* value(const ::std_msgs::Byte_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Byte_<ContainerAllocator> >
{
static const char* value()
{
return "byte data\n"
;
}
static const char* value(const ::std_msgs::Byte_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Byte_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Byte_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Byte_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Byte_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<int8_t>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_BYTE_H

View File

@@ -0,0 +1,250 @@
// Generated by gencpp from file std_msgs/ByteMultiArray.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_BYTEMULTIARRAY_H
#define STD_MSGS_MESSAGE_BYTEMULTIARRAY_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/MultiArrayLayout.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct ByteMultiArray_
{
typedef ByteMultiArray_<ContainerAllocator> Type;
ByteMultiArray_()
: layout()
, data() {
}
ByteMultiArray_(const ContainerAllocator& _alloc)
: layout(_alloc)
, data(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout;
typedef std::vector<int8_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int8_t>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::ByteMultiArray_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::ByteMultiArray_<ContainerAllocator> const> ConstPtr;
}; // struct ByteMultiArray_
typedef ::std_msgs::ByteMultiArray_<std::allocator<void> > ByteMultiArray;
typedef boost::shared_ptr< ::std_msgs::ByteMultiArray > ByteMultiArrayPtr;
typedef boost::shared_ptr< ::std_msgs::ByteMultiArray const> ByteMultiArrayConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::ByteMultiArray_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::ByteMultiArray_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::ByteMultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::ByteMultiArray_<ContainerAllocator2> & rhs)
{
return lhs.layout == rhs.layout &&
lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::ByteMultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::ByteMultiArray_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::ByteMultiArray_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::ByteMultiArray_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::ByteMultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::ByteMultiArray_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::ByteMultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::ByteMultiArray_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::ByteMultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "70ea476cbcfd65ac2f68f3cda1e891fe";
}
static const char* value(const ::std_msgs::ByteMultiArray_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x70ea476cbcfd65acULL;
static const uint64_t static_value2 = 0x2f68f3cda1e891feULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::ByteMultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/ByteMultiArray";
}
static const char* value(const ::std_msgs::ByteMultiArray_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::ByteMultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "# Please look at the MultiArrayLayout message definition for\n"
"# documentation on all multiarrays.\n"
"\n"
"MultiArrayLayout layout # specification of data layout\n"
"byte[] data # array of data\n"
"\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayLayout\n"
"# The multiarray declares a generic multi-dimensional array of a\n"
"# particular data type. Dimensions are ordered from outer most\n"
"# to inner most.\n"
"\n"
"MultiArrayDimension[] dim # Array of dimension properties\n"
"uint32 data_offset # padding elements at front of data\n"
"\n"
"# Accessors should ALWAYS be written in terms of dimension stride\n"
"# and specified outer-most dimension first.\n"
"# \n"
"# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n"
"#\n"
"# A standard, 3-channel 640x480 image with interleaved color channels\n"
"# would be specified as:\n"
"#\n"
"# dim[0].label = \"height\"\n"
"# dim[0].size = 480\n"
"# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n"
"# dim[1].label = \"width\"\n"
"# dim[1].size = 640\n"
"# dim[1].stride = 3*640 = 1920\n"
"# dim[2].label = \"channel\"\n"
"# dim[2].size = 3\n"
"# dim[2].stride = 3\n"
"#\n"
"# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayDimension\n"
"string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::ByteMultiArray_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::ByteMultiArray_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.layout);
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct ByteMultiArray_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::ByteMultiArray_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::ByteMultiArray_<ContainerAllocator>& v)
{
s << indent << "layout: ";
s << std::endl;
Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >::stream(s, indent + " ", v.layout);
s << indent << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size(); ++i)
{
s << indent << " data[" << i << "]: ";
Printer<int8_t>::stream(s, indent + " ", v.data[i]);
}
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_BYTEMULTIARRAY_H

195
thirdparty/ros/include/std_msgs/Char.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/Char.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_CHAR_H
#define STD_MSGS_MESSAGE_CHAR_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Char_
{
typedef Char_<ContainerAllocator> Type;
Char_()
: data(0) {
}
Char_(const ContainerAllocator& _alloc)
: data(0) {
(void)_alloc;
}
typedef uint8_t _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Char_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Char_<ContainerAllocator> const> ConstPtr;
}; // struct Char_
typedef ::std_msgs::Char_<std::allocator<void> > Char;
typedef boost::shared_ptr< ::std_msgs::Char > CharPtr;
typedef boost::shared_ptr< ::std_msgs::Char const> CharConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Char_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Char_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Char_<ContainerAllocator1> & lhs, const ::std_msgs::Char_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Char_<ContainerAllocator1> & lhs, const ::std_msgs::Char_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Char_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Char_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Char_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Char_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Char_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Char_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Char_<ContainerAllocator> >
{
static const char* value()
{
return "1bf77f25acecdedba0e224b162199717";
}
static const char* value(const ::std_msgs::Char_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x1bf77f25acecdedbULL;
static const uint64_t static_value2 = 0xa0e224b162199717ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Char_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Char";
}
static const char* value(const ::std_msgs::Char_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Char_<ContainerAllocator> >
{
static const char* value()
{
return "char data\n"
;
}
static const char* value(const ::std_msgs::Char_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Char_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Char_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Char_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Char_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<uint8_t>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_CHAR_H

View File

@@ -0,0 +1,225 @@
// Generated by gencpp from file std_msgs/ColorRGBA.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_COLORRGBA_H
#define STD_MSGS_MESSAGE_COLORRGBA_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct ColorRGBA_
{
typedef ColorRGBA_<ContainerAllocator> Type;
ColorRGBA_()
: r(0.0)
, g(0.0)
, b(0.0)
, a(0.0) {
}
ColorRGBA_(const ContainerAllocator& _alloc)
: r(0.0)
, g(0.0)
, b(0.0)
, a(0.0) {
(void)_alloc;
}
typedef float _r_type;
_r_type r;
typedef float _g_type;
_g_type g;
typedef float _b_type;
_b_type b;
typedef float _a_type;
_a_type a;
typedef boost::shared_ptr< ::std_msgs::ColorRGBA_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::ColorRGBA_<ContainerAllocator> const> ConstPtr;
}; // struct ColorRGBA_
typedef ::std_msgs::ColorRGBA_<std::allocator<void> > ColorRGBA;
typedef boost::shared_ptr< ::std_msgs::ColorRGBA > ColorRGBAPtr;
typedef boost::shared_ptr< ::std_msgs::ColorRGBA const> ColorRGBAConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::ColorRGBA_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::ColorRGBA_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::ColorRGBA_<ContainerAllocator1> & lhs, const ::std_msgs::ColorRGBA_<ContainerAllocator2> & rhs)
{
return lhs.r == rhs.r &&
lhs.g == rhs.g &&
lhs.b == rhs.b &&
lhs.a == rhs.a;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::ColorRGBA_<ContainerAllocator1> & lhs, const ::std_msgs::ColorRGBA_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::ColorRGBA_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::ColorRGBA_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::ColorRGBA_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::ColorRGBA_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::ColorRGBA_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::ColorRGBA_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::ColorRGBA_<ContainerAllocator> >
{
static const char* value()
{
return "a29a96539573343b1310c73607334b00";
}
static const char* value(const ::std_msgs::ColorRGBA_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xa29a96539573343bULL;
static const uint64_t static_value2 = 0x1310c73607334b00ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::ColorRGBA_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/ColorRGBA";
}
static const char* value(const ::std_msgs::ColorRGBA_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::ColorRGBA_<ContainerAllocator> >
{
static const char* value()
{
return "float32 r\n"
"float32 g\n"
"float32 b\n"
"float32 a\n"
;
}
static const char* value(const ::std_msgs::ColorRGBA_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::ColorRGBA_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.r);
stream.next(m.g);
stream.next(m.b);
stream.next(m.a);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct ColorRGBA_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::ColorRGBA_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::ColorRGBA_<ContainerAllocator>& v)
{
s << indent << "r: ";
Printer<float>::stream(s, indent + " ", v.r);
s << indent << "g: ";
Printer<float>::stream(s, indent + " ", v.g);
s << indent << "b: ";
Printer<float>::stream(s, indent + " ", v.b);
s << indent << "a: ";
Printer<float>::stream(s, indent + " ", v.a);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_COLORRGBA_H

View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/Duration.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_DURATION_H
#define STD_MSGS_MESSAGE_DURATION_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Duration_
{
typedef Duration_<ContainerAllocator> Type;
Duration_()
: data() {
}
Duration_(const ContainerAllocator& _alloc)
: data() {
(void)_alloc;
}
typedef ros::Duration _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Duration_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Duration_<ContainerAllocator> const> ConstPtr;
}; // struct Duration_
typedef ::std_msgs::Duration_<std::allocator<void> > Duration;
typedef boost::shared_ptr< ::std_msgs::Duration > DurationPtr;
typedef boost::shared_ptr< ::std_msgs::Duration const> DurationConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Duration_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Duration_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Duration_<ContainerAllocator1> & lhs, const ::std_msgs::Duration_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Duration_<ContainerAllocator1> & lhs, const ::std_msgs::Duration_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Duration_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Duration_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Duration_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Duration_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Duration_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Duration_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Duration_<ContainerAllocator> >
{
static const char* value()
{
return "3e286caf4241d664e55f3ad380e2ae46";
}
static const char* value(const ::std_msgs::Duration_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x3e286caf4241d664ULL;
static const uint64_t static_value2 = 0xe55f3ad380e2ae46ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Duration_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Duration";
}
static const char* value(const ::std_msgs::Duration_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Duration_<ContainerAllocator> >
{
static const char* value()
{
return "duration data\n"
;
}
static const char* value(const ::std_msgs::Duration_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Duration_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Duration_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Duration_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Duration_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<ros::Duration>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_DURATION_H

174
thirdparty/ros/include/std_msgs/Empty.h vendored Normal file
View File

@@ -0,0 +1,174 @@
// Generated by gencpp from file std_msgs/Empty.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_EMPTY_H
#define STD_MSGS_MESSAGE_EMPTY_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Empty_
{
typedef Empty_<ContainerAllocator> Type;
Empty_()
{
}
Empty_(const ContainerAllocator& _alloc)
{
(void)_alloc;
}
typedef boost::shared_ptr< ::std_msgs::Empty_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Empty_<ContainerAllocator> const> ConstPtr;
}; // struct Empty_
typedef ::std_msgs::Empty_<std::allocator<void> > Empty;
typedef boost::shared_ptr< ::std_msgs::Empty > EmptyPtr;
typedef boost::shared_ptr< ::std_msgs::Empty const> EmptyConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Empty_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Empty_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Empty_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Empty_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Empty_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Empty_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Empty_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Empty_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Empty_<ContainerAllocator> >
{
static const char* value()
{
return "d41d8cd98f00b204e9800998ecf8427e";
}
static const char* value(const ::std_msgs::Empty_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Empty_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Empty";
}
static const char* value(const ::std_msgs::Empty_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Empty_<ContainerAllocator> >
{
static const char* value()
{
return "\n"
;
}
static const char* value(const ::std_msgs::Empty_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Empty_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream&, T)
{}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Empty_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Empty_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream&, const std::string&, const ::std_msgs::Empty_<ContainerAllocator>&)
{}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_EMPTY_H

View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/Float32.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_FLOAT32_H
#define STD_MSGS_MESSAGE_FLOAT32_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Float32_
{
typedef Float32_<ContainerAllocator> Type;
Float32_()
: data(0.0) {
}
Float32_(const ContainerAllocator& _alloc)
: data(0.0) {
(void)_alloc;
}
typedef float _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Float32_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Float32_<ContainerAllocator> const> ConstPtr;
}; // struct Float32_
typedef ::std_msgs::Float32_<std::allocator<void> > Float32;
typedef boost::shared_ptr< ::std_msgs::Float32 > Float32Ptr;
typedef boost::shared_ptr< ::std_msgs::Float32 const> Float32ConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Float32_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Float32_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Float32_<ContainerAllocator1> & lhs, const ::std_msgs::Float32_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Float32_<ContainerAllocator1> & lhs, const ::std_msgs::Float32_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Float32_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Float32_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Float32_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Float32_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Float32_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Float32_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Float32_<ContainerAllocator> >
{
static const char* value()
{
return "73fcbf46b49191e672908e50842a83d4";
}
static const char* value(const ::std_msgs::Float32_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x73fcbf46b49191e6ULL;
static const uint64_t static_value2 = 0x72908e50842a83d4ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Float32_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Float32";
}
static const char* value(const ::std_msgs::Float32_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Float32_<ContainerAllocator> >
{
static const char* value()
{
return "float32 data\n"
;
}
static const char* value(const ::std_msgs::Float32_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Float32_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Float32_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Float32_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Float32_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<float>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_FLOAT32_H

View File

@@ -0,0 +1,250 @@
// Generated by gencpp from file std_msgs/Float32MultiArray.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_FLOAT32MULTIARRAY_H
#define STD_MSGS_MESSAGE_FLOAT32MULTIARRAY_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/MultiArrayLayout.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Float32MultiArray_
{
typedef Float32MultiArray_<ContainerAllocator> Type;
Float32MultiArray_()
: layout()
, data() {
}
Float32MultiArray_(const ContainerAllocator& _alloc)
: layout(_alloc)
, data(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout;
typedef std::vector<float, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<float>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Float32MultiArray_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Float32MultiArray_<ContainerAllocator> const> ConstPtr;
}; // struct Float32MultiArray_
typedef ::std_msgs::Float32MultiArray_<std::allocator<void> > Float32MultiArray;
typedef boost::shared_ptr< ::std_msgs::Float32MultiArray > Float32MultiArrayPtr;
typedef boost::shared_ptr< ::std_msgs::Float32MultiArray const> Float32MultiArrayConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Float32MultiArray_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Float32MultiArray_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Float32MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::Float32MultiArray_<ContainerAllocator2> & rhs)
{
return lhs.layout == rhs.layout &&
lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Float32MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::Float32MultiArray_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Float32MultiArray_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Float32MultiArray_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Float32MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Float32MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Float32MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Float32MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Float32MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "6a40e0ffa6a17a503ac3f8616991b1f6";
}
static const char* value(const ::std_msgs::Float32MultiArray_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x6a40e0ffa6a17a50ULL;
static const uint64_t static_value2 = 0x3ac3f8616991b1f6ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Float32MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Float32MultiArray";
}
static const char* value(const ::std_msgs::Float32MultiArray_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Float32MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "# Please look at the MultiArrayLayout message definition for\n"
"# documentation on all multiarrays.\n"
"\n"
"MultiArrayLayout layout # specification of data layout\n"
"float32[] data # array of data\n"
"\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayLayout\n"
"# The multiarray declares a generic multi-dimensional array of a\n"
"# particular data type. Dimensions are ordered from outer most\n"
"# to inner most.\n"
"\n"
"MultiArrayDimension[] dim # Array of dimension properties\n"
"uint32 data_offset # padding elements at front of data\n"
"\n"
"# Accessors should ALWAYS be written in terms of dimension stride\n"
"# and specified outer-most dimension first.\n"
"# \n"
"# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n"
"#\n"
"# A standard, 3-channel 640x480 image with interleaved color channels\n"
"# would be specified as:\n"
"#\n"
"# dim[0].label = \"height\"\n"
"# dim[0].size = 480\n"
"# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n"
"# dim[1].label = \"width\"\n"
"# dim[1].size = 640\n"
"# dim[1].stride = 3*640 = 1920\n"
"# dim[2].label = \"channel\"\n"
"# dim[2].size = 3\n"
"# dim[2].stride = 3\n"
"#\n"
"# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayDimension\n"
"string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::Float32MultiArray_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Float32MultiArray_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.layout);
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Float32MultiArray_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Float32MultiArray_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Float32MultiArray_<ContainerAllocator>& v)
{
s << indent << "layout: ";
s << std::endl;
Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >::stream(s, indent + " ", v.layout);
s << indent << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size(); ++i)
{
s << indent << " data[" << i << "]: ";
Printer<float>::stream(s, indent + " ", v.data[i]);
}
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_FLOAT32MULTIARRAY_H

View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/Float64.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_FLOAT64_H
#define STD_MSGS_MESSAGE_FLOAT64_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Float64_
{
typedef Float64_<ContainerAllocator> Type;
Float64_()
: data(0.0) {
}
Float64_(const ContainerAllocator& _alloc)
: data(0.0) {
(void)_alloc;
}
typedef double _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Float64_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Float64_<ContainerAllocator> const> ConstPtr;
}; // struct Float64_
typedef ::std_msgs::Float64_<std::allocator<void> > Float64;
typedef boost::shared_ptr< ::std_msgs::Float64 > Float64Ptr;
typedef boost::shared_ptr< ::std_msgs::Float64 const> Float64ConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Float64_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Float64_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Float64_<ContainerAllocator1> & lhs, const ::std_msgs::Float64_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Float64_<ContainerAllocator1> & lhs, const ::std_msgs::Float64_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Float64_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Float64_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Float64_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Float64_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Float64_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Float64_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Float64_<ContainerAllocator> >
{
static const char* value()
{
return "fdb28210bfa9d7c91146260178d9a584";
}
static const char* value(const ::std_msgs::Float64_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xfdb28210bfa9d7c9ULL;
static const uint64_t static_value2 = 0x1146260178d9a584ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Float64_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Float64";
}
static const char* value(const ::std_msgs::Float64_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Float64_<ContainerAllocator> >
{
static const char* value()
{
return "float64 data\n"
;
}
static const char* value(const ::std_msgs::Float64_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Float64_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Float64_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Float64_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Float64_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<double>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_FLOAT64_H

View File

@@ -0,0 +1,250 @@
// Generated by gencpp from file std_msgs/Float64MultiArray.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_FLOAT64MULTIARRAY_H
#define STD_MSGS_MESSAGE_FLOAT64MULTIARRAY_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/MultiArrayLayout.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Float64MultiArray_
{
typedef Float64MultiArray_<ContainerAllocator> Type;
Float64MultiArray_()
: layout()
, data() {
}
Float64MultiArray_(const ContainerAllocator& _alloc)
: layout(_alloc)
, data(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout;
typedef std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Float64MultiArray_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Float64MultiArray_<ContainerAllocator> const> ConstPtr;
}; // struct Float64MultiArray_
typedef ::std_msgs::Float64MultiArray_<std::allocator<void> > Float64MultiArray;
typedef boost::shared_ptr< ::std_msgs::Float64MultiArray > Float64MultiArrayPtr;
typedef boost::shared_ptr< ::std_msgs::Float64MultiArray const> Float64MultiArrayConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Float64MultiArray_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Float64MultiArray_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Float64MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::Float64MultiArray_<ContainerAllocator2> & rhs)
{
return lhs.layout == rhs.layout &&
lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Float64MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::Float64MultiArray_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Float64MultiArray_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Float64MultiArray_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Float64MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Float64MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Float64MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Float64MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Float64MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "4b7d974086d4060e7db4613a7e6c3ba4";
}
static const char* value(const ::std_msgs::Float64MultiArray_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x4b7d974086d4060eULL;
static const uint64_t static_value2 = 0x7db4613a7e6c3ba4ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Float64MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Float64MultiArray";
}
static const char* value(const ::std_msgs::Float64MultiArray_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Float64MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "# Please look at the MultiArrayLayout message definition for\n"
"# documentation on all multiarrays.\n"
"\n"
"MultiArrayLayout layout # specification of data layout\n"
"float64[] data # array of data\n"
"\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayLayout\n"
"# The multiarray declares a generic multi-dimensional array of a\n"
"# particular data type. Dimensions are ordered from outer most\n"
"# to inner most.\n"
"\n"
"MultiArrayDimension[] dim # Array of dimension properties\n"
"uint32 data_offset # padding elements at front of data\n"
"\n"
"# Accessors should ALWAYS be written in terms of dimension stride\n"
"# and specified outer-most dimension first.\n"
"# \n"
"# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n"
"#\n"
"# A standard, 3-channel 640x480 image with interleaved color channels\n"
"# would be specified as:\n"
"#\n"
"# dim[0].label = \"height\"\n"
"# dim[0].size = 480\n"
"# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n"
"# dim[1].label = \"width\"\n"
"# dim[1].size = 640\n"
"# dim[1].stride = 3*640 = 1920\n"
"# dim[2].label = \"channel\"\n"
"# dim[2].size = 3\n"
"# dim[2].stride = 3\n"
"#\n"
"# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayDimension\n"
"string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::Float64MultiArray_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Float64MultiArray_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.layout);
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Float64MultiArray_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Float64MultiArray_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Float64MultiArray_<ContainerAllocator>& v)
{
s << indent << "layout: ";
s << std::endl;
Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >::stream(s, indent + " ", v.layout);
s << indent << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size(); ++i)
{
s << indent << " data[" << i << "]: ";
Printer<double>::stream(s, indent + " ", v.data[i]);
}
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_FLOAT64MULTIARRAY_H

225
thirdparty/ros/include/std_msgs/Header.h vendored Normal file
View File

@@ -0,0 +1,225 @@
// Generated by gencpp from file std_msgs/Header.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_HEADER_H
#define STD_MSGS_MESSAGE_HEADER_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Header_
{
typedef Header_<ContainerAllocator> Type;
Header_()
: seq(0)
, stamp()
, frame_id() {
}
Header_(const ContainerAllocator& _alloc)
: seq(0)
, stamp()
, frame_id(_alloc) {
(void)_alloc;
}
typedef uint32_t _seq_type;
_seq_type seq;
typedef ros::Time _stamp_type;
_stamp_type stamp;
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _frame_id_type;
_frame_id_type frame_id;
typedef boost::shared_ptr< ::std_msgs::Header_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Header_<ContainerAllocator> const> ConstPtr;
}; // struct Header_
typedef ::std_msgs::Header_<std::allocator<void> > Header;
typedef boost::shared_ptr< ::std_msgs::Header > HeaderPtr;
typedef boost::shared_ptr< ::std_msgs::Header const> HeaderConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Header_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Header_<ContainerAllocator1> & lhs, const ::std_msgs::Header_<ContainerAllocator2> & rhs)
{
return lhs.seq == rhs.seq &&
lhs.stamp == rhs.stamp &&
lhs.frame_id == rhs.frame_id;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Header_<ContainerAllocator1> & lhs, const ::std_msgs::Header_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Header_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Header_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Header_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Header_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Header_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Header_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Header_<ContainerAllocator> >
{
static const char* value()
{
return "2176decaecbce78abc3b96ef049fabed";
}
static const char* value(const ::std_msgs::Header_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x2176decaecbce78aULL;
static const uint64_t static_value2 = 0xbc3b96ef049fabedULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Header_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Header";
}
static const char* value(const ::std_msgs::Header_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Header_<ContainerAllocator> >
{
static const char* value()
{
return "# Standard metadata for higher-level stamped data types.\n"
"# This is generally used to communicate timestamped data \n"
"# in a particular coordinate frame.\n"
"# \n"
"# sequence ID: consecutively increasing ID \n"
"uint32 seq\n"
"#Two-integer timestamp that is expressed as:\n"
"# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
"# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
"# time-handling sugar is provided by the client library\n"
"time stamp\n"
"#Frame this data is associated with\n"
"string frame_id\n"
;
}
static const char* value(const ::std_msgs::Header_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Header_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.seq);
stream.next(m.stamp);
stream.next(m.frame_id);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Header_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Header_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Header_<ContainerAllocator>& v)
{
s << indent << "seq: ";
Printer<uint32_t>::stream(s, indent + " ", v.seq);
s << indent << "stamp: ";
Printer<ros::Time>::stream(s, indent + " ", v.stamp);
s << indent << "frame_id: ";
Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.frame_id);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_HEADER_H

195
thirdparty/ros/include/std_msgs/Int16.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/Int16.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_INT16_H
#define STD_MSGS_MESSAGE_INT16_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Int16_
{
typedef Int16_<ContainerAllocator> Type;
Int16_()
: data(0) {
}
Int16_(const ContainerAllocator& _alloc)
: data(0) {
(void)_alloc;
}
typedef int16_t _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Int16_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Int16_<ContainerAllocator> const> ConstPtr;
}; // struct Int16_
typedef ::std_msgs::Int16_<std::allocator<void> > Int16;
typedef boost::shared_ptr< ::std_msgs::Int16 > Int16Ptr;
typedef boost::shared_ptr< ::std_msgs::Int16 const> Int16ConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Int16_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Int16_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Int16_<ContainerAllocator1> & lhs, const ::std_msgs::Int16_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Int16_<ContainerAllocator1> & lhs, const ::std_msgs::Int16_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int16_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int16_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int16_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int16_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int16_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int16_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Int16_<ContainerAllocator> >
{
static const char* value()
{
return "8524586e34fbd7cb1c08c5f5f1ca0e57";
}
static const char* value(const ::std_msgs::Int16_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x8524586e34fbd7cbULL;
static const uint64_t static_value2 = 0x1c08c5f5f1ca0e57ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Int16_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Int16";
}
static const char* value(const ::std_msgs::Int16_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Int16_<ContainerAllocator> >
{
static const char* value()
{
return "int16 data\n"
;
}
static const char* value(const ::std_msgs::Int16_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Int16_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Int16_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Int16_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Int16_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<int16_t>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_INT16_H

View File

@@ -0,0 +1,250 @@
// Generated by gencpp from file std_msgs/Int16MultiArray.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_INT16MULTIARRAY_H
#define STD_MSGS_MESSAGE_INT16MULTIARRAY_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/MultiArrayLayout.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Int16MultiArray_
{
typedef Int16MultiArray_<ContainerAllocator> Type;
Int16MultiArray_()
: layout()
, data() {
}
Int16MultiArray_(const ContainerAllocator& _alloc)
: layout(_alloc)
, data(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout;
typedef std::vector<int16_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int16_t>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Int16MultiArray_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Int16MultiArray_<ContainerAllocator> const> ConstPtr;
}; // struct Int16MultiArray_
typedef ::std_msgs::Int16MultiArray_<std::allocator<void> > Int16MultiArray;
typedef boost::shared_ptr< ::std_msgs::Int16MultiArray > Int16MultiArrayPtr;
typedef boost::shared_ptr< ::std_msgs::Int16MultiArray const> Int16MultiArrayConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Int16MultiArray_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Int16MultiArray_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Int16MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::Int16MultiArray_<ContainerAllocator2> & rhs)
{
return lhs.layout == rhs.layout &&
lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Int16MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::Int16MultiArray_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int16MultiArray_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int16MultiArray_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int16MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int16MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int16MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int16MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Int16MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "d9338d7f523fcb692fae9d0a0e9f067c";
}
static const char* value(const ::std_msgs::Int16MultiArray_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xd9338d7f523fcb69ULL;
static const uint64_t static_value2 = 0x2fae9d0a0e9f067cULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Int16MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Int16MultiArray";
}
static const char* value(const ::std_msgs::Int16MultiArray_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Int16MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "# Please look at the MultiArrayLayout message definition for\n"
"# documentation on all multiarrays.\n"
"\n"
"MultiArrayLayout layout # specification of data layout\n"
"int16[] data # array of data\n"
"\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayLayout\n"
"# The multiarray declares a generic multi-dimensional array of a\n"
"# particular data type. Dimensions are ordered from outer most\n"
"# to inner most.\n"
"\n"
"MultiArrayDimension[] dim # Array of dimension properties\n"
"uint32 data_offset # padding elements at front of data\n"
"\n"
"# Accessors should ALWAYS be written in terms of dimension stride\n"
"# and specified outer-most dimension first.\n"
"# \n"
"# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n"
"#\n"
"# A standard, 3-channel 640x480 image with interleaved color channels\n"
"# would be specified as:\n"
"#\n"
"# dim[0].label = \"height\"\n"
"# dim[0].size = 480\n"
"# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n"
"# dim[1].label = \"width\"\n"
"# dim[1].size = 640\n"
"# dim[1].stride = 3*640 = 1920\n"
"# dim[2].label = \"channel\"\n"
"# dim[2].size = 3\n"
"# dim[2].stride = 3\n"
"#\n"
"# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayDimension\n"
"string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::Int16MultiArray_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Int16MultiArray_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.layout);
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Int16MultiArray_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Int16MultiArray_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Int16MultiArray_<ContainerAllocator>& v)
{
s << indent << "layout: ";
s << std::endl;
Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >::stream(s, indent + " ", v.layout);
s << indent << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size(); ++i)
{
s << indent << " data[" << i << "]: ";
Printer<int16_t>::stream(s, indent + " ", v.data[i]);
}
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_INT16MULTIARRAY_H

195
thirdparty/ros/include/std_msgs/Int32.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/Int32.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_INT32_H
#define STD_MSGS_MESSAGE_INT32_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Int32_
{
typedef Int32_<ContainerAllocator> Type;
Int32_()
: data(0) {
}
Int32_(const ContainerAllocator& _alloc)
: data(0) {
(void)_alloc;
}
typedef int32_t _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Int32_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Int32_<ContainerAllocator> const> ConstPtr;
}; // struct Int32_
typedef ::std_msgs::Int32_<std::allocator<void> > Int32;
typedef boost::shared_ptr< ::std_msgs::Int32 > Int32Ptr;
typedef boost::shared_ptr< ::std_msgs::Int32 const> Int32ConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Int32_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Int32_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Int32_<ContainerAllocator1> & lhs, const ::std_msgs::Int32_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Int32_<ContainerAllocator1> & lhs, const ::std_msgs::Int32_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int32_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int32_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int32_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int32_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int32_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int32_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Int32_<ContainerAllocator> >
{
static const char* value()
{
return "da5909fbe378aeaf85e547e830cc1bb7";
}
static const char* value(const ::std_msgs::Int32_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xda5909fbe378aeafULL;
static const uint64_t static_value2 = 0x85e547e830cc1bb7ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Int32_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Int32";
}
static const char* value(const ::std_msgs::Int32_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Int32_<ContainerAllocator> >
{
static const char* value()
{
return "int32 data\n"
;
}
static const char* value(const ::std_msgs::Int32_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Int32_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Int32_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Int32_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Int32_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<int32_t>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_INT32_H

View File

@@ -0,0 +1,250 @@
// Generated by gencpp from file std_msgs/Int32MultiArray.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_INT32MULTIARRAY_H
#define STD_MSGS_MESSAGE_INT32MULTIARRAY_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/MultiArrayLayout.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Int32MultiArray_
{
typedef Int32MultiArray_<ContainerAllocator> Type;
Int32MultiArray_()
: layout()
, data() {
}
Int32MultiArray_(const ContainerAllocator& _alloc)
: layout(_alloc)
, data(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout;
typedef std::vector<int32_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int32_t>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Int32MultiArray_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Int32MultiArray_<ContainerAllocator> const> ConstPtr;
}; // struct Int32MultiArray_
typedef ::std_msgs::Int32MultiArray_<std::allocator<void> > Int32MultiArray;
typedef boost::shared_ptr< ::std_msgs::Int32MultiArray > Int32MultiArrayPtr;
typedef boost::shared_ptr< ::std_msgs::Int32MultiArray const> Int32MultiArrayConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Int32MultiArray_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Int32MultiArray_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Int32MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::Int32MultiArray_<ContainerAllocator2> & rhs)
{
return lhs.layout == rhs.layout &&
lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Int32MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::Int32MultiArray_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int32MultiArray_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int32MultiArray_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int32MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int32MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int32MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int32MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Int32MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "1d99f79f8b325b44fee908053e9c945b";
}
static const char* value(const ::std_msgs::Int32MultiArray_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x1d99f79f8b325b44ULL;
static const uint64_t static_value2 = 0xfee908053e9c945bULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Int32MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Int32MultiArray";
}
static const char* value(const ::std_msgs::Int32MultiArray_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Int32MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "# Please look at the MultiArrayLayout message definition for\n"
"# documentation on all multiarrays.\n"
"\n"
"MultiArrayLayout layout # specification of data layout\n"
"int32[] data # array of data\n"
"\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayLayout\n"
"# The multiarray declares a generic multi-dimensional array of a\n"
"# particular data type. Dimensions are ordered from outer most\n"
"# to inner most.\n"
"\n"
"MultiArrayDimension[] dim # Array of dimension properties\n"
"uint32 data_offset # padding elements at front of data\n"
"\n"
"# Accessors should ALWAYS be written in terms of dimension stride\n"
"# and specified outer-most dimension first.\n"
"# \n"
"# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n"
"#\n"
"# A standard, 3-channel 640x480 image with interleaved color channels\n"
"# would be specified as:\n"
"#\n"
"# dim[0].label = \"height\"\n"
"# dim[0].size = 480\n"
"# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n"
"# dim[1].label = \"width\"\n"
"# dim[1].size = 640\n"
"# dim[1].stride = 3*640 = 1920\n"
"# dim[2].label = \"channel\"\n"
"# dim[2].size = 3\n"
"# dim[2].stride = 3\n"
"#\n"
"# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayDimension\n"
"string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::Int32MultiArray_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Int32MultiArray_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.layout);
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Int32MultiArray_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Int32MultiArray_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Int32MultiArray_<ContainerAllocator>& v)
{
s << indent << "layout: ";
s << std::endl;
Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >::stream(s, indent + " ", v.layout);
s << indent << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size(); ++i)
{
s << indent << " data[" << i << "]: ";
Printer<int32_t>::stream(s, indent + " ", v.data[i]);
}
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_INT32MULTIARRAY_H

195
thirdparty/ros/include/std_msgs/Int64.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/Int64.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_INT64_H
#define STD_MSGS_MESSAGE_INT64_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Int64_
{
typedef Int64_<ContainerAllocator> Type;
Int64_()
: data(0) {
}
Int64_(const ContainerAllocator& _alloc)
: data(0) {
(void)_alloc;
}
typedef int64_t _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Int64_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Int64_<ContainerAllocator> const> ConstPtr;
}; // struct Int64_
typedef ::std_msgs::Int64_<std::allocator<void> > Int64;
typedef boost::shared_ptr< ::std_msgs::Int64 > Int64Ptr;
typedef boost::shared_ptr< ::std_msgs::Int64 const> Int64ConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Int64_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Int64_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Int64_<ContainerAllocator1> & lhs, const ::std_msgs::Int64_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Int64_<ContainerAllocator1> & lhs, const ::std_msgs::Int64_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int64_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int64_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int64_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int64_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int64_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int64_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Int64_<ContainerAllocator> >
{
static const char* value()
{
return "34add168574510e6e17f5d23ecc077ef";
}
static const char* value(const ::std_msgs::Int64_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x34add168574510e6ULL;
static const uint64_t static_value2 = 0xe17f5d23ecc077efULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Int64_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Int64";
}
static const char* value(const ::std_msgs::Int64_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Int64_<ContainerAllocator> >
{
static const char* value()
{
return "int64 data\n"
;
}
static const char* value(const ::std_msgs::Int64_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Int64_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Int64_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Int64_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Int64_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<int64_t>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_INT64_H

View File

@@ -0,0 +1,250 @@
// Generated by gencpp from file std_msgs/Int64MultiArray.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_INT64MULTIARRAY_H
#define STD_MSGS_MESSAGE_INT64MULTIARRAY_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/MultiArrayLayout.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Int64MultiArray_
{
typedef Int64MultiArray_<ContainerAllocator> Type;
Int64MultiArray_()
: layout()
, data() {
}
Int64MultiArray_(const ContainerAllocator& _alloc)
: layout(_alloc)
, data(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout;
typedef std::vector<int64_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int64_t>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Int64MultiArray_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Int64MultiArray_<ContainerAllocator> const> ConstPtr;
}; // struct Int64MultiArray_
typedef ::std_msgs::Int64MultiArray_<std::allocator<void> > Int64MultiArray;
typedef boost::shared_ptr< ::std_msgs::Int64MultiArray > Int64MultiArrayPtr;
typedef boost::shared_ptr< ::std_msgs::Int64MultiArray const> Int64MultiArrayConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Int64MultiArray_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Int64MultiArray_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Int64MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::Int64MultiArray_<ContainerAllocator2> & rhs)
{
return lhs.layout == rhs.layout &&
lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Int64MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::Int64MultiArray_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int64MultiArray_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int64MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int64MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "54865aa6c65be0448113a2afc6a49270";
}
static const char* value(const ::std_msgs::Int64MultiArray_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x54865aa6c65be044ULL;
static const uint64_t static_value2 = 0x8113a2afc6a49270ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Int64MultiArray";
}
static const char* value(const ::std_msgs::Int64MultiArray_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "# Please look at the MultiArrayLayout message definition for\n"
"# documentation on all multiarrays.\n"
"\n"
"MultiArrayLayout layout # specification of data layout\n"
"int64[] data # array of data\n"
"\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayLayout\n"
"# The multiarray declares a generic multi-dimensional array of a\n"
"# particular data type. Dimensions are ordered from outer most\n"
"# to inner most.\n"
"\n"
"MultiArrayDimension[] dim # Array of dimension properties\n"
"uint32 data_offset # padding elements at front of data\n"
"\n"
"# Accessors should ALWAYS be written in terms of dimension stride\n"
"# and specified outer-most dimension first.\n"
"# \n"
"# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n"
"#\n"
"# A standard, 3-channel 640x480 image with interleaved color channels\n"
"# would be specified as:\n"
"#\n"
"# dim[0].label = \"height\"\n"
"# dim[0].size = 480\n"
"# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n"
"# dim[1].label = \"width\"\n"
"# dim[1].size = 640\n"
"# dim[1].stride = 3*640 = 1920\n"
"# dim[2].label = \"channel\"\n"
"# dim[2].size = 3\n"
"# dim[2].stride = 3\n"
"#\n"
"# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayDimension\n"
"string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::Int64MultiArray_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.layout);
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Int64MultiArray_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Int64MultiArray_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Int64MultiArray_<ContainerAllocator>& v)
{
s << indent << "layout: ";
s << std::endl;
Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >::stream(s, indent + " ", v.layout);
s << indent << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size(); ++i)
{
s << indent << " data[" << i << "]: ";
Printer<int64_t>::stream(s, indent + " ", v.data[i]);
}
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_INT64MULTIARRAY_H

195
thirdparty/ros/include/std_msgs/Int8.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/Int8.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_INT8_H
#define STD_MSGS_MESSAGE_INT8_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Int8_
{
typedef Int8_<ContainerAllocator> Type;
Int8_()
: data(0) {
}
Int8_(const ContainerAllocator& _alloc)
: data(0) {
(void)_alloc;
}
typedef int8_t _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Int8_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Int8_<ContainerAllocator> const> ConstPtr;
}; // struct Int8_
typedef ::std_msgs::Int8_<std::allocator<void> > Int8;
typedef boost::shared_ptr< ::std_msgs::Int8 > Int8Ptr;
typedef boost::shared_ptr< ::std_msgs::Int8 const> Int8ConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Int8_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Int8_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Int8_<ContainerAllocator1> & lhs, const ::std_msgs::Int8_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Int8_<ContainerAllocator1> & lhs, const ::std_msgs::Int8_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int8_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int8_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int8_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int8_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int8_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int8_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Int8_<ContainerAllocator> >
{
static const char* value()
{
return "27ffa0c9c4b8fb8492252bcad9e5c57b";
}
static const char* value(const ::std_msgs::Int8_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x27ffa0c9c4b8fb84ULL;
static const uint64_t static_value2 = 0x92252bcad9e5c57bULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Int8_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Int8";
}
static const char* value(const ::std_msgs::Int8_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Int8_<ContainerAllocator> >
{
static const char* value()
{
return "int8 data\n"
;
}
static const char* value(const ::std_msgs::Int8_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Int8_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Int8_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Int8_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Int8_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<int8_t>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_INT8_H

View File

@@ -0,0 +1,250 @@
// Generated by gencpp from file std_msgs/Int8MultiArray.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_INT8MULTIARRAY_H
#define STD_MSGS_MESSAGE_INT8MULTIARRAY_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/MultiArrayLayout.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Int8MultiArray_
{
typedef Int8MultiArray_<ContainerAllocator> Type;
Int8MultiArray_()
: layout()
, data() {
}
Int8MultiArray_(const ContainerAllocator& _alloc)
: layout(_alloc)
, data(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout;
typedef std::vector<int8_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int8_t>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Int8MultiArray_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Int8MultiArray_<ContainerAllocator> const> ConstPtr;
}; // struct Int8MultiArray_
typedef ::std_msgs::Int8MultiArray_<std::allocator<void> > Int8MultiArray;
typedef boost::shared_ptr< ::std_msgs::Int8MultiArray > Int8MultiArrayPtr;
typedef boost::shared_ptr< ::std_msgs::Int8MultiArray const> Int8MultiArrayConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Int8MultiArray_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Int8MultiArray_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Int8MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::Int8MultiArray_<ContainerAllocator2> & rhs)
{
return lhs.layout == rhs.layout &&
lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Int8MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::Int8MultiArray_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int8MultiArray_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Int8MultiArray_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int8MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Int8MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int8MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Int8MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Int8MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "d7c1af35a1b4781bbe79e03dd94b7c13";
}
static const char* value(const ::std_msgs::Int8MultiArray_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xd7c1af35a1b4781bULL;
static const uint64_t static_value2 = 0xbe79e03dd94b7c13ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Int8MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Int8MultiArray";
}
static const char* value(const ::std_msgs::Int8MultiArray_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Int8MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "# Please look at the MultiArrayLayout message definition for\n"
"# documentation on all multiarrays.\n"
"\n"
"MultiArrayLayout layout # specification of data layout\n"
"int8[] data # array of data\n"
"\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayLayout\n"
"# The multiarray declares a generic multi-dimensional array of a\n"
"# particular data type. Dimensions are ordered from outer most\n"
"# to inner most.\n"
"\n"
"MultiArrayDimension[] dim # Array of dimension properties\n"
"uint32 data_offset # padding elements at front of data\n"
"\n"
"# Accessors should ALWAYS be written in terms of dimension stride\n"
"# and specified outer-most dimension first.\n"
"# \n"
"# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n"
"#\n"
"# A standard, 3-channel 640x480 image with interleaved color channels\n"
"# would be specified as:\n"
"#\n"
"# dim[0].label = \"height\"\n"
"# dim[0].size = 480\n"
"# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n"
"# dim[1].label = \"width\"\n"
"# dim[1].size = 640\n"
"# dim[1].stride = 3*640 = 1920\n"
"# dim[2].label = \"channel\"\n"
"# dim[2].size = 3\n"
"# dim[2].stride = 3\n"
"#\n"
"# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayDimension\n"
"string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::Int8MultiArray_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Int8MultiArray_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.layout);
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Int8MultiArray_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Int8MultiArray_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Int8MultiArray_<ContainerAllocator>& v)
{
s << indent << "layout: ";
s << std::endl;
Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >::stream(s, indent + " ", v.layout);
s << indent << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size(); ++i)
{
s << indent << " data[" << i << "]: ";
Printer<int8_t>::stream(s, indent + " ", v.data[i]);
}
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_INT8MULTIARRAY_H

View File

@@ -0,0 +1,215 @@
// Generated by gencpp from file std_msgs/MultiArrayDimension.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_MULTIARRAYDIMENSION_H
#define STD_MSGS_MESSAGE_MULTIARRAYDIMENSION_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct MultiArrayDimension_
{
typedef MultiArrayDimension_<ContainerAllocator> Type;
MultiArrayDimension_()
: label()
, size(0)
, stride(0) {
}
MultiArrayDimension_(const ContainerAllocator& _alloc)
: label(_alloc)
, size(0)
, stride(0) {
(void)_alloc;
}
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _label_type;
_label_type label;
typedef uint32_t _size_type;
_size_type size;
typedef uint32_t _stride_type;
_stride_type stride;
typedef boost::shared_ptr< ::std_msgs::MultiArrayDimension_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::MultiArrayDimension_<ContainerAllocator> const> ConstPtr;
}; // struct MultiArrayDimension_
typedef ::std_msgs::MultiArrayDimension_<std::allocator<void> > MultiArrayDimension;
typedef boost::shared_ptr< ::std_msgs::MultiArrayDimension > MultiArrayDimensionPtr;
typedef boost::shared_ptr< ::std_msgs::MultiArrayDimension const> MultiArrayDimensionConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::MultiArrayDimension_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::MultiArrayDimension_<ContainerAllocator1> & lhs, const ::std_msgs::MultiArrayDimension_<ContainerAllocator2> & rhs)
{
return lhs.label == rhs.label &&
lhs.size == rhs.size &&
lhs.stride == rhs.stride;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::MultiArrayDimension_<ContainerAllocator1> & lhs, const ::std_msgs::MultiArrayDimension_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::MultiArrayDimension_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::MultiArrayDimension_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::MultiArrayDimension_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
{
static const char* value()
{
return "4cd0c83a8683deae40ecdac60e53bfa8";
}
static const char* value(const ::std_msgs::MultiArrayDimension_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x4cd0c83a8683deaeULL;
static const uint64_t static_value2 = 0x40ecdac60e53bfa8ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/MultiArrayDimension";
}
static const char* value(const ::std_msgs::MultiArrayDimension_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
{
static const char* value()
{
return "string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::MultiArrayDimension_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.label);
stream.next(m.size);
stream.next(m.stride);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct MultiArrayDimension_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::MultiArrayDimension_<ContainerAllocator>& v)
{
s << indent << "label: ";
Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.label);
s << indent << "size: ";
Printer<uint32_t>::stream(s, indent + " ", v.size);
s << indent << "stride: ";
Printer<uint32_t>::stream(s, indent + " ", v.stride);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_MULTIARRAYDIMENSION_H

View File

@@ -0,0 +1,242 @@
// Generated by gencpp from file std_msgs/MultiArrayLayout.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_MULTIARRAYLAYOUT_H
#define STD_MSGS_MESSAGE_MULTIARRAYLAYOUT_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/MultiArrayDimension.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct MultiArrayLayout_
{
typedef MultiArrayLayout_<ContainerAllocator> Type;
MultiArrayLayout_()
: dim()
, data_offset(0) {
}
MultiArrayLayout_(const ContainerAllocator& _alloc)
: dim(_alloc)
, data_offset(0) {
(void)_alloc;
}
typedef std::vector< ::std_msgs::MultiArrayDimension_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >> _dim_type;
_dim_type dim;
typedef uint32_t _data_offset_type;
_data_offset_type data_offset;
typedef boost::shared_ptr< ::std_msgs::MultiArrayLayout_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::MultiArrayLayout_<ContainerAllocator> const> ConstPtr;
}; // struct MultiArrayLayout_
typedef ::std_msgs::MultiArrayLayout_<std::allocator<void> > MultiArrayLayout;
typedef boost::shared_ptr< ::std_msgs::MultiArrayLayout > MultiArrayLayoutPtr;
typedef boost::shared_ptr< ::std_msgs::MultiArrayLayout const> MultiArrayLayoutConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::MultiArrayLayout_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::MultiArrayLayout_<ContainerAllocator1> & lhs, const ::std_msgs::MultiArrayLayout_<ContainerAllocator2> & rhs)
{
return lhs.dim == rhs.dim &&
lhs.data_offset == rhs.data_offset;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::MultiArrayLayout_<ContainerAllocator1> & lhs, const ::std_msgs::MultiArrayLayout_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::MultiArrayLayout_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::MultiArrayLayout_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::MultiArrayLayout_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >
{
static const char* value()
{
return "0fed2a11c13e11c5571b4e2a995a91a3";
}
static const char* value(const ::std_msgs::MultiArrayLayout_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x0fed2a11c13e11c5ULL;
static const uint64_t static_value2 = 0x571b4e2a995a91a3ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/MultiArrayLayout";
}
static const char* value(const ::std_msgs::MultiArrayLayout_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >
{
static const char* value()
{
return "# The multiarray declares a generic multi-dimensional array of a\n"
"# particular data type. Dimensions are ordered from outer most\n"
"# to inner most.\n"
"\n"
"MultiArrayDimension[] dim # Array of dimension properties\n"
"uint32 data_offset # padding elements at front of data\n"
"\n"
"# Accessors should ALWAYS be written in terms of dimension stride\n"
"# and specified outer-most dimension first.\n"
"# \n"
"# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n"
"#\n"
"# A standard, 3-channel 640x480 image with interleaved color channels\n"
"# would be specified as:\n"
"#\n"
"# dim[0].label = \"height\"\n"
"# dim[0].size = 480\n"
"# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n"
"# dim[1].label = \"width\"\n"
"# dim[1].size = 640\n"
"# dim[1].stride = 3*640 = 1920\n"
"# dim[2].label = \"channel\"\n"
"# dim[2].size = 3\n"
"# dim[2].stride = 3\n"
"#\n"
"# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayDimension\n"
"string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::MultiArrayLayout_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.dim);
stream.next(m.data_offset);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct MultiArrayLayout_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::MultiArrayLayout_<ContainerAllocator>& v)
{
s << indent << "dim[]" << std::endl;
for (size_t i = 0; i < v.dim.size(); ++i)
{
s << indent << " dim[" << i << "]: ";
s << std::endl;
s << indent;
Printer< ::std_msgs::MultiArrayDimension_<ContainerAllocator> >::stream(s, indent + " ", v.dim[i]);
}
s << indent << "data_offset: ";
Printer<uint32_t>::stream(s, indent + " ", v.data_offset);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_MULTIARRAYLAYOUT_H

195
thirdparty/ros/include/std_msgs/String.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/String.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_STRING_H
#define STD_MSGS_MESSAGE_STRING_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct String_
{
typedef String_<ContainerAllocator> Type;
String_()
: data() {
}
String_(const ContainerAllocator& _alloc)
: data(_alloc) {
(void)_alloc;
}
typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::String_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::String_<ContainerAllocator> const> ConstPtr;
}; // struct String_
typedef ::std_msgs::String_<std::allocator<void> > String;
typedef boost::shared_ptr< ::std_msgs::String > StringPtr;
typedef boost::shared_ptr< ::std_msgs::String const> StringConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::String_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::String_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::String_<ContainerAllocator1> & lhs, const ::std_msgs::String_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::String_<ContainerAllocator1> & lhs, const ::std_msgs::String_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::String_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::String_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::String_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::String_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::String_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::String_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::String_<ContainerAllocator> >
{
static const char* value()
{
return "992ce8a1687cec8c8bd883ec73ca41d1";
}
static const char* value(const ::std_msgs::String_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x992ce8a1687cec8cULL;
static const uint64_t static_value2 = 0x8bd883ec73ca41d1ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::String_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/String";
}
static const char* value(const ::std_msgs::String_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::String_<ContainerAllocator> >
{
static const char* value()
{
return "string data\n"
;
}
static const char* value(const ::std_msgs::String_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::String_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct String_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::String_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::String_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_STRING_H

195
thirdparty/ros/include/std_msgs/Time.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/Time.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_TIME_H
#define STD_MSGS_MESSAGE_TIME_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Time_
{
typedef Time_<ContainerAllocator> Type;
Time_()
: data() {
}
Time_(const ContainerAllocator& _alloc)
: data() {
(void)_alloc;
}
typedef ros::Time _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Time_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Time_<ContainerAllocator> const> ConstPtr;
}; // struct Time_
typedef ::std_msgs::Time_<std::allocator<void> > Time;
typedef boost::shared_ptr< ::std_msgs::Time > TimePtr;
typedef boost::shared_ptr< ::std_msgs::Time const> TimeConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Time_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Time_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::Time_<ContainerAllocator1> & lhs, const ::std_msgs::Time_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::Time_<ContainerAllocator1> & lhs, const ::std_msgs::Time_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Time_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Time_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Time_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Time_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Time_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Time_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Time_<ContainerAllocator> >
{
static const char* value()
{
return "cd7166c74c552c311fbcc2fe5a7bc289";
}
static const char* value(const ::std_msgs::Time_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xcd7166c74c552c31ULL;
static const uint64_t static_value2 = 0x1fbcc2fe5a7bc289ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Time_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Time";
}
static const char* value(const ::std_msgs::Time_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Time_<ContainerAllocator> >
{
static const char* value()
{
return "time data\n"
;
}
static const char* value(const ::std_msgs::Time_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Time_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Time_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Time_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Time_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<ros::Time>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_TIME_H

195
thirdparty/ros/include/std_msgs/UInt16.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/UInt16.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_UINT16_H
#define STD_MSGS_MESSAGE_UINT16_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct UInt16_
{
typedef UInt16_<ContainerAllocator> Type;
UInt16_()
: data(0) {
}
UInt16_(const ContainerAllocator& _alloc)
: data(0) {
(void)_alloc;
}
typedef uint16_t _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::UInt16_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::UInt16_<ContainerAllocator> const> ConstPtr;
}; // struct UInt16_
typedef ::std_msgs::UInt16_<std::allocator<void> > UInt16;
typedef boost::shared_ptr< ::std_msgs::UInt16 > UInt16Ptr;
typedef boost::shared_ptr< ::std_msgs::UInt16 const> UInt16ConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::UInt16_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::UInt16_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::UInt16_<ContainerAllocator1> & lhs, const ::std_msgs::UInt16_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::UInt16_<ContainerAllocator1> & lhs, const ::std_msgs::UInt16_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt16_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt16_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt16_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt16_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt16_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt16_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::UInt16_<ContainerAllocator> >
{
static const char* value()
{
return "1df79edf208b629fe6b81923a544552d";
}
static const char* value(const ::std_msgs::UInt16_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x1df79edf208b629fULL;
static const uint64_t static_value2 = 0xe6b81923a544552dULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::UInt16_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/UInt16";
}
static const char* value(const ::std_msgs::UInt16_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::UInt16_<ContainerAllocator> >
{
static const char* value()
{
return "uint16 data\n"
;
}
static const char* value(const ::std_msgs::UInt16_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::UInt16_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct UInt16_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::UInt16_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::UInt16_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<uint16_t>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_UINT16_H

View File

@@ -0,0 +1,250 @@
// Generated by gencpp from file std_msgs/UInt16MultiArray.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_UINT16MULTIARRAY_H
#define STD_MSGS_MESSAGE_UINT16MULTIARRAY_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/MultiArrayLayout.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct UInt16MultiArray_
{
typedef UInt16MultiArray_<ContainerAllocator> Type;
UInt16MultiArray_()
: layout()
, data() {
}
UInt16MultiArray_(const ContainerAllocator& _alloc)
: layout(_alloc)
, data(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout;
typedef std::vector<uint16_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<uint16_t>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::UInt16MultiArray_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::UInt16MultiArray_<ContainerAllocator> const> ConstPtr;
}; // struct UInt16MultiArray_
typedef ::std_msgs::UInt16MultiArray_<std::allocator<void> > UInt16MultiArray;
typedef boost::shared_ptr< ::std_msgs::UInt16MultiArray > UInt16MultiArrayPtr;
typedef boost::shared_ptr< ::std_msgs::UInt16MultiArray const> UInt16MultiArrayConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::UInt16MultiArray_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::UInt16MultiArray_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::UInt16MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::UInt16MultiArray_<ContainerAllocator2> & rhs)
{
return lhs.layout == rhs.layout &&
lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::UInt16MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::UInt16MultiArray_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt16MultiArray_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt16MultiArray_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt16MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt16MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt16MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt16MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::UInt16MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "52f264f1c973c4b73790d384c6cb4484";
}
static const char* value(const ::std_msgs::UInt16MultiArray_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x52f264f1c973c4b7ULL;
static const uint64_t static_value2 = 0x3790d384c6cb4484ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::UInt16MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/UInt16MultiArray";
}
static const char* value(const ::std_msgs::UInt16MultiArray_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::UInt16MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "# Please look at the MultiArrayLayout message definition for\n"
"# documentation on all multiarrays.\n"
"\n"
"MultiArrayLayout layout # specification of data layout\n"
"uint16[] data # array of data\n"
"\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayLayout\n"
"# The multiarray declares a generic multi-dimensional array of a\n"
"# particular data type. Dimensions are ordered from outer most\n"
"# to inner most.\n"
"\n"
"MultiArrayDimension[] dim # Array of dimension properties\n"
"uint32 data_offset # padding elements at front of data\n"
"\n"
"# Accessors should ALWAYS be written in terms of dimension stride\n"
"# and specified outer-most dimension first.\n"
"# \n"
"# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n"
"#\n"
"# A standard, 3-channel 640x480 image with interleaved color channels\n"
"# would be specified as:\n"
"#\n"
"# dim[0].label = \"height\"\n"
"# dim[0].size = 480\n"
"# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n"
"# dim[1].label = \"width\"\n"
"# dim[1].size = 640\n"
"# dim[1].stride = 3*640 = 1920\n"
"# dim[2].label = \"channel\"\n"
"# dim[2].size = 3\n"
"# dim[2].stride = 3\n"
"#\n"
"# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayDimension\n"
"string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::UInt16MultiArray_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::UInt16MultiArray_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.layout);
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct UInt16MultiArray_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::UInt16MultiArray_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::UInt16MultiArray_<ContainerAllocator>& v)
{
s << indent << "layout: ";
s << std::endl;
Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >::stream(s, indent + " ", v.layout);
s << indent << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size(); ++i)
{
s << indent << " data[" << i << "]: ";
Printer<uint16_t>::stream(s, indent + " ", v.data[i]);
}
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_UINT16MULTIARRAY_H

195
thirdparty/ros/include/std_msgs/UInt32.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/UInt32.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_UINT32_H
#define STD_MSGS_MESSAGE_UINT32_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct UInt32_
{
typedef UInt32_<ContainerAllocator> Type;
UInt32_()
: data(0) {
}
UInt32_(const ContainerAllocator& _alloc)
: data(0) {
(void)_alloc;
}
typedef uint32_t _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::UInt32_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::UInt32_<ContainerAllocator> const> ConstPtr;
}; // struct UInt32_
typedef ::std_msgs::UInt32_<std::allocator<void> > UInt32;
typedef boost::shared_ptr< ::std_msgs::UInt32 > UInt32Ptr;
typedef boost::shared_ptr< ::std_msgs::UInt32 const> UInt32ConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::UInt32_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::UInt32_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::UInt32_<ContainerAllocator1> & lhs, const ::std_msgs::UInt32_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::UInt32_<ContainerAllocator1> & lhs, const ::std_msgs::UInt32_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt32_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt32_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt32_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt32_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt32_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt32_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::UInt32_<ContainerAllocator> >
{
static const char* value()
{
return "304a39449588c7f8ce2df6e8001c5fce";
}
static const char* value(const ::std_msgs::UInt32_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x304a39449588c7f8ULL;
static const uint64_t static_value2 = 0xce2df6e8001c5fceULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::UInt32_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/UInt32";
}
static const char* value(const ::std_msgs::UInt32_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::UInt32_<ContainerAllocator> >
{
static const char* value()
{
return "uint32 data\n"
;
}
static const char* value(const ::std_msgs::UInt32_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::UInt32_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct UInt32_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::UInt32_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::UInt32_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<uint32_t>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_UINT32_H

View File

@@ -0,0 +1,250 @@
// Generated by gencpp from file std_msgs/UInt32MultiArray.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_UINT32MULTIARRAY_H
#define STD_MSGS_MESSAGE_UINT32MULTIARRAY_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/MultiArrayLayout.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct UInt32MultiArray_
{
typedef UInt32MultiArray_<ContainerAllocator> Type;
UInt32MultiArray_()
: layout()
, data() {
}
UInt32MultiArray_(const ContainerAllocator& _alloc)
: layout(_alloc)
, data(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout;
typedef std::vector<uint32_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<uint32_t>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::UInt32MultiArray_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::UInt32MultiArray_<ContainerAllocator> const> ConstPtr;
}; // struct UInt32MultiArray_
typedef ::std_msgs::UInt32MultiArray_<std::allocator<void> > UInt32MultiArray;
typedef boost::shared_ptr< ::std_msgs::UInt32MultiArray > UInt32MultiArrayPtr;
typedef boost::shared_ptr< ::std_msgs::UInt32MultiArray const> UInt32MultiArrayConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::UInt32MultiArray_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::UInt32MultiArray_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::UInt32MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::UInt32MultiArray_<ContainerAllocator2> & rhs)
{
return lhs.layout == rhs.layout &&
lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::UInt32MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::UInt32MultiArray_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt32MultiArray_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt32MultiArray_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt32MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt32MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt32MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt32MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::UInt32MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "4d6a180abc9be191b96a7eda6c8a233d";
}
static const char* value(const ::std_msgs::UInt32MultiArray_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x4d6a180abc9be191ULL;
static const uint64_t static_value2 = 0xb96a7eda6c8a233dULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::UInt32MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/UInt32MultiArray";
}
static const char* value(const ::std_msgs::UInt32MultiArray_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::UInt32MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "# Please look at the MultiArrayLayout message definition for\n"
"# documentation on all multiarrays.\n"
"\n"
"MultiArrayLayout layout # specification of data layout\n"
"uint32[] data # array of data\n"
"\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayLayout\n"
"# The multiarray declares a generic multi-dimensional array of a\n"
"# particular data type. Dimensions are ordered from outer most\n"
"# to inner most.\n"
"\n"
"MultiArrayDimension[] dim # Array of dimension properties\n"
"uint32 data_offset # padding elements at front of data\n"
"\n"
"# Accessors should ALWAYS be written in terms of dimension stride\n"
"# and specified outer-most dimension first.\n"
"# \n"
"# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n"
"#\n"
"# A standard, 3-channel 640x480 image with interleaved color channels\n"
"# would be specified as:\n"
"#\n"
"# dim[0].label = \"height\"\n"
"# dim[0].size = 480\n"
"# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n"
"# dim[1].label = \"width\"\n"
"# dim[1].size = 640\n"
"# dim[1].stride = 3*640 = 1920\n"
"# dim[2].label = \"channel\"\n"
"# dim[2].size = 3\n"
"# dim[2].stride = 3\n"
"#\n"
"# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayDimension\n"
"string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::UInt32MultiArray_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::UInt32MultiArray_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.layout);
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct UInt32MultiArray_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::UInt32MultiArray_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::UInt32MultiArray_<ContainerAllocator>& v)
{
s << indent << "layout: ";
s << std::endl;
Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >::stream(s, indent + " ", v.layout);
s << indent << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size(); ++i)
{
s << indent << " data[" << i << "]: ";
Printer<uint32_t>::stream(s, indent + " ", v.data[i]);
}
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_UINT32MULTIARRAY_H

195
thirdparty/ros/include/std_msgs/UInt64.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/UInt64.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_UINT64_H
#define STD_MSGS_MESSAGE_UINT64_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct UInt64_
{
typedef UInt64_<ContainerAllocator> Type;
UInt64_()
: data(0) {
}
UInt64_(const ContainerAllocator& _alloc)
: data(0) {
(void)_alloc;
}
typedef uint64_t _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::UInt64_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::UInt64_<ContainerAllocator> const> ConstPtr;
}; // struct UInt64_
typedef ::std_msgs::UInt64_<std::allocator<void> > UInt64;
typedef boost::shared_ptr< ::std_msgs::UInt64 > UInt64Ptr;
typedef boost::shared_ptr< ::std_msgs::UInt64 const> UInt64ConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::UInt64_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::UInt64_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::UInt64_<ContainerAllocator1> & lhs, const ::std_msgs::UInt64_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::UInt64_<ContainerAllocator1> & lhs, const ::std_msgs::UInt64_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt64_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt64_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt64_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt64_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt64_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt64_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::UInt64_<ContainerAllocator> >
{
static const char* value()
{
return "1b2a79973e8bf53d7b53acb71299cb57";
}
static const char* value(const ::std_msgs::UInt64_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x1b2a79973e8bf53dULL;
static const uint64_t static_value2 = 0x7b53acb71299cb57ULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::UInt64_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/UInt64";
}
static const char* value(const ::std_msgs::UInt64_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::UInt64_<ContainerAllocator> >
{
static const char* value()
{
return "uint64 data\n"
;
}
static const char* value(const ::std_msgs::UInt64_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::UInt64_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct UInt64_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::UInt64_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::UInt64_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<uint64_t>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_UINT64_H

View File

@@ -0,0 +1,250 @@
// Generated by gencpp from file std_msgs/UInt64MultiArray.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_UINT64MULTIARRAY_H
#define STD_MSGS_MESSAGE_UINT64MULTIARRAY_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/MultiArrayLayout.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct UInt64MultiArray_
{
typedef UInt64MultiArray_<ContainerAllocator> Type;
UInt64MultiArray_()
: layout()
, data() {
}
UInt64MultiArray_(const ContainerAllocator& _alloc)
: layout(_alloc)
, data(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout;
typedef std::vector<uint64_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<uint64_t>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::UInt64MultiArray_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::UInt64MultiArray_<ContainerAllocator> const> ConstPtr;
}; // struct UInt64MultiArray_
typedef ::std_msgs::UInt64MultiArray_<std::allocator<void> > UInt64MultiArray;
typedef boost::shared_ptr< ::std_msgs::UInt64MultiArray > UInt64MultiArrayPtr;
typedef boost::shared_ptr< ::std_msgs::UInt64MultiArray const> UInt64MultiArrayConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::UInt64MultiArray_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::UInt64MultiArray_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::UInt64MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::UInt64MultiArray_<ContainerAllocator2> & rhs)
{
return lhs.layout == rhs.layout &&
lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::UInt64MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::UInt64MultiArray_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt64MultiArray_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt64MultiArray_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt64MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt64MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt64MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt64MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::UInt64MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "6088f127afb1d6c72927aa1247e945af";
}
static const char* value(const ::std_msgs::UInt64MultiArray_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x6088f127afb1d6c7ULL;
static const uint64_t static_value2 = 0x2927aa1247e945afULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::UInt64MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/UInt64MultiArray";
}
static const char* value(const ::std_msgs::UInt64MultiArray_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::UInt64MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "# Please look at the MultiArrayLayout message definition for\n"
"# documentation on all multiarrays.\n"
"\n"
"MultiArrayLayout layout # specification of data layout\n"
"uint64[] data # array of data\n"
"\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayLayout\n"
"# The multiarray declares a generic multi-dimensional array of a\n"
"# particular data type. Dimensions are ordered from outer most\n"
"# to inner most.\n"
"\n"
"MultiArrayDimension[] dim # Array of dimension properties\n"
"uint32 data_offset # padding elements at front of data\n"
"\n"
"# Accessors should ALWAYS be written in terms of dimension stride\n"
"# and specified outer-most dimension first.\n"
"# \n"
"# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n"
"#\n"
"# A standard, 3-channel 640x480 image with interleaved color channels\n"
"# would be specified as:\n"
"#\n"
"# dim[0].label = \"height\"\n"
"# dim[0].size = 480\n"
"# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n"
"# dim[1].label = \"width\"\n"
"# dim[1].size = 640\n"
"# dim[1].stride = 3*640 = 1920\n"
"# dim[2].label = \"channel\"\n"
"# dim[2].size = 3\n"
"# dim[2].stride = 3\n"
"#\n"
"# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayDimension\n"
"string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::UInt64MultiArray_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::UInt64MultiArray_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.layout);
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct UInt64MultiArray_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::UInt64MultiArray_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::UInt64MultiArray_<ContainerAllocator>& v)
{
s << indent << "layout: ";
s << std::endl;
Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >::stream(s, indent + " ", v.layout);
s << indent << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size(); ++i)
{
s << indent << " data[" << i << "]: ";
Printer<uint64_t>::stream(s, indent + " ", v.data[i]);
}
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_UINT64MULTIARRAY_H

195
thirdparty/ros/include/std_msgs/UInt8.h vendored Normal file
View File

@@ -0,0 +1,195 @@
// Generated by gencpp from file std_msgs/UInt8.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_UINT8_H
#define STD_MSGS_MESSAGE_UINT8_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct UInt8_
{
typedef UInt8_<ContainerAllocator> Type;
UInt8_()
: data(0) {
}
UInt8_(const ContainerAllocator& _alloc)
: data(0) {
(void)_alloc;
}
typedef uint8_t _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::UInt8_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::UInt8_<ContainerAllocator> const> ConstPtr;
}; // struct UInt8_
typedef ::std_msgs::UInt8_<std::allocator<void> > UInt8;
typedef boost::shared_ptr< ::std_msgs::UInt8 > UInt8Ptr;
typedef boost::shared_ptr< ::std_msgs::UInt8 const> UInt8ConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::UInt8_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::UInt8_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::UInt8_<ContainerAllocator1> & lhs, const ::std_msgs::UInt8_<ContainerAllocator2> & rhs)
{
return lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::UInt8_<ContainerAllocator1> & lhs, const ::std_msgs::UInt8_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt8_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt8_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt8_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt8_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt8_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt8_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::UInt8_<ContainerAllocator> >
{
static const char* value()
{
return "7c8164229e7d2c17eb95e9231617fdee";
}
static const char* value(const ::std_msgs::UInt8_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x7c8164229e7d2c17ULL;
static const uint64_t static_value2 = 0xeb95e9231617fdeeULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::UInt8_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/UInt8";
}
static const char* value(const ::std_msgs::UInt8_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::UInt8_<ContainerAllocator> >
{
static const char* value()
{
return "uint8 data\n"
;
}
static const char* value(const ::std_msgs::UInt8_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::UInt8_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct UInt8_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::UInt8_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::UInt8_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<uint8_t>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_UINT8_H

View File

@@ -0,0 +1,250 @@
// Generated by gencpp from file std_msgs/UInt8MultiArray.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_UINT8MULTIARRAY_H
#define STD_MSGS_MESSAGE_UINT8MULTIARRAY_H
#include <string>
#include <vector>
#include <memory>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/MultiArrayLayout.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct UInt8MultiArray_
{
typedef UInt8MultiArray_<ContainerAllocator> Type;
UInt8MultiArray_()
: layout()
, data() {
}
UInt8MultiArray_(const ContainerAllocator& _alloc)
: layout(_alloc)
, data(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::MultiArrayLayout_<ContainerAllocator> _layout_type;
_layout_type layout;
typedef std::vector<uint8_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<uint8_t>> _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::UInt8MultiArray_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::UInt8MultiArray_<ContainerAllocator> const> ConstPtr;
}; // struct UInt8MultiArray_
typedef ::std_msgs::UInt8MultiArray_<std::allocator<void> > UInt8MultiArray;
typedef boost::shared_ptr< ::std_msgs::UInt8MultiArray > UInt8MultiArrayPtr;
typedef boost::shared_ptr< ::std_msgs::UInt8MultiArray const> UInt8MultiArrayConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::UInt8MultiArray_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::UInt8MultiArray_<ContainerAllocator> >::stream(s, "", v);
return s;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::std_msgs::UInt8MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::UInt8MultiArray_<ContainerAllocator2> & rhs)
{
return lhs.layout == rhs.layout &&
lhs.data == rhs.data;
}
template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::std_msgs::UInt8MultiArray_<ContainerAllocator1> & lhs, const ::std_msgs::UInt8MultiArray_<ContainerAllocator2> & rhs)
{
return !(lhs == rhs);
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt8MultiArray_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::UInt8MultiArray_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt8MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::UInt8MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt8MultiArray_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::UInt8MultiArray_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::UInt8MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "82373f1612381bb6ee473b5cd6f5d89c";
}
static const char* value(const ::std_msgs::UInt8MultiArray_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x82373f1612381bb6ULL;
static const uint64_t static_value2 = 0xee473b5cd6f5d89cULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::UInt8MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/UInt8MultiArray";
}
static const char* value(const ::std_msgs::UInt8MultiArray_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::UInt8MultiArray_<ContainerAllocator> >
{
static const char* value()
{
return "# Please look at the MultiArrayLayout message definition for\n"
"# documentation on all multiarrays.\n"
"\n"
"MultiArrayLayout layout # specification of data layout\n"
"uint8[] data # array of data\n"
"\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayLayout\n"
"# The multiarray declares a generic multi-dimensional array of a\n"
"# particular data type. Dimensions are ordered from outer most\n"
"# to inner most.\n"
"\n"
"MultiArrayDimension[] dim # Array of dimension properties\n"
"uint32 data_offset # padding elements at front of data\n"
"\n"
"# Accessors should ALWAYS be written in terms of dimension stride\n"
"# and specified outer-most dimension first.\n"
"# \n"
"# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]\n"
"#\n"
"# A standard, 3-channel 640x480 image with interleaved color channels\n"
"# would be specified as:\n"
"#\n"
"# dim[0].label = \"height\"\n"
"# dim[0].size = 480\n"
"# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)\n"
"# dim[1].label = \"width\"\n"
"# dim[1].size = 640\n"
"# dim[1].stride = 3*640 = 1920\n"
"# dim[2].label = \"channel\"\n"
"# dim[2].size = 3\n"
"# dim[2].stride = 3\n"
"#\n"
"# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/MultiArrayDimension\n"
"string label # label of given dimension\n"
"uint32 size # size of given dimension (in type units)\n"
"uint32 stride # stride of given dimension\n"
;
}
static const char* value(const ::std_msgs::UInt8MultiArray_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::UInt8MultiArray_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.layout);
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct UInt8MultiArray_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::UInt8MultiArray_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::UInt8MultiArray_<ContainerAllocator>& v)
{
s << indent << "layout: ";
s << std::endl;
Printer< ::std_msgs::MultiArrayLayout_<ContainerAllocator> >::stream(s, indent + " ", v.layout);
s << indent << "data[]" << std::endl;
for (size_t i = 0; i < v.data.size(); ++i)
{
s << indent << " data[" << i << "]: ";
Printer<uint8_t>::stream(s, indent + " ", v.data[i]);
}
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_UINT8MULTIARRAY_H

View File

@@ -0,0 +1,36 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_BUILTIN_BOOL_H
#define STD_MSGS_BUILTIN_BOOL_H
#include "trait_macros.h"
#include <std_msgs/Bool.h>
STD_MSGS_DEFINE_BUILTIN_TRAITS(bool, Bool, 0x8b94c1b53db61fb6ULL, 0xaed406028ad6332aULL)
#endif

View File

@@ -0,0 +1,36 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_BUILTIN_DOUBLE_H
#define STD_MSGS_BUILTIN_DOUBLE_H
#include "trait_macros.h"
#include <std_msgs/Float64.h>
STD_MSGS_DEFINE_BUILTIN_TRAITS(double, Float64, 0xfdb28210bfa9d7c9ULL, 0x1146260178d9a584ULL)
#endif

View File

@@ -0,0 +1,36 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_BUILTIN_FLOAT_H
#define STD_MSGS_BUILTIN_FLOAT_H
#include "trait_macros.h"
#include <std_msgs/Float32.h>
STD_MSGS_DEFINE_BUILTIN_TRAITS(float, Float32, 0x73fcbf46b49191e6ULL, 0x72908e50842a83d4ULL)
#endif

View File

@@ -0,0 +1,36 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_BUILTIN_INT16_H
#define STD_MSGS_BUILTIN_INT16_H
#include "trait_macros.h"
#include <std_msgs/Int16.h>
STD_MSGS_DEFINE_BUILTIN_TRAITS(int16_t, Int16, 0x8524586e34fbd7cbULL, 0x1c08c5f5f1ca0e57ULL)
#endif

View File

@@ -0,0 +1,36 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_BUILTIN_INT32_H
#define STD_MSGS_BUILTIN_INT32_H
#include "trait_macros.h"
#include <std_msgs/Int32.h>
STD_MSGS_DEFINE_BUILTIN_TRAITS(int32_t, Int32, 0xda5909fbe378aeafULL, 0x85e547e830cc1bb7ULL)
#endif

View File

@@ -0,0 +1,36 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_BUILTIN_INT64_H
#define STD_MSGS_BUILTIN_INT64_H
#include "trait_macros.h"
#include <std_msgs/Int64.h>
STD_MSGS_DEFINE_BUILTIN_TRAITS(int64_t, Int64, 0x34add168574510e6ULL, 0xe17f5d23ecc077efULL)
#endif

View File

@@ -0,0 +1,36 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_BUILTIN_INT8_H
#define STD_MSGS_BUILTIN_INT8_H
#include "trait_macros.h"
#include <std_msgs/Int8.h>
STD_MSGS_DEFINE_BUILTIN_TRAITS(int8_t, Int8, 0x27ffa0c9c4b8fb84ULL, 0x92252bcad9e5c57bULL)
#endif

View File

@@ -0,0 +1,86 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_BUILTIN_STRING_H
#define STD_MSGS_BUILTIN_STRING_H
#include "trait_macros.h"
#include <std_msgs/String.h>
namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum<std::basic_string<char, std::char_traits<char>, ContainerAllocator> >
{
static const char* value()
{
ROS_STATIC_ASSERT(MD5Sum<std_msgs::String>::static_value1 == 0x992ce8a1687cec8cULL);
ROS_STATIC_ASSERT(MD5Sum<std_msgs::String>::static_value2 == 0x8bd883ec73ca41d1ULL);
return MD5Sum<std_msgs::String_<ContainerAllocator> >::value();
}
static const char* value(const std::basic_string<char, std::char_traits<char>, ContainerAllocator>&)
{
return value();
}
};
template<class ContainerAllocator >
struct DataType<std::basic_string<char, std::char_traits<char>, ContainerAllocator > >
{
static const char* value()
{
return DataType<std_msgs::String_<ContainerAllocator> >::value();
}
static const char* value(const std::basic_string<char, std::char_traits<char>, ContainerAllocator >&)
{
return value();
}
};
template<class ContainerAllocator >
struct Definition<std::basic_string<char, std::char_traits<char>, ContainerAllocator > >
{
static const char* value()
{
return Definition<std_msgs::String_<ContainerAllocator> >::value();
}
static const char* value(const std::basic_string<char, std::char_traits<char>, ContainerAllocator >&)
{
return value();
}
};
}
}
#endif

View File

@@ -0,0 +1,36 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_BUILTIN_UINT16_H
#define STD_MSGS_BUILTIN_UINT16_H
#include "trait_macros.h"
#include <std_msgs/UInt16.h>
STD_MSGS_DEFINE_BUILTIN_TRAITS(uint16_t, UInt16, 0x1df79edf208b629fULL, 0xe6b81923a544552dULL)
#endif

View File

@@ -0,0 +1,36 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_BUILTIN_UINT32_H
#define STD_MSGS_BUILTIN_UINT32_H
#include "trait_macros.h"
#include <std_msgs/UInt32.h>
STD_MSGS_DEFINE_BUILTIN_TRAITS(uint32_t, UInt32, 0x304a39449588c7f8ULL, 0xce2df6e8001c5fceULL)
#endif

View File

@@ -0,0 +1,36 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_BUILTIN_UINT64_H
#define STD_MSGS_BUILTIN_UINT64_H
#include "trait_macros.h"
#include <std_msgs/UInt64.h>
STD_MSGS_DEFINE_BUILTIN_TRAITS(uint64_t, UInt64, 0x1b2a79973e8bf53dULL, 0x7b53acb71299cb57ULL)
#endif

View File

@@ -0,0 +1,36 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_BUILTIN_UINT8_H
#define STD_MSGS_BUILTIN_UINT8_H
#include "trait_macros.h"
#include <std_msgs/UInt8.h>
STD_MSGS_DEFINE_BUILTIN_TRAITS(uint8_t, UInt8, 0x7c8164229e7d2c17ULL, 0xeb95e9231617fdeeULL)
#endif

View File

@@ -0,0 +1,249 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_INCLUDING_HEADER_DEPRECATED_DEF
#error("Do not include this file directly. Instead, include std_msgs/Header.h")
#endif
namespace roslib
{
template <class ContainerAllocator>
struct Header_ : public std_msgs::Header_<ContainerAllocator>
{
typedef Header_<ContainerAllocator> Type;
ROS_DEPRECATED Header_()
{
}
ROS_DEPRECATED Header_(const ContainerAllocator& _alloc)
: std_msgs::Header_<ContainerAllocator>(_alloc)
{
}
ROS_DEPRECATED Header_(const std_msgs::Header_<ContainerAllocator>& rhs)
{
*this = rhs;
}
ROS_DEPRECATED Type& operator=(const std_msgs::Header_<ContainerAllocator>& rhs)
{
if (this == &rhs)
return *this;
this->seq = rhs.seq;
this->stamp = rhs.stamp;
this->frame_id = rhs.frame_id;
return *this;
}
ROS_DEPRECATED operator std_msgs::Header_<ContainerAllocator>()
{
std_msgs::Header_<ContainerAllocator> h;
h.seq = this->seq;
h.stamp = this->stamp;
h.frame_id = this->frame_id;
return h;
}
private:
static const char* __s_getDataType_() { return "roslib/Header"; }
public:
static const std::string __s_getDataType() { return __s_getDataType_(); }
const std::string __getDataType() const { return __s_getDataType_(); }
private:
static const char* __s_getMD5Sum_() { return "2176decaecbce78abc3b96ef049fabed"; }
public:
static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
private:
static const char* __s_getMessageDefinition_() { return "# Standard metadata for higher-level stamped data types.\n\
# This is generally used to communicate timestamped data \n\
# in a particular coordinate frame.\n\
# \n\
# sequence ID: consecutively increasing ID \n\
uint32 seq\n\
#Two-integer timestamp that is expressed as:\n\
# * stamp.secs: seconds (stamp_secs) since epoch\n\
# * stamp.nsecs: nanoseconds since stamp_secs\n\
# time-handling sugar is provided by the client library\n\
time stamp\n\
#Frame this data is associated with\n\
# 0: no frame\n\
# 1: global frame\n\
string frame_id\n\
\n\
"; }
public:
static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
{
ros::serialization::OStream stream(write_ptr, 1000000000);
ros::serialization::serialize(stream, this->seq);
ros::serialization::serialize(stream, this->stamp);
ros::serialization::serialize(stream, this->frame_id);
return stream.getData();
}
virtual uint8_t *deserialize(uint8_t *read_ptr)
{
ros::serialization::IStream stream(read_ptr, 1000000000);
ros::serialization::deserialize(stream, this->seq);
ros::serialization::deserialize(stream, this->stamp);
ros::serialization::deserialize(stream, this->frame_id);
return stream.getData();
}
virtual uint32_t serializationLength() const
{
uint32_t size = 0;
size += ros::serialization::serializationLength(this->seq);
size += ros::serialization::serializationLength(this->stamp);
size += ros::serialization::serializationLength(this->frame_id);
return size;
}
typedef boost::shared_ptr< ::roslib::Header_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::roslib::Header_<ContainerAllocator> const> ConstPtr;
}; // struct Header
typedef ::roslib::Header_<std::allocator<void> > Header;
typedef boost::shared_ptr< ::roslib::Header> HeaderPtr;
typedef boost::shared_ptr< ::roslib::Header const> HeaderConstPtr;
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::roslib::Header_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::roslib::Header_<ContainerAllocator> >::stream(s, "", v);
return s;}
} // namespace roslib
namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::roslib::Header_<ContainerAllocator> > {
static const char* value()
{
return "2176decaecbce78abc3b96ef049fabed";
}
static const char* value(const ::roslib::Header_<ContainerAllocator> &) { return value(); }
static const uint64_t static_value1 = 0x2176decaecbce78aULL;
static const uint64_t static_value2 = 0xbc3b96ef049fabedULL;
};
template<class ContainerAllocator>
struct DataType< ::roslib::Header_<ContainerAllocator> > {
static const char* value()
{
return "roslib/Header";
}
static const char* value(const ::roslib::Header_<ContainerAllocator> &) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::roslib::Header_<ContainerAllocator> > {
static const char* value()
{
return "# Standard metadata for higher-level stamped data types.\n\
# This is generally used to communicate timestamped data \n\
# in a particular coordinate frame.\n\
# \n\
# sequence ID: consecutively increasing ID \n\
uint32 seq\n\
#Two-integer timestamp that is expressed as:\n\
# * stamp.secs: seconds (stamp_secs) since epoch\n\
# * stamp.nsecs: nanoseconds since stamp_secs\n\
# time-handling sugar is provided by the client library\n\
time stamp\n\
#Frame this data is associated with\n\
# 0: no frame\n\
# 1: global frame\n\
string frame_id\n\
\n\
";
}
static const char* value(const ::roslib::Header_<ContainerAllocator> &) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::roslib::Header_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.seq);
stream.next(m.stamp);
stream.next(m.frame_id);
}
ROS_DECLARE_ALLINONE_SERIALIZER;
}; // struct Header_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::roslib::Header_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::roslib::Header_<ContainerAllocator> & v)
{
s << indent << "seq: ";
Printer<uint32_t>::stream(s, indent + " ", v.seq);
s << indent << "stamp: ";
Printer<ros::Time>::stream(s, indent + " ", v.stamp);
s << indent << "frame_id: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.frame_id);
}
};
} // namespace message_operations
} // namespace ros

View File

@@ -0,0 +1,80 @@
/*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the names of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STD_MSGS_TRAIT_MACROS_H
#define STD_MSGS_TRAIT_MACROS_H
#define STD_MSGS_DEFINE_BUILTIN_TRAITS(builtin, msg, static_md5sum1, static_md5sum2) \
namespace ros \
{ \
namespace message_traits \
{ \
\
template<> struct MD5Sum<builtin> \
{ \
static const char* value() \
{ \
return MD5Sum<std_msgs::msg>::value(); \
} \
\
static const char* value(const builtin&) \
{ \
return value(); \
} \
}; \
\
template<> struct DataType<builtin> \
{ \
static const char* value() \
{ \
return DataType<std_msgs::msg>::value(); \
} \
\
static const char* value(const builtin&) \
{ \
return value(); \
} \
}; \
\
template<> struct Definition<builtin> \
{ \
static const char* value() \
{ \
return Definition<std_msgs::msg>::value(); \
} \
\
static const char* value(const builtin&) \
{ \
return value(); \
} \
}; \
\
} \
}
#endif // STD_MSGS_TRAIT_MACROS_H