Processors Class Reference

all necessary classes to filter and convert an entry of the ltm to some other format(s) More...

#include <RobotAPI/libraries/armem/server/ltm/processors/Processors.h>

Public Member Functions

void configure (const nlohmann::json &config)
 
std::map< std::string, processor::SnapshotFilter::FilterStatisticsgetSnapshotFilterStatistics ()
 
 Processors ()=default
 
void resetFilterStatisticsForNewEpisode ()
 resetFilterStatisticsForNewEpisode runs resetFilterStatisticsForNewEpisode on all snapshot filters More...
 

Public Attributes

std::vector< std::unique_ptr< processor::DataConverter > > converters
 
processor::converter::data::object::JsonConverter defaultObjectConverter
 
processor::converter::type::object::JsonConverter defaultTypeConverter
 
std::vector< std::unique_ptr< processor::Extractor > > extractors
 
std::vector< std::unique_ptr< processor::MemoryFilter > > memFilters
 
std::vector< std::unique_ptr< processor::SnapshotFilter > > snapFilters
 

Detailed Description

all necessary classes to filter and convert an entry of the ltm to some other format(s)

Definition at line 19 of file Processors.h.

Constructor & Destructor Documentation

◆ Processors()

Processors ( )
default

Member Function Documentation

◆ configure()

void configure ( const nlohmann::json &  config)

Definition at line 16 of file Processors.cpp.

◆ getSnapshotFilterStatistics()

std::map< std::string, processor::SnapshotFilter::FilterStatistics > getSnapshotFilterStatistics ( )

Definition at line 60 of file Processors.cpp.

◆ resetFilterStatisticsForNewEpisode()

void resetFilterStatisticsForNewEpisode ( )

resetFilterStatisticsForNewEpisode runs resetFilterStatisticsForNewEpisode on all snapshot filters

Definition at line 84 of file Processors.cpp.

Member Data Documentation

◆ converters

std::vector<std::unique_ptr<processor::DataConverter> > converters

Definition at line 45 of file Processors.h.

◆ defaultObjectConverter

Definition at line 48 of file Processors.h.

◆ defaultTypeConverter

Definition at line 49 of file Processors.h.

◆ extractors

std::vector<std::unique_ptr<processor::Extractor> > extractors

Definition at line 42 of file Processors.h.

◆ memFilters

std::vector<std::unique_ptr<processor::MemoryFilter> > memFilters

Definition at line 36 of file Processors.h.

◆ snapFilters

std::vector<std::unique_ptr<processor::SnapshotFilter> > snapFilters

Definition at line 39 of file Processors.h.


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