MT Showcase SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Showcase::CloneableValueStreamChannel< T > Class Template Reference

Entry for splitted ValueStream. More...

#include <ValueStreamChannels.hpp>

Inheritance diagram for Showcase::CloneableValueStreamChannel< T >:
Showcase::ValueStream< CallbackLock< T > >

Public Member Functions

ChannelGuard
< ValueStreamChannel< T > > 
clone ()
 Will open non-cloneable channel to the source stream and open it.
 
- Public Member Functions inherited from Showcase::ValueStream< CallbackLock< T > >
int forEachSync (const std::function< void(const CallbackLock< T > &)> &f, int N, const std::function< bool(const CallbackLock< T > &)> &endCond=nullptr)
 Executes f for each next N values in the Stream as long as values are being generated. More...
 

Detailed Description

template<typename T>
class Showcase::CloneableValueStreamChannel< T >

Entry for splitted ValueStream.

Enables thread-safe cloning of the channel that is required for implementing caching of streams.