|
| RangeAlarm (AlarmSenderIfc &alarmSender, ::imt::base::core::util::Range< ValueType > const &range, AlarmIdentifier const lowerAlarmId, AlarmIdentifier const upperAlarmId) |
| Constructor. More...
|
|
| RangeAlarm ()=delete |
|
| RangeAlarm (RangeAlarm const &other)=delete |
|
| RangeAlarm (RangeAlarm &&other)=default |
|
RangeAlarm & | operator= (RangeAlarm const &other)=delete |
|
| ~RangeAlarm ()=default |
|
| RangeAlarmWithDelay (AlarmSenderIfc &alarmSender, ::imt::base::core::util::Range< ValueType > const &range, AlarmIdentifier const lowerAlarmId, DelayThicks const lowerAlarmDelayTicks, AlarmIdentifier const upperAlarmId, DelayThicks const upperAlarmDelayTicks) |
| Constructor. More...
|
|
| RangeAlarmWithDelay (AlarmSenderIfc &alarmSender, ::imt::base::core::util::Range< ValueType > const &range, AlarmIdentifier const lowerAlarmId, DelayThicks const lowerAlarmActivationDelayTicks, DelayThicks const lowerAlarmDeactivationDelayTicks, AlarmIdentifier const upperAlarmId, DelayThicks const upperAlarmActivationDelayTicks, DelayThicks const upperAlarmDeactivationDelayTicks) |
| Constructor. More...
|
|
void | updateValue (ValueType const &value) |
| Updates the value and checks for the alarm condition. More...
|
|
void | forceValue (ValueType const &value) |
| Updates the value and checks for the alarm condition. More...
|
|
void | deactivateAlarms () |
| Deactivates both alarms. More...
|
|
bool | isAlarmActive () const |
| Returns if any alarm is currently activated. More...
|
|
bool | isLowerAlarmActive () const |
| Returns whether the lower alarm is currently activated. More...
|
|
bool | isUpperAlarmActive () const |
| Returns whether the upper alarm is currently activated. More...
|
|
bool | isInRange (ValueType const &value) const |
| Returns true if the given value is inside the range. More...
|
|
void | updateRange (::imt::base::core::util::Range< ValueType > const &range) |
| Changes the range of the alarm. More...
|
|
| RangeAlarmWithDelay ()=delete |
|
| RangeAlarmWithDelay (RangeAlarmWithDelay const &other)=delete |
|
| RangeAlarmWithDelay (RangeAlarmWithDelay &&other)=default |
|
RangeAlarmWithDelay & | operator= (RangeAlarmWithDelay const &other)=delete |
|
| ~RangeAlarmWithDelay ()=default |
|
template<typename ValueType>
class imt::base::lib::alarms::RangeAlarm< ValueType >
Activates the given alarms if the value is outside a defined range.
A lower and an upper alarm can be defined.
This alarm is implemented as special case of a RangeAlarmWithDelay with delay of 0.