Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ SingleKeyReader() [2/3]

template<typename Key, typename Value, typename UpdateTag>
template<typename SampleFilterCriteria>
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.

Parameters
topicThe topic.
keyThe key of the data element to read.
sampleFilterThe sample filter.
nameThe optional reader name.
configThe reader configuration.

Definition at line 1095 of file DataStorm.h.