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

#include <fixed_ratio_sampling_points_processor.h>

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

Public Member Functions

 FixedRatioSamplingPointsProcessor (double sampling_ratio, PointsProcessor *next)
 
 FixedRatioSamplingPointsProcessor (const FixedRatioSamplingPointsProcessor &)=delete
 
FlushResult Flush () override
 
FixedRatioSamplingPointsProcessoroperator= (const FixedRatioSamplingPointsProcessor &)=delete
 
void Process (std::unique_ptr< PointsBatch > batch) override
 
 ~FixedRatioSamplingPointsProcessor () 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< FixedRatioSamplingPointsProcessorFromDictionary (common::LuaParameterDictionary *dictionary, PointsProcessor *next)
 

Static Public Attributes

static constexpr const char * kConfigurationFileActionName
 

Private Attributes

PointsProcessor *const next_
 
std::unique_ptr< common::FixedRatioSamplersampler_
 
const double sampling_ratio_
 

Additional Inherited Members

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

Detailed Description

Definition at line 31 of file fixed_ratio_sampling_points_processor.h.

Constructor & Destructor Documentation

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 ( )
inlineoverride

Definition at line 42 of file fixed_ratio_sampling_points_processor.h.

cartographer::io::FixedRatioSamplingPointsProcessor::FixedRatioSamplingPointsProcessor ( const FixedRatioSamplingPointsProcessor )
delete

Member Function Documentation

PointsProcessor::FlushResult cartographer::io::FixedRatioSamplingPointsProcessor::Flush ( )
overridevirtual
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 )
delete
void cartographer::io::FixedRatioSamplingPointsProcessor::Process ( std::unique_ptr< PointsBatch batch)
overridevirtual

Member Data Documentation

constexpr const char* cartographer::io::FixedRatioSamplingPointsProcessor::kConfigurationFileActionName
static
Initial value:
=
"fixed_ratio_sampler"

Definition at line 33 of file fixed_ratio_sampling_points_processor.h.

PointsProcessor* const cartographer::io::FixedRatioSamplingPointsProcessor::next_
private

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.


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


cartographer
Author(s):
autogenerated on Wed Jun 5 2019 21:58:00