17 #ifndef CARTOGRAPHER_IO_FRAME_ID_FILTERING_POINTS_PROCESSOR_H_ 18 #define CARTOGRAPHER_IO_FRAME_ID_FILTERING_POINTS_PROCESSOR_H_ 20 #include <unordered_set> 35 const std::unordered_set<std::string>& keep_frame_ids,
36 const std::unordered_set<std::string>& drop_frame_ids,
38 static std::unique_ptr<FrameIdFilteringPointsProcessor>
FromDictionary(
47 void Process(std::unique_ptr<PointsBatch> batch)
override;
59 #endif // CARTOGRAPHER_IO_FRAME_ID_FILTERING_POINTS_PROCESSOR_H_ ~FrameIdFilteringPointsProcessor() override
const std::unordered_set< std::string > keep_frame_ids_
static constexpr const char * kConfigurationFileActionName
PointsProcessor *const next_
FlushResult Flush() override
static std::unique_ptr< FrameIdFilteringPointsProcessor > FromDictionary(common::LuaParameterDictionary *dictionary, PointsProcessor *next)
const std::unordered_set< std::string > drop_frame_ids_
FrameIdFilteringPointsProcessor(const std::unordered_set< std::string > &keep_frame_ids, const std::unordered_set< std::string > &drop_frame_ids, PointsProcessor *next)
FrameIdFilteringPointsProcessor & operator=(const FrameIdFilteringPointsProcessor &)=delete
void Process(std::unique_ptr< PointsBatch > batch) override