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

#include <counting_points_processor.h>

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

Public Member Functions

 CountingPointsProcessor (PointsProcessor *next)
 
 CountingPointsProcessor (const CountingPointsProcessor &)=delete
 
FlushResult Flush () override
 
CountingPointsProcessoroperator= (const CountingPointsProcessor &)=delete
 
void Process (std::unique_ptr< PointsBatch > points) override
 
 ~CountingPointsProcessor () override
 
- Public Member Functions inherited from cartographer::io::PointsProcessor
PointsProcessoroperator= (const PointsProcessor &)=delete
 
 PointsProcessor ()
 
 PointsProcessor (const PointsProcessor &)=delete
 
virtual ~PointsProcessor ()
 

Static Public Member Functions

static std::unique_ptr< CountingPointsProcessorFromDictionary (common::LuaParameterDictionary *dictionary, PointsProcessor *next)
 

Static Public Attributes

static constexpr const char * kConfigurationFileActionName = "dump_num_points"
 

Private Attributes

PointsProcessornext_
 
int64 num_points_
 

Additional Inherited Members

- Public Types inherited from cartographer::io::PointsProcessor
enum  FlushResult { FlushResult::kRestartStream, FlushResult::kFinished }
 

Detailed Description

Definition at line 28 of file counting_points_processor.h.

Constructor & Destructor Documentation

◆ CountingPointsProcessor() [1/2]

cartographer::io::CountingPointsProcessor::CountingPointsProcessor ( PointsProcessor next)
explicit

Definition at line 25 of file counting_points_processor.cc.

◆ ~CountingPointsProcessor()

cartographer::io::CountingPointsProcessor::~CountingPointsProcessor ( )
inlineoverride

Definition at line 36 of file counting_points_processor.h.

◆ CountingPointsProcessor() [2/2]

cartographer::io::CountingPointsProcessor::CountingPointsProcessor ( const CountingPointsProcessor )
delete

Member Function Documentation

◆ Flush()

PointsProcessor::FlushResult cartographer::io::CountingPointsProcessor::Flush ( )
overridevirtual

Implements cartographer::io::PointsProcessor.

Definition at line 40 of file counting_points_processor.cc.

◆ FromDictionary()

std::unique_ptr< CountingPointsProcessor > cartographer::io::CountingPointsProcessor::FromDictionary ( common::LuaParameterDictionary dictionary,
PointsProcessor next 
)
static

Definition at line 29 of file counting_points_processor.cc.

◆ operator=()

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

◆ Process()

void cartographer::io::CountingPointsProcessor::Process ( std::unique_ptr< PointsBatch points)
overridevirtual

Implements cartographer::io::PointsProcessor.

Definition at line 35 of file counting_points_processor.cc.

Member Data Documentation

◆ kConfigurationFileActionName

constexpr const char* cartographer::io::CountingPointsProcessor::kConfigurationFileActionName = "dump_num_points"
static

Definition at line 30 of file counting_points_processor.h.

◆ next_

PointsProcessor* cartographer::io::CountingPointsProcessor::next_
private

Definition at line 46 of file counting_points_processor.h.

◆ num_points_

int64 cartographer::io::CountingPointsProcessor::num_points_
private

Definition at line 45 of file counting_points_processor.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