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

32 lines
692 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.

/*
* FailureInterface.h
*
* Created on: 8 окт. 2019 г.
* Author: titov
*/
#ifndef SOURCE_PROCESSING_FAILURE_FAILUREINTERFACE_H_
#define SOURCE_PROCESSING_FAILURE_FAILUREINTERFACE_H_
namespace processing { namespace failure {
typedef unsigned int FailureId;
struct FaliureInterface {
virtual bool stored() const = 0;
virtual bool actual() const = 0;
virtual bool acknowledge() = 0;
//!Функция возвращает true по фронту события сохранения отказа до сброса.
virtual bool ticket() = 0;
virtual ~FaliureInterface() = default;
};
}}
#endif /* SOURCE_PROCESSING_FAILURE_FAILUREINTERFACE_H_ */