|
WSF
|
#include <WsfCoverageIntervalConstraint.hpp>
Public Member Functions | |
| IntervalConstraint ()=default | |
| IntervalConstraint (const IntervalConstraint &aOther)=default | |
| ~IntervalConstraint ()=default | |
| IntervalConstraint * | Clone () const |
| bool | ProcessInput (UtInput &aInput) |
| void | Initialize (const Coverage &aCoverage, const std::string &aOutputDir) |
| Initialize this object. | |
| void | Finalize (const UtCalendar &aSimStartEpoch) const |
| bool | FilterInterval (const GridAsset &aGridAsset, const FreeAsset &aFreeAsset, const AccessInterval &aInterval) const |
| std::string | GetOutputFileName () const |
Provides access interval duration constraints.
This class implements constraints on the duration of access intervals. The owning Coverage object will filter all complete access intervals through this constraint to decide if the interval meets the specified duration limits. The limits can be specified for platforms of a given name or type, or devices of a given name or type. Additionally, instances can be configured to write any filtered intervals out to file.
|
default |
Referenced by Clone(), and IntervalConstraint().
|
default |
References IntervalConstraint().
|
default |
|
inline |
References IntervalConstraint().
| bool wsf::coverage::IntervalConstraint::FilterInterval | ( | const GridAsset & | aGridAsset, |
| const FreeAsset & | aFreeAsset, | ||
| const AccessInterval & | aInterval ) const |
Determine if the given interval should be filtered.
Determined if the given aInterval involving the given aGridAsset and given aFreeAsset should be ignored in the coverage computation.
| aGridAsset | - The grid asset involved in the interval in question. |
| aFreeAsset | - The free asset involved in the interval in question. |
| aInterval | - The interval in question. |
| void wsf::coverage::IntervalConstraint::Finalize | ( | const UtCalendar & | aSimStartEpoch | ) | const |
Finalize the constraint.
This will write out any filtered intervals if this object was so configured.
| std::string wsf::coverage::IntervalConstraint::GetOutputFileName | ( | ) | const |
Return the filename into which the filtered intervals will be written.
This will return either a default constructed string if this object was not configured to produce an output file with the filtered intervals, or the name of the file into which that data will be written.
| void wsf::coverage::IntervalConstraint::Initialize | ( | const Coverage & | aCoverage, |
| const std::string & | aOutputDir ) |
Initialize this object.
| bool wsf::coverage::IntervalConstraint::ProcessInput | ( | UtInput & | aInput | ) |