Ice 3.9
C++ API Reference
Loading...
Searching...
No Matches
DataStorm::FilteredKeyReader< Key, Value, UpdateTag > Class Template Reference

The filtered reader to read data elements whose key match a given filter. More...

#include <DataStorm/DataStorm.h>

Inheritance diagram for DataStorm::FilteredKeyReader< Key, Value, UpdateTag >:

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.
FilteredKeyReaderoperator= (FilteredKeyReader &&reader) noexcept
 Move assignment operator.

Detailed Description

template<typename Key, typename Value, typename UpdateTag = std::string>
class DataStorm::FilteredKeyReader< Key, Value, UpdateTag >

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.


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