Filter.cpp
Go to the documentation of this file.
1
#include "
Filter.h
"
2
3
namespace
armarx::armem::server::ltm::processor
4
{
5
void
6
MemoryFilter::configure
(
const
nlohmann::json& json)
7
{
8
}
9
10
void
11
SnapshotFilter::configure
(
const
nlohmann::json& json)
12
{
13
}
14
15
SnapshotFilter::FilterStatistics
16
SnapshotFilter::getFilterStatistics
()
17
{
18
return
stats
;
19
}
20
21
std::string
22
SnapshotFilter::getName
()
23
{
24
return
"Base_Filter"
;
25
}
26
27
void
28
SnapshotFilter::resetStatisticsForNewEpisode
()
29
{
30
stats
.
accepted
= 0;
31
stats
.
rejected
= 0;
32
stats
.
additional_time
= std::chrono::duration<double>::zero();
33
}
34
35
36
}
// namespace armarx::armem::server::ltm::processor
armarx::armem::server::ltm::processor
Definition:
Converter.cpp:3
armarx::armem::server::ltm::processor::MemoryFilter::configure
virtual void configure(const nlohmann::json &json)
Definition:
Filter.cpp:6
armarx::armem::server::ltm::processor::SnapshotFilter::FilterStatistics::rejected
double rejected
Definition:
Filter.h:38
armarx::armem::server::ltm::processor::SnapshotFilter::getFilterStatistics
virtual FilterStatistics getFilterStatistics()
Definition:
Filter.cpp:16
armarx::armem::server::ltm::processor::SnapshotFilter::stats
struct armarx::armem::server::ltm::processor::SnapshotFilter::FilterStatistics stats
armarx::armem::server::ltm::processor::SnapshotFilter::getName
virtual std::string getName()
Definition:
Filter.cpp:22
armarx::armem::server::ltm::processor::SnapshotFilter::configure
virtual void configure(const nlohmann::json &json)
Definition:
Filter.cpp:11
armarx::armem::server::ltm::processor::SnapshotFilter::resetStatisticsForNewEpisode
void resetStatisticsForNewEpisode()
resetStatisticsForNewEpisode resets the parts of the statistics that are unique to one recording cycl...
Definition:
Filter.cpp:28
armarx::armem::server::ltm::processor::SnapshotFilter::FilterStatistics
Definition:
Filter.h:35
armarx::armem::server::ltm::processor::SnapshotFilter::FilterStatistics::accepted
double accepted
Definition:
Filter.h:37
Filter.h
armarx::armem::server::ltm::processor::SnapshotFilter::FilterStatistics::additional_time
std::chrono::duration< double > additional_time
Definition:
Filter.h:39
RobotAPI
libraries
armem
server
ltm
processors
filter
Filter.cpp
Generated on Sat Mar 29 2025 09:17:28 for armarx_documentation by
1.8.17