SnapshotFilter Class Referenceabstract

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

+ Inheritance diagram for SnapshotFilter:

Classes

struct  FilterStatistics
 

Public Member Functions

virtual bool accept (const armem::wm::EntitySnapshot &e)=0
 
virtual void configure (const nlohmann::json &json)
 
virtual FilterStatistics getFilterStatistics ()
 
virtual std::string getName ()
 
void resetStatisticsForNewEpisode ()
 resetStatisticsForNewEpisode resets the parts of the statistics that are unique to one recording cycle (episode) More...
 
 SnapshotFilter ()=default
 
virtual ~SnapshotFilter ()=default
 

Public Attributes

struct armarx::armem::server::ltm::processor::SnapshotFilter::FilterStatistics stats
 

Detailed Description

Definition at line 26 of file Filter.h.

Constructor & Destructor Documentation

◆ SnapshotFilter()

SnapshotFilter ( )
default

◆ ~SnapshotFilter()

virtual ~SnapshotFilter ( )
virtualdefault

Member Function Documentation

◆ accept()

virtual bool accept ( const armem::wm::EntitySnapshot e)
pure virtual

◆ configure()

void configure ( const nlohmann::json &  json)
virtual

Reimplemented in SnapshotSimilarityFilter, SnapshotImportanceFilter, and SnapshotFrequencyFilter.

Definition at line 11 of file Filter.cpp.

◆ getFilterStatistics()

SnapshotFilter::FilterStatistics getFilterStatistics ( )
virtual

Reimplemented in SnapshotSimilarityFilter, SnapshotImportanceFilter, and SnapshotFrequencyFilter.

Definition at line 15 of file Filter.cpp.

◆ getName()

std::string getName ( )
virtual

Reimplemented in SnapshotSimilarityFilter, SnapshotImportanceFilter, and SnapshotFrequencyFilter.

Definition at line 20 of file Filter.cpp.

◆ resetStatisticsForNewEpisode()

void resetStatisticsForNewEpisode ( )

resetStatisticsForNewEpisode resets the parts of the statistics that are unique to one recording cycle (episode)

Definition at line 25 of file Filter.cpp.

Member Data Documentation

◆ stats


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