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

#include <hybrid_grid_points_processor.h>

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

Public Member Functions

FlushResult Flush () override
 
 HybridGridPointsProcessor (double voxel_size, const mapping::proto::RangeDataInserterOptions3D &range_data_inserter_options, std::unique_ptr< FileWriter > file_writer, PointsProcessor *next)
 
 HybridGridPointsProcessor (const HybridGridPointsProcessor &)=delete
 
HybridGridPointsProcessoroperator= (const HybridGridPointsProcessor &)=delete
 
void Process (std::unique_ptr< PointsBatch > batch) override
 
 ~HybridGridPointsProcessor () 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< HybridGridPointsProcessorFromDictionary (const FileWriterFactory &file_writer_factory, common::LuaParameterDictionary *dictionary, PointsProcessor *next)
 

Static Public Attributes

static constexpr const char * kConfigurationFileActionName
 

Private Attributes

std::unique_ptr< FileWriterfile_writer_
 
mapping::HybridGrid hybrid_grid_
 
PointsProcessor *const next_
 
mapping::RangeDataInserter3D range_data_inserter_
 

Additional Inherited Members

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

Detailed Description

Definition at line 22 of file hybrid_grid_points_processor.h.

Constructor & Destructor Documentation

◆ HybridGridPointsProcessor() [1/2]

cartographer::io::HybridGridPointsProcessor::HybridGridPointsProcessor ( double  voxel_size,
const mapping::proto::RangeDataInserterOptions3D &  range_data_inserter_options,
std::unique_ptr< FileWriter file_writer,
PointsProcessor next 
)

Definition at line 19 of file hybrid_grid_points_processor.cc.

◆ HybridGridPointsProcessor() [2/2]

cartographer::io::HybridGridPointsProcessor::HybridGridPointsProcessor ( const HybridGridPointsProcessor )
delete

◆ ~HybridGridPointsProcessor()

cartographer::io::HybridGridPointsProcessor::~HybridGridPointsProcessor ( )
inlineoverride

Definition at line 39 of file hybrid_grid_points_processor.h.

Member Function Documentation

◆ Flush()

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

Implements cartographer::io::PointsProcessor.

Definition at line 47 of file hybrid_grid_points_processor.cc.

◆ FromDictionary()

std::unique_ptr< HybridGridPointsProcessor > cartographer::io::HybridGridPointsProcessor::FromDictionary ( const FileWriterFactory file_writer_factory,
common::LuaParameterDictionary dictionary,
PointsProcessor next 
)
static

Definition at line 30 of file hybrid_grid_points_processor.cc.

◆ operator=()

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

◆ Process()

void cartographer::io::HybridGridPointsProcessor::Process ( std::unique_ptr< PointsBatch batch)
overridevirtual

Implements cartographer::io::PointsProcessor.

Definition at line 41 of file hybrid_grid_points_processor.cc.

Member Data Documentation

◆ file_writer_

std::unique_ptr<FileWriter> cartographer::io::HybridGridPointsProcessor::file_writer_
private

Definition at line 49 of file hybrid_grid_points_processor.h.

◆ hybrid_grid_

mapping::HybridGrid cartographer::io::HybridGridPointsProcessor::hybrid_grid_
private

Definition at line 48 of file hybrid_grid_points_processor.h.

◆ kConfigurationFileActionName

constexpr const char* cartographer::io::HybridGridPointsProcessor::kConfigurationFileActionName
static
Initial value:
=
"write_hybrid_grid"

Definition at line 24 of file hybrid_grid_points_processor.h.

◆ next_

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

Definition at line 45 of file hybrid_grid_points_processor.h.

◆ range_data_inserter_

mapping::RangeDataInserter3D cartographer::io::HybridGridPointsProcessor::range_data_inserter_
private

Definition at line 47 of file hybrid_grid_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