|
MT Showcase SDK
|
-----------—— Backend component interfaces --------------—— More...
#include <BackendComponents.hpp>
Inherits enable_shared_from_this< Generator< T > >.
Public Member Functions | |
| virtual folly::Future< T > | next (folly::Executor *executor=nullptr)=0 |
| Initiate generation of the next value. More... | |
-----------—— Backend component interfaces --------------——
Base class for different generators
|
pure virtual |
Initiate generation of the next value.
| executor | The value of future should be calculated in this executor. |
Implemented in Showcase::CachingGenerator< GraphGenerator >, and Showcase::CachingGenerator< PropertyGenerator >.