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

The key reader to read the data element associated with a given set of keys. More...

#include <DataStorm/DataStorm.h>

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

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

Detailed Description

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

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.


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