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

◆ makeSingleKeyReader() [2/2]

template<typename K, typename V, typename UT>
SingleKeyReader< K, V, UT > DataStorm::makeSingleKeyReader ( const Topic< K, V, UT > & topic,
const typename Topic< K, V, UT >::KeyType & key,
std::string name = std::string(),
const ReaderConfig & config = ReaderConfig() )
nodiscard

Creates a key reader for the given topic and key.

This helper method deduces the topic Key, Value and UpdateTag types from the topic argument.

Parameters
topicThe topic.
keyThe key.
nameThe optional reader name.
configThe optional reader configuration.

Definition at line 546 of file DataStorm.h.