12#ifndef WSFCOVERAGEMEASURE_HPP
13#define WSFCOVERAGEMEASURE_HPP
17#include "UtCallbackHolder.hpp"
18#include "UtCloneablePtr.hpp"
22#include "wsf_coverage_export.h"
46 : mScenario(aScenario)
77 void CollectionCompleting(
Coverage& aCoverage,
double aSimTime);
98 virtual bool InitializeP(
Coverage& aCoverage) {
return true; }
104 virtual void CollectionCompletingP(Coverage& aCoverage,
double aSimTime) {}
107 std::vector<ut::CloneablePtr<MeasureOutput>> mOutputs{};
WsfObject()
This is the constructor for the WsfObject class.
Definition WsfObject.cpp:88
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
Definition WsfCoverage.hpp:57
Definition WsfCoverageAsset.hpp:37
A class that performs output of the measured data.
Definition WsfCoverageMeasureOutput.hpp:31
virtual double GetMeasuredValue(const GridAsset &aGridAsset) const =0
Return the measured value for a given aGridAsset.
std::size_t GetNumOutput() const
Return the number of output objects attached to this Measure.
Definition WsfCoverageMeasure.hpp:81
Measure(const Measure &aOther)=default
UtCallbackHolder mCallbacks
Holder for callbacks created when this object connects to events on it's coverage.
Definition WsfCoverageMeasure.hpp:87
virtual double GetDefaultValue() const =0
Return the default value of the measure.
bool Initialize(Coverage &aCoverage)
Definition WsfCoverageMeasure.cpp:69
~Measure() override=default
virtual std::string GetValueHeader() const =0
Measure * Clone() const override=0
const MeasureOutput * GetOutput(std::size_t aIndex) const
Return the output object at the given index.
Definition WsfCoverageMeasure.hpp:84
virtual void CollectionStarting(Coverage &aCoverage, double aSimTime)
Definition WsfCoverageMeasure.hpp:75
bool ProcessInput(UtInput &aInput) override
Definition WsfCoverageMeasure.cpp:30
Measure(const WsfScenario &aScenario)
Definition WsfCoverageMeasure.hpp:45
Definition WsfCoverage.cpp:35
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32