WSF
WsfEW_CommEffect.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 WSFEW_COMMEFFECT_HPP
13#define WSFEW_COMMEFFECT_HPP
14
15#include "wsf_mil_export.h"
16
17#include "WsfEW_Effect.hpp"
18
19class UtInput;
20
22
23class WSF_MIL_EXPORT WsfEW_CommEffect : public WsfEW_Effect
24{
25public:
26 WsfEW_CommEffect() = default;
30 ~WsfEW_CommEffect() override = default;
31
32 WsfEW_Effect* Clone() const override;
33 bool Initialize(WsfSimulation& aSimulation) override;
34 bool ProcessInput(UtInput& aInput) override;
35
36 void ApplyUnmitigatedEffect(WsfEW_Effects& aEW_Effects) const override;
37
38 void ApplyMitigatedEffect(WsfEW_Effect* aEW_EffectPtr, WsfEW_Effects& aEW_Effects) const override;
39
40protected:
41 WsfEW_CommEffect(const WsfEW_CommEffect& aSrc) = default;
42
43private:
44 double mBitErrorRate{0.0};
45};
46#endif
WsfEW_CommEffect()=default
WsfEW_CommEffect(WsfEW_CommEffect &&)=default
~WsfEW_CommEffect() override=default
WsfEW_CommEffect & operator=(const WsfEW_CommEffect &)=delete
WsfEW_CommEffect(const WsfEW_CommEffect &aSrc)=default
WsfEW_CommEffect & operator=(WsfEW_CommEffect &&)=default
WsfEW_Effect * Clone() const override=0
virtual bool Initialize(WsfSimulation &aSimulation)
Definition WsfEW_Effect.cpp:69
virtual void ApplyUnmitigatedEffect(WsfEW_Effects &aEW_Effects) const =0
virtual void ApplyMitigatedEffect(WsfEW_Effect *aEW_EffectPtr, WsfEW_Effects &aEW_Effects) const =0
bool ProcessInput(UtInput &aInput) override
Definition WsfEW_Effect.cpp:110
WsfEW_Effect()=default
Definition WsfEW_Effects.hpp:41
The main controller for a simulation.
Definition WsfSimulation.hpp:109
Copyrights Multiple, All Rights Reserved