DataStorm::SingleKeyReader< Key, Value, UpdateTag >::SingleKeyReader | ( | const Topic< Key, Value, UpdateTag > & | topic, |
const Key & | key, | ||
const Filter< SampleFilterCriteria > & | sampleFilter, | ||
std::string | name = std::string(), | ||
const ReaderConfig & | config = ReaderConfig() ) |
Constructs a new reader for the given key and sample filter criteria.
The construction of the reader connects the reader to writers with a matching key. The writer will only send samples matching the given sample filter criteria to the reader.
topic | The topic. |
key | The key of the data element to read. |
sampleFilter | The sample filter. |
name | The optional reader name. |
config | The reader configuration. |
Definition at line 1095 of file DataStorm.h.