The filtered reader to read data elements whose key match a given filter. More...
#include <DataStorm/DataStorm.h>

Public Member Functions | |
| template<typename KeyFilterCriteria, typename SampleFilterCriteria> | |
| FilteredKeyReader (const Topic< Key, Value, UpdateTag > &topic, const Filter< KeyFilterCriteria > &keyFilter, const Filter< SampleFilterCriteria > &sampleFilter, std::string name=std::string(), const ReaderConfig &config=ReaderConfig()) | |
| Constructs a new reader for the given key filter and sample filter criteria. | |
| template<typename KeyFilterCriteria> | |
| FilteredKeyReader (const Topic< Key, Value, UpdateTag > &topic, const Filter< KeyFilterCriteria > &keyFilter, std::string name=std::string(), const ReaderConfig &config=ReaderConfig()) | |
| Constructs a new reader for the given key filter. | |
| FilteredKeyReader (FilteredKeyReader &&reader) noexcept | |
| Move constructor. | |
| FilteredKeyReader & | operator= (FilteredKeyReader &&reader) noexcept |
| Move assignment operator. | |
The filtered reader to read data elements whose key match a given filter.
A filtered reader retains the current value of every key it has received and not since seen removed, so that it can resolve later partial updates against it. This per-key state is independent of the reader's sampleCount and sampleLifetime history settings, and is released when the reader receives the key's remove sample. A reader matching an unbounded set of keys therefore accumulates one current value per key.
Definition at line 663 of file DataStorm.h.