|
LBIBCell
|
the report handler which stores the reporters More...
#include <ReportHandler.hpp>
Public Member Functions | |
| ReportHandler (unsigned int reportStep=1) | |
| ReportHandler The constructor for the report Handler. More... | |
| void | registerReporter (std::unique_ptr< AbstractReportFunctor > reporter) |
| registerReporter Register a report Functor. This method takes ownership of the unique_ptr passed More... | |
| void | writeReport (unsigned int time) const |
| writeReport Writes the report if the time step fits to the reportStep More... | |
| void | writeCrashReport (unsigned int time) const |
| writeCrashReport Dumps the reporters when crashed. More... | |
the report handler which stores the reporters
Definition at line 34 of file ReportHandler.hpp.
|
inlineexplicit |
ReportHandler The constructor for the report Handler.
| reportStep | The step at which a report is generated |
Definition at line 40 of file ReportHandler.hpp.
| void LbmLib::reportHandler::ReportHandler::registerReporter | ( | std::unique_ptr< AbstractReportFunctor > | reporter | ) |
registerReporter Register a report Functor. This method takes ownership of the unique_ptr passed
| reporter | The reporter added to the report Handler |
Definition at line 31 of file ReportHandler.cpp.
| void LbmLib::reportHandler::ReportHandler::writeCrashReport | ( | unsigned int | time | ) | const |
writeCrashReport Dumps the reporters when crashed.
| time | The current time |
Definition at line 48 of file ReportHandler.cpp.
| void LbmLib::reportHandler::ReportHandler::writeReport | ( | unsigned int | time | ) | const |
writeReport Writes the report if the time step fits to the reportStep
| time | The current time |
Definition at line 40 of file ReportHandler.cpp.