MockLivestatus_StatsAggregator Interface Reference

Interface for differnent types of stats aggregators. More...

Inheritance diagram for MockLivestatus_StatsAggregator:
MockLivestatus_CalculatedStats MockLivestatus_FilterCountStats

Public Member Functions

 register ($obj)
 Register an object to the aggregator, represented by an associative array.
 calculate ()
 Get the result of the aggregator.

Detailed Description

Interface for differnent types of stats aggregators.

Takes register for each object, and gets the return value when finished by calling ->calculate()


Member Function Documentation

MockLivestatus_StatsAggregator::register ( obj  ) 

Register an object to the aggregator, represented by an associative array.

Parameters:
$obj object

Implemented in MockLivestatus_FilterCountStats, and MockLivestatus_CalculatedStats.


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

Generated on 19 Dec 2018 for ninja by  doxygen 1.6.1