MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/processing/failure/FailureLogger.hh
2024-06-07 11:12:56 +03:00

37 lines
761 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* 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_ */