|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_HOST_API ObserverId MayaFlux::Host::on_eval | ( | EvalObserver | observer | ) |
Observe every evaluation in the session, whoever sent it.
The observer receives a report for each block this process evaluates, including the blocks staged before start_session, and for each block a client sends, whether it succeeded or failed. EvalOrigin tells them apart. It runs on the thread that evaluated, which for a client is the listener's thread, so it must not block, and an exception that escapes it is logged and dropped. Observers can be added before the session starts and outlive it.
| observer | Called with each report. |
Definition at line 347 of file Session.cpp.