MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/driver/safety/ITermination.hh
2024-06-07 11:12:56 +03:00

28 lines
450 B
C++
Raw Permalink 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.

/*
* ITermination.h
*
* Created on: 8 окт. 2019 г.
* Author: titov
*/
#ifndef SOURCE_DRIVER_SAFETY_ITERMINATION_H_
#define SOURCE_DRIVER_SAFETY_ITERMINATION_H_
namespace driver { namespace safety {
struct ITermination {
virtual void terminate() = 0;
virtual void recovery() = 0;
virtual bool isTerminated() const = 0;
virtual ~ITermination() = default;
};
}}
#endif /* SOURCE_DRIVER_SAFETY_ITERMINATION_H_ */