MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/processing/failure/FailureLogger.hh

37 lines
761 B
C++
Raw Normal View History

2024-06-07 11:12:56 +03:00
/*
* 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_ */