WSF
WsfCoverageMeasureUtils.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2020 Infoscitex, a DCS Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef WSFCOVERAGEMEASUREUTILS_HPP
13#define WSFCOVERAGEMEASUREUTILS_HPP
14
15#include <string>
16#include <vector>
17
19
20class UtCalendar;
21
22namespace wsf
23{
24namespace coverage
25{
26
27class AccessInterval;
28
29namespace MeasureUtils
30{
31
46void ComputeGaps(std::vector<AccessInterval>& aGaps,
47 std::vector<AccessInterval>& aIntervals,
48 const AccessInterval& aCoverageInterval,
49 const std::string& aMoE_Type,
50 const std::string& aMoE_ObjectName);
51
58long GetIntervalStartSample(const AccessInterval& aInterval,
59 const UtCalendar& aStartEpoch,
60 double aCoverageStart,
61 double aSampleDuration);
62
69long GetIntervalEndSample(const AccessInterval& aInterval,
70 const UtCalendar& aStartEpoch,
71 double aCoverageStart,
72 double aSampleDuration);
73
74} // namespace MeasureUtils
75} // namespace coverage
76} // namespace wsf
77#endif // !WSFCOVERAGEMEASUREUTILS_HPP
Definition WsfCoverageAccessInterval.hpp:28
Definition WsfCoverageMeasureUtils.cpp:27
void ComputeGaps(std::vector< AccessInterval > &aGaps, std::vector< AccessInterval > &aIntervals, const AccessInterval &aCoverageInterval, const std::string &aMoE_Type, const std::string &aMoE_ObjectName)
Definition WsfCoverageMeasureUtils.cpp:29
long GetIntervalStartSample(const AccessInterval &aInterval, const UtCalendar &aStartEpoch, double aCoverageStart, double aSampleDuration)
Definition WsfCoverageMeasureUtils.cpp:69
long GetIntervalEndSample(const AccessInterval &aInterval, const UtCalendar &aStartEpoch, double aCoverageStart, double aSampleDuration)
Definition WsfCoverageMeasureUtils.cpp:81
Definition WsfCoverage.cpp:35
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved