|
Evo C++ Library v0.5.1
|
#include <evo/event.h>

Implement Event using a lambda function (C++11).
Public Types | |
| typedef std::function< bool()> | Lambda |
| Lambda function type for Event. More... | |
Public Member Functions | |
| EventLambda (const Lambda &lambda) | |
| Constructor. More... | |
| EventLambda (const EventLambda &src) | |
| Copy constructor. More... | |
| bool | operator() () |
| Event function. More... | |
| EventLambda & | operator= (const EventLambda &src) |
| Assignment operator. More... | |
|
inline |
Constructor.
| lambda | Lambda to use |
|
inline |
Copy constructor.
| src | Source to copy |
|
inlinevirtual |
Event function.
Implements Event.
|
inline |
Assignment operator.
| src | Source to copy |
1.8.13