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

29 lines
484 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.

/*
* IBrake.h
*
* Created on: 6 февр. 2018 г.
* Author: titov
*/
#ifndef SOURCE_DRIVER_IBRAKE_H_
#define SOURCE_DRIVER_IBRAKE_H_
namespace driver {
class IBrake {
public:
virtual void engage() = 0; //!<Наложить тормоз.
virtual void disengage() = 0; //!<Снять тормоз.
virtual bool isApplied() const = 0;
virtual bool isFree() const = 0;
virtual ~IBrake() = default;
};
}
#endif /* SOURCE_DRIVER_IBRAKE_H_ */