|
SPH
|
Extension of StandardLogWriter, printing additional information abount quantities. More...
#include <LogWriter.h>
Public Member Functions | |
| VerboseLogWriter (const SharedPtr< ILogger > &logger, const RunSettings &settings) | |
| virtual void | write (const Storage &storage, const Statistics &stats) override |
| Writes to the log using provided storage and statistics. More... | |
Public Member Functions inherited from StandardLogWriter | |
| StandardLogWriter (const SharedPtr< ILogger > &logger, const RunSettings &settings) | |
Public Member Functions inherited from ILogWriter | |
| ILogWriter (const SharedPtr< ILogger > &logger, const Float period=0._f) | |
| Constructs the log file. More... | |
| virtual AutoPtr< ITrigger > | action (Storage &storage, Statistics &stats) override final |
| Writes to the log using provided storage and statistics. More... | |
Public Member Functions inherited from PeriodicTrigger | |
| 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... | |
Public Member Functions inherited from Polymorphic | |
| virtual | ~Polymorphic () |
Additional Inherited Members | |
Protected Attributes inherited from ILogWriter | |
| SharedPtr< ILogger > | logger |
Extension of StandardLogWriter, printing additional information abount quantities.
Mainly intended for debugging purposes.
Definition at line 53 of file LogWriter.h.
|
inline |
Definition at line 55 of file LogWriter.h.
|
overridevirtual |
Writes to the log using provided storage and statistics.
Used for const-correctness (loggers should not modify storage nor stats) and returning another (non-nullptr) trigger (loggers do not create more triggers).
Reimplemented from StandardLogWriter.
Definition at line 91 of file LogWriter.cpp.