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

◆ MultiKeyReader() [2/3]

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

The construction of the reader connects the reader to writers with matching keys. If an empty vector of keys is provided, the reader will connect to all the available writers. The writer will only send samples matching the given sample filter criteria to the reader.

Parameters
topicThe topic.
keysThe keys of the data elements to read.
sampleFilterThe sample filter.
nameThe optional reader name.
configThe reader configuration.

Definition at line 1137 of file DataStorm.h.