Lines Matching defs:Threshold

97 struct Threshold<WarningObject> : public WarningObject, public Hysteresis  struct
99 static constexpr auto name = "Warning";
101 using ReadingAboveUpperWarningThreshold = sdbusplus::error::xyz::
103 using ReadingBelowLowerWarningThreshold = sdbusplus::error::xyz::
106 sdbusplus::bus_t& bus;
107 std::string objPath;
108 Unit units;
113 std::string entityPath;
114 std::string entityInterfaceHigh;
115 std::string entityInterfaceLow;
116 std::optional<sdbusplus::message::object_path> assertedHighLog;
117 std::optional<sdbusplus::message::object_path> assertedLowLog;
124 Threshold(sdbusplus::bus_t& bus, const char* path, Unit units) : in Threshold() argument
129 auto high() in high()
133 auto low() in low()
139 auto alarmHigh(Args... args) in alarmHigh()
145 auto alarmLow(Args... args) in alarmLow()
151 auto alarmHighSignalAsserted(V value) in alarmHighSignalAsserted()
159 auto alarmHighSignalDeasserted(Args... args) in alarmHighSignalDeasserted()
166 auto alarmLowSignalAsserted(V value) in alarmLowSignalAsserted()
174 auto alarmLowSignalDeasserted(Args... args) in alarmLowSignalDeasserted()
181 virtual double warningHigh(double value) in warningHigh()
193 virtual double warningLow(double value) in warningLow()
207 void setEntityInterfaceLow(const std::string& interfaceLow) in setEntityInterfaceLow()
215 void setEntityInterfaceHigh(const std::string& interfaceHigh) in setEntityInterfaceHigh()
222 void setEntityPath(const std::string& path) in setEntityPath()
229 struct Threshold<CriticalObject> : public CriticalObject, public Hysteresis struct
231 static constexpr auto name = "Critical";
234 sdbusplus::bus_t& bus;
235 std::string objPath;
236 Unit units;
241 std::string entityPath;
242 std::string entityInterfaceHigh;
243 std::string entityInterfaceLow;
244 std::optional<sdbusplus::message::object_path> assertedHighLog;
245 std::optional<sdbusplus::message::object_path> assertedLowLog;
248 using ReadingAboveUpperCriticalThreshold = sdbusplus::error::xyz::
250 using ReadingBelowLowerCriticalThreshold = sdbusplus::error::xyz::
258 Threshold(sdbusplus::bus_t& bus, const char* path, Unit units) : in Threshold() argument
263 auto high() in high()
267 auto low() in low()
273 auto alarmHigh(Args... args) in alarmHigh()
279 auto alarmLow(Args... args) in alarmLow()
285 auto alarmHighSignalAsserted(V value) in alarmHighSignalAsserted()
293 auto alarmHighSignalDeasserted(Args... args) in alarmHighSignalDeasserted()
300 auto alarmLowSignalAsserted(V value) in alarmLowSignalAsserted()
308 auto alarmLowSignalDeasserted(Args... args) in alarmLowSignalDeasserted()
315 virtual double criticalHigh(double value) in criticalHigh()
327 virtual double criticalLow(double value) in criticalLow()
340 void setEntityInterfaceLow(const std::string& interfaceLow) in setEntityInterfaceLow()
348 void setEntityInterfaceHigh(const std::string& interfaceHigh) in setEntityInterfaceHigh()
355 void setEntityPath(const std::string& path) in setEntityPath()
362 struct Threshold<SoftShutdownObject> : struct
366 static constexpr auto name = "SoftShutdown";
369 sdbusplus::bus_t& bus;
370 std::string objPath;
371 Unit units;
374 using ReadingAboveUpperSoftShutdownThreshold =
377 using ReadingBelowLowerSoftShutdownThreshold =
380 std::optional<sdbusplus::message::object_path> assertedHighLog;
381 std::optional<sdbusplus::message::object_path> assertedLowLog;
388 Threshold(sdbusplus::bus_t& bus, const char* path, Unit units) : in Threshold() argument
393 auto high() in high()
397 auto low() in low()
403 auto alarmHigh(Args... args) in alarmHigh()
409 auto alarmLow(Args... args) in alarmLow()
415 auto alarmHighSignalAsserted(V value) in alarmHighSignalAsserted()
423 auto alarmHighSignalDeasserted(Args... args) in alarmHighSignalDeasserted()
430 auto alarmLowSignalAsserted(V value) in alarmLowSignalAsserted()
438 auto alarmLowSignalDeasserted(Args... args) in alarmLowSignalDeasserted()
446 struct Threshold<HardShutdownObject> : struct
450 static constexpr auto name = "HardShutdown";
453 sdbusplus::bus_t& bus;
454 std::string objPath;
455 Unit units;
458 using ReadingAboveUpperHardShutdownThreshold =
461 using ReadingBelowLowerHardShutdownThreshold =
464 std::optional<sdbusplus::message::object_path> assertedHighLog;
465 std::optional<sdbusplus::message::object_path> assertedLowLog;
472 Threshold(sdbusplus::bus_t& bus, const char* path, Unit units) : in Threshold() function
477 auto high() in high()
481 auto low() in low()
487 auto alarmHigh(Args... args) in alarmHigh()
493 auto alarmLow(Args... args) in alarmLow()
499 auto alarmHighSignalAsserted(V value) in alarmHighSignalAsserted()
507 auto alarmHighSignalDeasserted(Args... args) in alarmHighSignalDeasserted()
514 auto alarmLowSignalAsserted(V value) in alarmLowSignalAsserted()
522 auto alarmLowSignalDeasserted(Args... args) in alarmLowSignalDeasserted()
530 struct Threshold<PerformanceLossObject> : struct
534 static constexpr auto name = "PerformanceLoss";
536 sdbusplus::bus_t& bus;
537 std::string objPath;
538 Unit units;
541 using ReadingAboveUpperPerformanceLossThreshold =
544 using ReadingBelowLowerPerformanceLossThreshold =
547 double performanceLossHighHysteresis;
548 double performanceLossLowHysteresis;
549 std::optional<sdbusplus::message::object_path> assertedHighLog;
550 std::optional<sdbusplus::message::object_path> assertedLowLog;
557 Threshold(sdbusplus::bus_t& bus, const char* path, Unit units) : in Threshold() argument
562 auto high() in high()
566 auto low() in low()
572 auto alarmHigh(Args... args) in alarmHigh()
578 auto alarmLow(Args... args) in alarmLow()
584 auto alarmHighSignalAsserted(V value) in alarmHighSignalAsserted()
592 auto alarmHighSignalDeasserted(Args... args) in alarmHighSignalDeasserted()
599 auto alarmLowSignalAsserted(V value) in alarmLowSignalAsserted()
607 auto alarmLowSignalDeasserted(Args... args) in alarmLowSignalDeasserted()