37 lines
748 B
C++
37 lines
748 B
C++
|
|
/*
|
|||
|
|
* FailureLogger.hh
|
|||
|
|
*
|
|||
|
|
* Created on: 15 <EFBFBD><EFBFBD><EFBFBD>. 2020 <EFBFBD>.
|
|||
|
|
* 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; //!<<3C><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
|
};
|
|||
|
|
private:
|
|||
|
|
const FailureManager & fm;
|
|||
|
|
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
}}
|
|||
|
|
|
|||
|
|
#endif /* UMLIBRARY_PROCESSING_FAILURE_FAILURELOGGER_HH_ */
|