The key reader to read the data element associated with a given set of keys. More...
#include <DataStorm/DataStorm.h>

Public Member Functions | |
| template<typename SampleFilterCriteria> | |
| MultiKeyReader (const Topic< Key, Value, UpdateTag > &topic, const std::vector< Key > &keys, const Filter< SampleFilterCriteria > &sampleFilter, std::string name=std::string(), const ReaderConfig &config=ReaderConfig()) | |
| Constructs a new reader for the given keys and sample filter criteria. | |
| MultiKeyReader (const Topic< Key, Value, UpdateTag > &topic, const std::vector< Key > &keys, std::string name=std::string(), const ReaderConfig &config=ReaderConfig()) | |
| Constructs a new reader for the given keys. | |
| MultiKeyReader (MultiKeyReader &&reader) noexcept | |
| Move constructor. | |
| MultiKeyReader & | operator= (MultiKeyReader &&reader) noexcept |
| Move assignment operator. | |
The key reader to read the data element associated with a given set of keys.
A multi-key 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 connected to writers over an unbounded set of keys therefore accumulates one current value per key.
Definition at line 510 of file DataStorm.h.