#include <coherence/util/aggregator/Float64Average.hpp>
Inherits AbstractFloat64Aggregator.
All the extracted Number objects will be treated as float64_t values. If the set of entries is empty, a NULL result is returned.
Public Types |
|||||||
| typedef spec::Handle | Handle | ||||||
| Float64Average Handle definition. |
|||||||
| typedef spec::View | View | ||||||
| Float64Average View definition. |
|||||||
| typedef spec::Holder | Holder | ||||||
| Float64Average Holder definition. |
|||||||
Protected Member Functions |
|||||||
| Float64Average () | |||||||
| Default constructor (necessary for the PortableObject interface). |
|||||||
| Float64Average (ValueExtractor::View vExtractor) | |||||||
| Construct a Float64Average aggregator. |
|||||||
| virtual void | init (bool fFinal) | ||||||
Initialize the aggregation result.
|
|||||||
| virtual void | process (Object::View v, bool fFinal) | ||||||
| Incorporate one aggregatable value into the result.
If the
|
|||||||
| virtual Object::Holder | finalizeResult (bool fFinal) | ||||||
| Obtain the result of the aggregation.
If the
|
|||||||
| Float64Average | ( | ValueExtractor::View | vExtractor | ) | [protected] |
Construct a Float64Average aggregator.
| vExtractor | the extractor that provides a value in the form of any object that is a Number |