|
SPH
|
Trigger executing given action every period. More...
#include <Trigger.h>
Public Member Functions | |
| PeriodicTrigger (const Float period, const Float startTime) | |
| period Period in simulation time of triggered action. More... | |
| virtual TriggerEnum | type () const override |
| Returns the type of the trigger. More... | |
| virtual bool | condition (const Storage &UNUSED(storage), const Statistics &stats) override |
Public Member Functions inherited from ITrigger | |
| virtual bool | condition (const Storage &storage, const Statistics &stats)=0 |
| Returns true if the trigger should be executed. More... | |
| virtual AutoPtr< ITrigger > | action (Storage &storage, Statistics &stats)=0 |
| Action executed when the condition is fulfilled. More... | |
Public Member Functions inherited from Polymorphic | |
| virtual | ~Polymorphic () |
|
inlineoverridevirtual |
|
inlineoverridevirtual |