Zen
A cross-platform functional programming language
|
Base class for closures. More...
#include <zrt.hpp>
Classes | |
struct | Action |
Enumeration of actions to be taken after running the closure. More... | |
Public Member Functions | |
virtual Runner & | getRunner ()=0 |
Get reference to closure's runner. | |
virtual Action::T | runClosureWithCtx (zbl::RunContext &_ctx)=0 |
Run the closure. | |
Protected Member Functions | |
Closure () | |
Default constructor. |
Base class for closures.
virtual Runner& getRunner | ( | ) | [pure virtual] |
Get reference to closure's runner.
Implemented in TestFactoryT< T, ImplT >::TcontinuationT::_C_test, and TestFactoryT< T, ImplT >::TcontinuationT::_C_rtn.
virtual Action::T runClosureWithCtx | ( | zbl::RunContext & | _ctx | ) | [pure virtual] |
Run the closure.
_ctx | The RunContext for this invocation |
Implemented in TestFactoryT< T, ImplT >::TcontinuationT::_C_test, and TestFactoryT< T, ImplT >::TcontinuationT::_C_rtn.