#include <fixed_ratio_sampling_points_processor.h>
Public Member Functions | |
FixedRatioSamplingPointsProcessor (double sampling_ratio, PointsProcessor *next) | |
FixedRatioSamplingPointsProcessor (const FixedRatioSamplingPointsProcessor &) | |
FlushResult | Flush () override |
FixedRatioSamplingPointsProcessor & | operator= (const FixedRatioSamplingPointsProcessor &) |
void | Process (std::unique_ptr< PointsBatch > batch) override |
~FixedRatioSamplingPointsProcessor () override | |
Static Public Member Functions | |
static std::unique_ptr < FixedRatioSamplingPointsProcessor > | FromDictionary (common::LuaParameterDictionary *dictionary, PointsProcessor *next) |
Static Public Attributes | |
static constexpr const char * | kConfigurationFileActionName = "fixed_ratio_sampler" |
Private Attributes | |
PointsProcessor *const | next_ |
std::unique_ptr < common::FixedRatioSampler > | sampler_ |
const double | sampling_ratio_ |
Definition at line 31 of file fixed_ratio_sampling_points_processor.h.
cartographer::io::FixedRatioSamplingPointsProcessor::FixedRatioSamplingPointsProcessor | ( | double | sampling_ratio, |
PointsProcessor * | next | ||
) |
Definition at line 37 of file fixed_ratio_sampling_points_processor.cc.
cartographer::io::FixedRatioSamplingPointsProcessor::~FixedRatioSamplingPointsProcessor | ( | ) | [inline, override] |
Definition at line 42 of file fixed_ratio_sampling_points_processor.h.
cartographer::io::FixedRatioSamplingPointsProcessor::FixedRatioSamplingPointsProcessor | ( | const FixedRatioSamplingPointsProcessor & | ) |
PointsProcessor::FlushResult cartographer::io::FixedRatioSamplingPointsProcessor::Flush | ( | ) | [override, virtual] |
Implements cartographer::io::PointsProcessor.
Definition at line 55 of file fixed_ratio_sampling_points_processor.cc.
std::unique_ptr< FixedRatioSamplingPointsProcessor > cartographer::io::FixedRatioSamplingPointsProcessor::FromDictionary | ( | common::LuaParameterDictionary * | dictionary, |
PointsProcessor * | next | ||
) | [static] |
Definition at line 27 of file fixed_ratio_sampling_points_processor.cc.
FixedRatioSamplingPointsProcessor& cartographer::io::FixedRatioSamplingPointsProcessor::operator= | ( | const FixedRatioSamplingPointsProcessor & | ) |
void cartographer::io::FixedRatioSamplingPointsProcessor::Process | ( | std::unique_ptr< PointsBatch > | batch | ) | [override, virtual] |
Implements cartographer::io::PointsProcessor.
Definition at line 43 of file fixed_ratio_sampling_points_processor.cc.
constexpr const char* cartographer::io::FixedRatioSamplingPointsProcessor::kConfigurationFileActionName = "fixed_ratio_sampler" [static] |
Definition at line 33 of file fixed_ratio_sampling_points_processor.h.
Definition at line 54 of file fixed_ratio_sampling_points_processor.h.
std::unique_ptr<common::FixedRatioSampler> cartographer::io::FixedRatioSamplingPointsProcessor::sampler_ [private] |
Definition at line 55 of file fixed_ratio_sampling_points_processor.h.
const double cartographer::io::FixedRatioSamplingPointsProcessor::sampling_ratio_ [private] |
Definition at line 53 of file fixed_ratio_sampling_points_processor.h.