Open Lighting Architecture
0.10.4
|
The MultiCallback class takes a limit & a callback. When the Run() method is called limit times, the callback is executed and the MultiCallback object deleted.
Public Member Functions | |
MultiCallback (unsigned int limit, BaseCallback0< void > *callback) | |
Constructor. More... | |
void | Run () |
Executes the callback passed in during creation after limit calls. Then MultiCallback deletes itself. | |
|
inline |
Constructor.
limit | after limit the object is deleted |
callback | is a BaseCallback0<void> to be executed after Run is called limit times |