SPH
Public Member Functions | List of all members
LogWriter Class Reference

Custom writer of simulation log. More...

Inheritance diagram for LogWriter:
ILogWriter PeriodicTrigger ITrigger Polymorphic

Public Member Functions

 LogWriter (const RunSettings &settings)
 
virtual void write (const Storage &UNUSED(storage), const Statistics &stats) override
 
- Public Member Functions inherited from ILogWriter
 ILogWriter (const SharedPtr< ILogger > &logger, const Float period=0._f)
 Constructs the log file. More...
 
virtual AutoPtr< ITriggeraction (Storage &storage, Statistics &stats) override final
 Writes to the log using provided storage and statistics. More...
 
virtual void write (const Storage &storage, const Statistics &stats)=0
 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< ILoggerlogger
 

Detailed Description

Custom writer of simulation log.

Definition at line 7 of file FragmentationReaccumulation.cpp.

Constructor & Destructor Documentation

◆ LogWriter()

LogWriter::LogWriter ( const RunSettings settings)
inline

Definition at line 12 of file FragmentationReaccumulation.cpp.

Member Function Documentation

◆ write()

virtual void LogWriter::write ( const Storage UNUSEDstorage,
const Statistics stats 
)
inlineoverridevirtual

Definition at line 17 of file FragmentationReaccumulation.cpp.


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