SPH
|
Interface used during job evaluation. More...
#include <Node.h>
Public Member Functions | |
virtual void | onStart (const IJob &job)=0 |
Notifies the caller that a new job started running. More... | |
virtual void | onEnd (const Storage &storage, const Statistics &stats)=0 |
Notifies the caller that the current job ended. More... | |
Public Member Functions inherited from IRunCallbacks | |
virtual void | onSetUp (const Storage &storage, Statistics &stats)=0 |
Called right before the run starts, i.e. after initial conditions are set up. More... | |
virtual void | onTimeStep (const Storage &storage, Statistics &stats)=0 |
Called every timestep. More... | |
virtual bool | shouldAbortRun () const =0 |
Returns whether current run should be aborted or not. More... | |
Public Member Functions inherited from Polymorphic | |
virtual | ~Polymorphic () |
|
pure virtual |
Notifies the caller that the current job ended.
If the job was a particle job, it passes its storage and run statistics as parameters, otherwise the storage is passed as empty.
|
pure virtual |
Notifies the caller that a new job started running.
Implemented in UpdateCameraCallbacks.