// Generated by gencpp from file astra_camera/Metadata.msg // DO NOT EDIT! #ifndef ASTRA_CAMERA_MESSAGE_METADATA_H #define ASTRA_CAMERA_MESSAGE_METADATA_H #include #include #include #include #include #include #include #include namespace astra_camera { template struct Metadata_ { typedef Metadata_ Type; Metadata_() : header() , json_data() { } Metadata_(const ContainerAllocator& _alloc) : header(_alloc) , json_data(_alloc) { (void)_alloc; } typedef ::std_msgs::Header_ _header_type; _header_type header; typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _json_data_type; _json_data_type json_data; typedef boost::shared_ptr< ::astra_camera::Metadata_ > Ptr; typedef boost::shared_ptr< ::astra_camera::Metadata_ const> ConstPtr; }; // struct Metadata_ typedef ::astra_camera::Metadata_ > Metadata; typedef boost::shared_ptr< ::astra_camera::Metadata > MetadataPtr; typedef boost::shared_ptr< ::astra_camera::Metadata const> MetadataConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::astra_camera::Metadata_ & v) { ros::message_operations::Printer< ::astra_camera::Metadata_ >::stream(s, "", v); return s; } template bool operator==(const ::astra_camera::Metadata_ & lhs, const ::astra_camera::Metadata_ & rhs) { return lhs.header == rhs.header && lhs.json_data == rhs.json_data; } template bool operator!=(const ::astra_camera::Metadata_ & lhs, const ::astra_camera::Metadata_ & rhs) { return !(lhs == rhs); } } // namespace astra_camera namespace ros { namespace message_traits { template struct IsMessage< ::astra_camera::Metadata_ > : TrueType { }; template struct IsMessage< ::astra_camera::Metadata_ const> : TrueType { }; template struct IsFixedSize< ::astra_camera::Metadata_ > : FalseType { }; template struct IsFixedSize< ::astra_camera::Metadata_ const> : FalseType { }; template struct HasHeader< ::astra_camera::Metadata_ > : TrueType { }; template struct HasHeader< ::astra_camera::Metadata_ const> : TrueType { }; template struct MD5Sum< ::astra_camera::Metadata_ > { static const char* value() { return "4966ca002be16ee67fe4dbfb2f354787"; } static const char* value(const ::astra_camera::Metadata_&) { return value(); } static const uint64_t static_value1 = 0x4966ca002be16ee6ULL; static const uint64_t static_value2 = 0x7fe4dbfb2f354787ULL; }; template struct DataType< ::astra_camera::Metadata_ > { static const char* value() { return "astra_camera/Metadata"; } static const char* value(const ::astra_camera::Metadata_&) { return value(); } }; template struct Definition< ::astra_camera::Metadata_ > { static const char* value() { return "std_msgs/Header header\n" "string json_data\n" "\n" "================================================================================\n" "MSG: std_msgs/Header\n" "# 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 ::astra_camera::Metadata_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::astra_camera::Metadata_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.header); stream.next(m.json_data); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct Metadata_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::astra_camera::Metadata_ > { template static void stream(Stream& s, const std::string& indent, const ::astra_camera::Metadata_& v) { s << indent << "header: "; s << std::endl; Printer< ::std_msgs::Header_ >::stream(s, indent + " ", v.header); s << indent << "json_data: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.json_data); } }; } // namespace message_operations } // namespace ros #endif // ASTRA_CAMERA_MESSAGE_METADATA_H