37 lines
761 B
C++
37 lines
761 B
C++
/*
|
||
* FailureLogger.hh
|
||
*
|
||
* Created on: 15 июн. 2020 г.
|
||
* Author: LeonidTitov
|
||
*/
|
||
|
||
#ifndef UMLIBRARY_PROCESSING_FAILURE_FAILURELOGGER_HH_
|
||
|
||
#define UMLIBRARY_PROCESSING_FAILURE_FAILURELOGGER_HH_
|
||
|
||
#include "FailureManager.hh"
|
||
|
||
#include "../../logging/ILoggable.hh"
|
||
#include "../../systemic/Process.hpp"
|
||
#include "../../units/LogicalEntities.hpp"
|
||
|
||
namespace processing { namespace failure {
|
||
|
||
class FailureLogger : public logging::ILoggable, public systemic::IProcess {
|
||
public:
|
||
|
||
void process();
|
||
FailureLogger( const FailureManager & manager );
|
||
|
||
struct ErrorMessage {
|
||
units::ErrorCode error; //!<Код ошибки.
|
||
};
|
||
private:
|
||
const FailureManager & fm;
|
||
|
||
};
|
||
|
||
}}
|
||
|
||
#endif /* UMLIBRARY_PROCESSING_FAILURE_FAILURELOGGER_HH_ */
|