WSF
WsfZoneAttenuation.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 2003-2015 The Boeing 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 WSFZONEATTENUATION_HPP
13#define WSFZONEATTENUATION_HPP
14
15#include "wsf_export.h"
16
17#include <map>
18#include <vector>
19
20class WsfNoiseCloud;
21class WsfScenario;
22class WsfSimulation;
23#include "WsfStringId.hpp"
24class WsfZone;
25
27{
28public:
29 explicit WsfZoneAttenuation(WsfSimulation* aSimulationPtr);
31
32 double ComputeAttenuation(WsfStringId aCategoryId, double aLocationFromLLA[3], double aLocationToLLA[3], bool aIsTwoWay);
33 bool Initialize(const WsfScenario& aScenario);
34
35private:
36 WsfSimulation* mSimulationPtr;
37 std::map<WsfStringId, std::vector<WsfZone*>> mCategoryToZoneMap;
38 std::map<WsfStringId, double> mCategoryToValueMap;
39 std::map<WsfStringId, std::vector<WsfNoiseCloud*>> mCategoryToNoiseCloudMap;
40 std::vector<WsfNoiseCloud*> mNoiseClouds;
41};
42
43#endif
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfNoiseCloud.hpp:30
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
The main controller for a simulation.
Definition WsfSimulation.hpp:109
double ComputeAttenuation(WsfStringId aCategoryId, double aLocationFromLLA[3], double aLocationToLLA[3], bool aIsTwoWay)
Definition WsfZoneAttenuation.cpp:157
bool Initialize(const WsfScenario &aScenario)
Definition WsfZoneAttenuation.cpp:39
WsfZoneAttenuation(WsfSimulation *aSimulationPtr)
Definition WsfZoneAttenuation.cpp:25
Definition WsfZone.hpp:63
Copyrights Multiple, All Rights Reserved