SPH
Public Member Functions | List of all members
IJobCallbacks Class Referenceabstract

Interface used during job evaluation. More...

#include <Node.h>

Inheritance diagram for IJobCallbacks:
IRunCallbacks Polymorphic Controller NullJobCallbacks UpdateCameraCallbacks

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 ()
 

Detailed Description

Interface used during job evaluation.

Definition at line 25 of file Node.h.

Member Function Documentation

◆ onEnd()

virtual void IJobCallbacks::onEnd ( const Storage storage,
const Statistics stats 
)
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.

◆ onStart()

virtual void IJobCallbacks::onStart ( const IJob job)
pure virtual

Notifies the caller that a new job started running.

Implemented in UpdateCameraCallbacks.


The documentation for this class was generated from the following file: