WSF
WsfOpticalReflectivity.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 WSFOPTICALREFLECTIVITY_HPP
13#define WSFOPTICALREFLECTIVITY_HPP
14
15#include "wsf_mil_export.h"
16
17class UtScriptTypes;
18class WsfPlatform;
19class WsfScenario;
20#include "WsfSignature.hpp"
21
23class WSF_MIL_EXPORT WsfOpticalReflectivity : public WsfSignature
24{
25public:
26 enum
27 {
29 };
30
32 WsfOpticalReflectivity* Clone() const override = 0;
33
44 virtual float GetOpticalReflectivity(double aSimTime,
45 WsfStringId aStateId,
46 double aWavelength,
47 double aTgtToXmtrAz,
48 double aTgtToXmtrEl,
49 double aTgtToRcvrAz,
50 double aTgtToRcvrEl) = 0;
51
56
57 static WsfStringId GetInputType(WsfPlatform* aPlatformPtr);
58
59 static WsfStringId GetState(WsfPlatform* aPlatformPtr);
60
61 static bool SetState(WsfPlatform* aPlatformPtr, WsfStringId aState);
62
63 static float GetScaleFactor(WsfPlatform* aPlatformPtr);
64
65 static bool SetScaleFactor(WsfPlatform* aPlatformPtr, float aScaleFactor);
66
67 static float GetValue(double aSimTime,
68 WsfPlatform* aPlatformPtr,
69 double aWavelength,
70 double aTgtToXmtrAz,
71 double aTgtToXmtrEl,
72 double aTgtToRcvrAz,
73 double aTgtToRcvrEl);
74
77
78 static void RegisterScriptMethods(UtScriptTypes& aScriptTypes);
79 static void RegisterInterface(WsfScenario& aScenario);
80};
81
82#endif
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
An object that represents the reflectivity of a platform.
Definition WsfOpticalReflectivity.hpp:24
virtual float GetOpticalReflectivity(double aSimTime, WsfStringId aStateId, double aWavelength, double aTgtToXmtrAz, double aTgtToXmtrEl, double aTgtToRcvrAz, double aTgtToRcvrEl)=0
static void RegisterScriptMethods(UtScriptTypes &aScriptTypes)
Definition WsfOpticalReflectivity.cpp:181
static bool SetState(WsfPlatform *aPlatformPtr, WsfStringId aState)
Definition WsfOpticalReflectivity.cpp:110
static float GetValue(double aSimTime, WsfPlatform *aPlatformPtr, double aWavelength, double aTgtToXmtrAz, double aTgtToXmtrEl, double aTgtToRcvrAz, double aTgtToRcvrEl)
Definition WsfOpticalReflectivity.cpp:145
static WsfStringId GetInputType(WsfPlatform *aPlatformPtr)
Definition WsfOpticalReflectivity.cpp:91
WsfOpticalReflectivity * Clone() const override=0
static WsfStringId GetState(WsfPlatform *aPlatformPtr)
Definition WsfOpticalReflectivity.cpp:100
static WsfOpticalReflectivity * GetObject(WsfPlatform *aPlatformPtr)
static bool SetScaleFactor(WsfPlatform *aPlatformPtr, float aScaleFactor)
Definition WsfOpticalReflectivity.cpp:129
static float GetScaleFactor(WsfPlatform *aPlatformPtr)
Definition WsfOpticalReflectivity.cpp:119
static void RegisterInterface(WsfScenario &aScenario)
Register the platform interface object on the prototype signature list in the specified scenario.
Definition WsfOpticalReflectivity.cpp:189
WsfOpticalReflectivity()
Definition WsfOpticalReflectivity.cpp:22
@ cSIGNATURE_INDEX
Index of signature within WsfSignatureList (must be unique).
Definition WsfOpticalReflectivity.hpp:28
Platforms represent a entity within the simulation.
Definition WsfPlatform.hpp:115
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
WsfSignature()
Definition WsfSignature.cpp:19
Copyrights Multiple, All Rights Reserved