// 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 #include #include #include #include #include #include namespace std_msgs { template struct Header_ { typedef Header_ 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, typename std::allocator_traits::template rebind_alloc> _frame_id_type; _frame_id_type frame_id; typedef boost::shared_ptr< ::std_msgs::Header_ > Ptr; typedef boost::shared_ptr< ::std_msgs::Header_ const> ConstPtr; }; // struct Header_ typedef ::std_msgs::Header_ > 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 std::ostream& operator<<(std::ostream& s, const ::std_msgs::Header_ & v) { ros::message_operations::Printer< ::std_msgs::Header_ >::stream(s, "", v); return s; } template bool operator==(const ::std_msgs::Header_ & lhs, const ::std_msgs::Header_ & rhs) { return lhs.seq == rhs.seq && lhs.stamp == rhs.stamp && lhs.frame_id == rhs.frame_id; } template bool operator!=(const ::std_msgs::Header_ & lhs, const ::std_msgs::Header_ & rhs) { return !(lhs == rhs); } } // namespace std_msgs namespace ros { namespace message_traits { template struct IsMessage< ::std_msgs::Header_ > : TrueType { }; template struct IsMessage< ::std_msgs::Header_ const> : TrueType { }; template struct IsFixedSize< ::std_msgs::Header_ > : FalseType { }; template struct IsFixedSize< ::std_msgs::Header_ const> : FalseType { }; template struct HasHeader< ::std_msgs::Header_ > : FalseType { }; template struct HasHeader< ::std_msgs::Header_ const> : FalseType { }; template struct MD5Sum< ::std_msgs::Header_ > { static const char* value() { return "2176decaecbce78abc3b96ef049fabed"; } static const char* value(const ::std_msgs::Header_&) { return value(); } static const uint64_t static_value1 = 0x2176decaecbce78aULL; static const uint64_t static_value2 = 0xbc3b96ef049fabedULL; }; template struct DataType< ::std_msgs::Header_ > { static const char* value() { return "std_msgs/Header"; } static const char* value(const ::std_msgs::Header_&) { return value(); } }; template struct Definition< ::std_msgs::Header_ > { 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_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::std_msgs::Header_ > { template 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 struct Printer< ::std_msgs::Header_ > { template static void stream(Stream& s, const std::string& indent, const ::std_msgs::Header_& v) { s << indent << "seq: "; Printer::stream(s, indent + " ", v.seq); s << indent << "stamp: "; Printer::stream(s, indent + " ", v.stamp); s << indent << "frame_id: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.frame_id); } }; } // namespace message_operations } // namespace ros #endif // STD_MSGS_MESSAGE_HEADER_H