17 #ifndef CARTOGRAPHER_IO_PROTO_STREAM_DESERIALIZER_H_ 18 #define CARTOGRAPHER_IO_PROTO_STREAM_DESERIALIZER_H_ 21 #include "cartographer/mapping/proto/pose_graph.pb.h" 22 #include "cartographer/mapping/proto/serialization.pb.h" 23 #include "cartographer/mapping/proto/trajectory_builder_options.pb.h" 30 const std::string& file_name);
51 const mapping::proto::AllTrajectoryBuilderOptions&
64 mapping::proto::SerializationHeader
header_;
72 #endif // CARTOGRAPHER_IO_PROTO_STREAM_DESERIALIZER_H_ ProtoStreamDeserializer & operator=(const ProtoStreamDeserializer &)=delete
mapping::proto::SerializedData pose_graph_
const mapping::proto::PoseGraph & pose_graph() const
mapping::proto::SerializationHeader & header()
ProtoStreamReaderInterface * reader_
bool ReadNextSerializedData(mapping::proto::SerializedData *data)
ProtoStreamDeserializer(ProtoStreamReaderInterface *const reader)
mapping::proto::PoseGraph & pose_graph()
mapping::proto::PoseGraph DeserializePoseGraphFromFile(const std::string &file_name)
const mapping::proto::AllTrajectoryBuilderOptions & all_trajectory_builder_options()
mapping::proto::SerializationHeader header_
mapping::proto::SerializedData all_trajectory_builder_options_