Public Member Functions | Private Attributes | List of all members
cartographer::io::InMemoryProtoStreamReader Class Reference

#include <in_memory_proto_stream.h>

Inheritance diagram for cartographer::io::InMemoryProtoStreamReader:
Inheritance graph
[legend]

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 ()=default
 
 InMemoryProtoStreamReader (const InMemoryProtoStreamReader &)=delete
 
InMemoryProtoStreamReaderoperator= (const InMemoryProtoStreamReader &)=delete
 
bool ReadProto (google::protobuf::Message *proto) override
 
 ~InMemoryProtoStreamReader ()=default
 
- Public Member Functions inherited from cartographer::io::ProtoStreamReaderInterface
 ProtoStreamReaderInterface ()=default
 
virtual ~ProtoStreamReaderInterface ()
 

Private Attributes

std::queue< std::unique_ptr< google::protobuf::Message > > state_chunks_
 

Detailed Description

Definition at line 50 of file in_memory_proto_stream.h.

Constructor & Destructor Documentation

◆ InMemoryProtoStreamReader() [1/3]

cartographer::io::InMemoryProtoStreamReader::InMemoryProtoStreamReader ( std::queue< std::unique_ptr< google::protobuf::Message >> &&  state_chunks)
inlineexplicit

Definition at line 53 of file in_memory_proto_stream.h.

◆ InMemoryProtoStreamReader() [2/3]

cartographer::io::InMemoryProtoStreamReader::InMemoryProtoStreamReader ( )
default

◆ ~InMemoryProtoStreamReader()

cartographer::io::InMemoryProtoStreamReader::~InMemoryProtoStreamReader ( )
default

◆ InMemoryProtoStreamReader() [3/3]

cartographer::io::InMemoryProtoStreamReader::InMemoryProtoStreamReader ( const InMemoryProtoStreamReader )
delete

Member Function Documentation

◆ AddProto()

template<typename MessageType >
void cartographer::io::InMemoryProtoStreamReader::AddProto ( const MessageType &  proto)
inline

Definition at line 64 of file in_memory_proto_stream.h.

◆ eof()

bool cartographer::io::InMemoryProtoStreamReader::eof ( ) const
inlineoverridevirtual

◆ operator=()

InMemoryProtoStreamReader& cartographer::io::InMemoryProtoStreamReader::operator= ( const InMemoryProtoStreamReader )
delete

◆ ReadProto()

bool cartographer::io::InMemoryProtoStreamReader::ReadProto ( google::protobuf::Message *  proto)
overridevirtual

Member Data Documentation

◆ state_chunks_

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.


The documentation for this class was generated from the following files:


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59