67 lines
1.9 KiB
C++
67 lines
1.9 KiB
C++
// Generated by gencpp from file robot_std_msgs/Header.msg
|
|
// DO NOT EDIT!
|
|
|
|
#ifndef ROBOT_STD_MSGS_MESSAGE_HEADER_H
|
|
#define ROBOT_STD_MSGS_MESSAGE_HEADER_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <memory>
|
|
|
|
#include <robot/time.h>
|
|
|
|
namespace robot_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 robot::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 std::shared_ptr<::robot_std_msgs::Header_<ContainerAllocator>> Ptr;
|
|
typedef std::shared_ptr<::robot_std_msgs::Header_<ContainerAllocator> const> ConstPtr;
|
|
|
|
}; // struct Header_
|
|
|
|
typedef ::robot_std_msgs::Header_<std::allocator<void>> Header;
|
|
|
|
typedef std::shared_ptr<::robot_std_msgs::Header> HeaderPtr;
|
|
typedef std::shared_ptr<::robot_std_msgs::Header const> HeaderConstPtr;
|
|
|
|
// constants requiring out of line definition
|
|
template <typename ContainerAllocator1, typename ContainerAllocator2>
|
|
bool operator==(const ::robot_std_msgs::Header_<ContainerAllocator1> &lhs, const ::robot_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 ::robot_std_msgs::Header_<ContainerAllocator1> &lhs, const ::robot_std_msgs::Header_<ContainerAllocator2> &rhs)
|
|
{
|
|
return !(lhs == rhs);
|
|
}
|
|
|
|
} // namespace robot_std_msgs
|
|
|
|
#endif // ROBOT_STD_MSGS_MESSAGE_HEADER_H
|