#include <in_memory_proto_stream.h>
Public Member Functions | |
template<typename MessageType > | |
void | AddProto (const MessageType &proto) |
bool | eof () const override |
InMemoryProtoStreamReader (std::queue< std::unique_ptr< google::protobuf::Message >> &&state_chunks) | |
InMemoryProtoStreamReader () | |
InMemoryProtoStreamReader (const InMemoryProtoStreamReader &) | |
InMemoryProtoStreamReader & | operator= (const InMemoryProtoStreamReader &) |
bool | ReadProto (google::protobuf::Message *proto) override |
~InMemoryProtoStreamReader () | |
Private Attributes | |
std::queue< std::unique_ptr < google::protobuf::Message > > | state_chunks_ |
Definition at line 50 of file in_memory_proto_stream.h.
cartographer::io::InMemoryProtoStreamReader::InMemoryProtoStreamReader | ( | std::queue< std::unique_ptr< google::protobuf::Message >> && | state_chunks | ) | [inline, explicit] |
Definition at line 53 of file in_memory_proto_stream.h.
cartographer::io::InMemoryProtoStreamReader::InMemoryProtoStreamReader | ( | const InMemoryProtoStreamReader & | ) |
void cartographer::io::InMemoryProtoStreamReader::AddProto | ( | const MessageType & | proto | ) | [inline] |
Definition at line 64 of file in_memory_proto_stream.h.
bool cartographer::io::InMemoryProtoStreamReader::eof | ( | ) | const [inline, override, virtual] |
Implements cartographer::io::ProtoStreamReaderInterface.
Definition at line 69 of file in_memory_proto_stream.h.
InMemoryProtoStreamReader& cartographer::io::InMemoryProtoStreamReader::operator= | ( | const InMemoryProtoStreamReader & | ) |
bool cartographer::io::InMemoryProtoStreamReader::ReadProto | ( | google::protobuf::Message * | proto | ) | [override, virtual] |
Implements cartographer::io::ProtoStreamReaderInterface.
Definition at line 31 of file in_memory_proto_stream.cc.
std::queue<std::unique_ptr<google::protobuf::Message> > cartographer::io::InMemoryProtoStreamReader::state_chunks_ [private] |
Definition at line 72 of file in_memory_proto_stream.h.