Diana
0.8.3
|
#include <DianaSolver.hpp>
Public Member Functions | |
~DianaNumericSolver () | |
void | SetReportingInterface (Diana::IDianaReporting *_pReportingInterface) throw (Common::Error::ECapeUnknown) |
void | RemoveReportingInterface (Diana::IDianaReporting *_pReportingInterface) throw (Common::Error::ECapeUnknown) |
Protected Member Functions | |
void | notifyEventHandlers (SolverEvents event) throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeFailedInitialisation) |
bool | areEventHandlers () |
Private Attributes | |
std::vector < Diana::IDianaReporting * > | arrReportingInterfaces |
array of the reporting interfaces |
Class with extensions of Cape Solver interface, especially for reporting.
~DianaNumericSolver | ( | ) |
Destructor sends eventRemoveReportingInterface event to all registered reporting interfaces.
void notifyEventHandlers | ( | SolverEvents | event | ) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument, Common::Error::ECapeFailedInitialisation) [protected] |
Notifies all registered reporting interfaces about new step.
void SetReportingInterface | ( | Diana::IDianaReporting * | _pReportingInterface | ) | throw (Common::Error::ECapeUnknown) [virtual] |
Sets the reference to an object in charge of managing some reporting at each step of the process.
Remark
The reporting interface will be called by the Solver:
Implements IDianaNumericSolver.