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

◆ makeMultiKeyReader() [2/2]

template<typename K, typename V, typename UT>
MultiKeyReader< K, V, UT > DataStorm::makeMultiKeyReader ( const Topic< K, V, UT > & topic,
const std::vector< typename Topic< K, V, UT >::KeyType > & keys,
std::string name = std::string(),
const ReaderConfig & config = ReaderConfig() )
nodiscard

Creates a multi-key reader for the given topic.

This helper method deduces the topic Key, Value and UpdateTag types from the topic argument. The reader will only receive samples for the given set of keys.

Parameters
topicThe topic.
keysThe keys.
nameThe optional reader name.
configThe optional reader configuration.

Definition at line 581 of file DataStorm.h.