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

◆ makeSingleKeyReader() [1/2]

template<typename SFC, 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,
const Filter< SFC > & sampleFilter,
std::string name = std::string(),
const ReaderConfig & config = ReaderConfig() )
nodiscard

Creates a key reader for the given topic, key and sample filter.

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

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

Definition at line 563 of file DataStorm.h.