#include <fixed_ratio_sampling_points_processor.h>
Public Member Functions | |
FixedRatioSamplingPointsProcessor (double sampling_ratio, PointsProcessor *next) | |
FixedRatioSamplingPointsProcessor (const FixedRatioSamplingPointsProcessor &)=delete | |
FlushResult | Flush () override |
FixedRatioSamplingPointsProcessor & | operator= (const FixedRatioSamplingPointsProcessor &)=delete |
void | Process (std::unique_ptr< PointsBatch > batch) override |
~FixedRatioSamplingPointsProcessor () override | |
Public Member Functions inherited from cartographer::io::PointsProcessor | |
PointsProcessor & | operator= (const PointsProcessor &)=delete |
PointsProcessor () | |
PointsProcessor (const PointsProcessor &)=delete | |
virtual | ~PointsProcessor () |
Static Public Member Functions | |
static std::unique_ptr< FixedRatioSamplingPointsProcessor > | FromDictionary (common::LuaParameterDictionary *dictionary, PointsProcessor *next) |
Static Public Attributes | |
static constexpr const char * | kConfigurationFileActionName |
Private Attributes | |
PointsProcessor *const | next_ |
std::unique_ptr< common::FixedRatioSampler > | sampler_ |
const double | sampling_ratio_ |
Additional Inherited Members | |
Public Types inherited from cartographer::io::PointsProcessor | |
enum | FlushResult { FlushResult::kRestartStream, FlushResult::kFinished } |
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.
|
inlineoverride |
Definition at line 42 of file fixed_ratio_sampling_points_processor.h.
|
delete |
|
overridevirtual |
Implements cartographer::io::PointsProcessor.
Definition at line 55 of file fixed_ratio_sampling_points_processor.cc.
|
static |
Definition at line 27 of file fixed_ratio_sampling_points_processor.cc.
|
delete |
|
overridevirtual |
Implements cartographer::io::PointsProcessor.
Definition at line 43 of file fixed_ratio_sampling_points_processor.cc.
|
static |
Definition at line 33 of file fixed_ratio_sampling_points_processor.h.
|
private |
Definition at line 54 of file fixed_ratio_sampling_points_processor.h.
|
private |
Definition at line 55 of file fixed_ratio_sampling_points_processor.h.
|
private |
Definition at line 53 of file fixed_ratio_sampling_points_processor.h.