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

#include <pcd_writing_points_processor.h>

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

Public Member Functions

FlushResult Flush () override
 
PcdWritingPointsProcessoroperator= (const PcdWritingPointsProcessor &)=delete
 
 PcdWritingPointsProcessor (std::unique_ptr< FileWriter > file_writer, PointsProcessor *next)
 
 PcdWritingPointsProcessor (const PcdWritingPointsProcessor &)=delete
 
void Process (std::unique_ptr< PointsBatch > batch) override
 
 ~PcdWritingPointsProcessor () 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< PcdWritingPointsProcessorFromDictionary (FileWriterFactory file_writer_factory, common::LuaParameterDictionary *dictionary, PointsProcessor *next)
 

Static Public Attributes

static constexpr const char * kConfigurationFileActionName = "write_pcd"
 

Private Attributes

std::unique_ptr< FileWriterfile_writer_
 
bool has_colors_
 
PointsProcessor *const next_
 
int64 num_points_
 

Additional Inherited Members

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

Detailed Description

Definition at line 27 of file pcd_writing_points_processor.h.

Constructor & Destructor Documentation

◆ PcdWritingPointsProcessor() [1/2]

cartographer::io::PcdWritingPointsProcessor::PcdWritingPointsProcessor ( std::unique_ptr< FileWriter file_writer,
PointsProcessor next 
)

Definition at line 89 of file pcd_writing_points_processor.cc.

◆ ~PcdWritingPointsProcessor()

cartographer::io::PcdWritingPointsProcessor::~PcdWritingPointsProcessor ( )
inlineoverride

Definition at line 37 of file pcd_writing_points_processor.h.

◆ PcdWritingPointsProcessor() [2/2]

cartographer::io::PcdWritingPointsProcessor::PcdWritingPointsProcessor ( const PcdWritingPointsProcessor )
delete

Member Function Documentation

◆ Flush()

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

Implements cartographer::io::PointsProcessor.

Definition at line 96 of file pcd_writing_points_processor.cc.

◆ FromDictionary()

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

Definition at line 81 of file pcd_writing_points_processor.cc.

◆ operator=()

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

◆ Process()

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

Member Data Documentation

◆ file_writer_

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

Definition at line 51 of file pcd_writing_points_processor.h.

◆ has_colors_

bool cartographer::io::PcdWritingPointsProcessor::has_colors_
private

Definition at line 50 of file pcd_writing_points_processor.h.

◆ kConfigurationFileActionName

constexpr const char* cartographer::io::PcdWritingPointsProcessor::kConfigurationFileActionName = "write_pcd"
static

Definition at line 29 of file pcd_writing_points_processor.h.

◆ next_

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

Definition at line 47 of file pcd_writing_points_processor.h.

◆ num_points_

int64 cartographer::io::PcdWritingPointsProcessor::num_points_
private

Definition at line 49 of file pcd_writing_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