AverageStateCalculator Class Reference

State calculator for multiple objects that returns the average state. More...

Inheritance diagram for AverageStateCalculator:
WorstStateCalculator StateCalculator

Public Member Functions

 add_event ($row=false)
 Given an event (a database row), add it to the current report.
 calculate_object_state ()
 Actually discover the overall state based on the sub-reports.
 finalize ()
 Finalize the report, calculating real uptime from our internal meta-format.

Detailed Description

State calculator for multiple objects that returns the average state.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 19 Dec 2018 for ninja by  doxygen 1.6.1