// 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 ContainerAllocator::template rebind::other > _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; } } // namespace std_msgs namespace ros { namespace message_traits { // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False} // {'std_msgs': ['/tmp/binarydeb/ros-kinetic-std-msgs-0.5.11/msg']} // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types'] template struct IsFixedSize< ::std_msgs::Header_ > : FalseType { }; template struct IsFixedSize< ::std_msgs::Header_ const> : FalseType { }; template struct IsMessage< ::std_msgs::Header_ > : TrueType { }; template struct IsMessage< ::std_msgs::Header_ const> : TrueType { }; 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\ # 0: no frame\n\ # 1: global frame\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 ContainerAllocator::template rebind::other > >::stream(s, indent + " ", v.frame_id); } }; } // namespace message_operations } // namespace ros #endif // STD_MSGS_MESSAGE_HEADER_H