#include <counting_points_processor.h>
Public Member Functions | |
CountingPointsProcessor (PointsProcessor *next) | |
CountingPointsProcessor (const CountingPointsProcessor &) | |
FlushResult | Flush () override |
CountingPointsProcessor & | operator= (const CountingPointsProcessor &) |
void | Process (std::unique_ptr< PointsBatch > points) override |
~CountingPointsProcessor () override | |
Static Public Member Functions | |
static std::unique_ptr < CountingPointsProcessor > | FromDictionary (common::LuaParameterDictionary *dictionary, PointsProcessor *next) |
Static Public Attributes | |
static constexpr const char * | kConfigurationFileActionName = "dump_num_points" |
Private Attributes | |
PointsProcessor * | next_ |
int64 | num_points_ |
Definition at line 28 of file counting_points_processor.h.
cartographer::io::CountingPointsProcessor::CountingPointsProcessor | ( | PointsProcessor * | next | ) | [explicit] |
Definition at line 25 of file counting_points_processor.cc.
cartographer::io::CountingPointsProcessor::~CountingPointsProcessor | ( | ) | [inline, override] |
Definition at line 36 of file counting_points_processor.h.
cartographer::io::CountingPointsProcessor::CountingPointsProcessor | ( | const CountingPointsProcessor & | ) |
PointsProcessor::FlushResult cartographer::io::CountingPointsProcessor::Flush | ( | ) | [override, virtual] |
Implements cartographer::io::PointsProcessor.
Definition at line 40 of file counting_points_processor.cc.
std::unique_ptr< CountingPointsProcessor > cartographer::io::CountingPointsProcessor::FromDictionary | ( | common::LuaParameterDictionary * | dictionary, |
PointsProcessor * | next | ||
) | [static] |
Definition at line 29 of file counting_points_processor.cc.
CountingPointsProcessor& cartographer::io::CountingPointsProcessor::operator= | ( | const CountingPointsProcessor & | ) |
void cartographer::io::CountingPointsProcessor::Process | ( | std::unique_ptr< PointsBatch > | points | ) | [override, virtual] |
Implements cartographer::io::PointsProcessor.
Definition at line 35 of file counting_points_processor.cc.
constexpr const char* cartographer::io::CountingPointsProcessor::kConfigurationFileActionName = "dump_num_points" [static] |
Definition at line 30 of file counting_points_processor.h.
Definition at line 46 of file counting_points_processor.h.
int64 cartographer::io::CountingPointsProcessor::num_points_ [private] |
Definition at line 45 of file counting_points_processor.h.