// Generated by gencpp from file realsense_legacy_msgs/metadata.msg // DO NOT EDIT! #ifndef realsense_legacy_msgs_MESSAGE_METADATA_H #define realsense_legacy_msgs_MESSAGE_METADATA_H #include #include #include #include #include #include #include namespace realsense_legacy_msgs { template struct metadata_ { typedef metadata_ Type; metadata_() : type(0) , data() { } metadata_(const ContainerAllocator& _alloc) : type(0) , data(_alloc) { (void)_alloc; } typedef uint32_t _type_type; _type_type type; typedef std::vector::template rebind_alloc< uint8_t > > _data_type; _data_type data; typedef std::shared_ptr< ::realsense_legacy_msgs::metadata_ > Ptr; typedef std::shared_ptr< ::realsense_legacy_msgs::metadata_ const> ConstPtr; }; // struct metadata_ typedef ::realsense_legacy_msgs::metadata_ > metadata; typedef std::shared_ptr< ::realsense_legacy_msgs::metadata > metadataPtr; typedef std::shared_ptr< ::realsense_legacy_msgs::metadata const> metadataConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::metadata_ & v) { rs2rosinternal::message_operations::Printer< ::realsense_legacy_msgs::metadata_ >::stream(s, "", v); return s; } } // namespace realsense_legacy_msgs namespace rs2rosinternal { namespace message_traits { // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False} // {'sensor_msgs': ['/opt/ros/kinetic/share/sensor_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'realsense_legacy_msgs': ['/home/administrator/ros/realsense_sdk_internal/sdk_internal/tools/realsense_legacy_msgs_generator/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< ::realsense_legacy_msgs::metadata_ > : std::false_type { }; template struct IsFixedSize< ::realsense_legacy_msgs::metadata_ const> : std::false_type { }; template struct IsMessage< ::realsense_legacy_msgs::metadata_ > : std::true_type { }; template struct IsMessage< ::realsense_legacy_msgs::metadata_ const> : std::true_type { }; template struct HasHeader< ::realsense_legacy_msgs::metadata_ > : std::false_type { }; template struct HasHeader< ::realsense_legacy_msgs::metadata_ const> : std::false_type { }; template struct MD5Sum< ::realsense_legacy_msgs::metadata_ > { static const char* value() { return "ca2eb36f087bcfd95f0aa6ff2df9ebdb"; } static const char* value(const ::realsense_legacy_msgs::metadata_&) { return value(); } static const uint64_t static_value1 = 0xca2eb36f087bcfd9ULL; static const uint64_t static_value2 = 0x5f0aa6ff2df9ebdbULL; }; template struct DataType< ::realsense_legacy_msgs::metadata_ > { static const char* value() { return "realsense_legacy_msgs/metadata"; } static const char* value(const ::realsense_legacy_msgs::metadata_&) { return value(); } }; template struct Definition< ::realsense_legacy_msgs::metadata_ > { static const char* value() { return "uint32 type\n\ uint8[] data\n\ "; } static const char* value(const ::realsense_legacy_msgs::metadata_&) { return value(); } }; } // namespace message_traits } // namespace rs2rosinternal namespace rs2rosinternal { namespace serialization { template struct Serializer< ::realsense_legacy_msgs::metadata_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.type); stream.next(m.data); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct metadata_ } // namespace serialization } // namespace rs2rosinternal namespace rs2rosinternal { namespace message_operations { template struct Printer< ::realsense_legacy_msgs::metadata_ > { template static void stream(Stream& s, const std::string& indent, const ::realsense_legacy_msgs::metadata_& v) { s << indent << "type: "; Printer::stream(s, indent + " ", v.type); s << indent << "data[]" << std::endl; for (size_t i = 0; i < v.data.size(); ++i) { s << indent << " data[" << i << "]: "; Printer::stream(s, indent + " ", v.data[i]); } } }; } // namespace message_operations } // namespace rs2rosinternal #endif // realsense_legacy_msgs_MESSAGE_METADATA_H