|
WSF
|
#include <WsfSignature.hpp>


Public Member Functions | |
| WsfSignature () | |
| WsfSignature (const WsfSignature &aSrc) | |
| WsfSignature & | operator= (const WsfSignature &)=delete |
| ~WsfSignature () override=default | |
| virtual bool | InitializeType () |
| virtual bool | Initialize (double aSimTime, WsfPlatform *aPlatformPtr) |
| virtual bool | IsA_ValidState (WsfStringId aId) const |
| virtual std::vector< WsfStringId > | GetStateNames () const |
| get the list of all valid states belonging to the signature | |
| bool | ProcessInput (UtInput &aInput) override |
| bool | RequiresPlatform () const |
| indicates that a signature can be queried without a valid mPlatform | |
| Public Member Functions inherited from WsfObject | |
| WsfObject () | |
| This is the constructor for the WsfObject class. | |
| ~WsfObject () override | |
| This is the destructor for the WsfObject class. | |
| const char * | GetScriptClassName () const override |
| virtual WsfObject * | Clone () const =0 |
| const std::string & | GetType () const |
| WsfStringId | GetTypeId () const |
| Get the string ID of the 'type' of the object. | |
| void | SetType (WsfStringId aType) |
| const std::string & | GetBaseType () const |
| WsfStringId | GetBaseTypeId () const |
| const TypeList & | GetTypeList () const |
| bool | IsA_TypeOf (WsfStringId aType) const |
| WsfObject & | operator= (const WsfObject &aRhs) |
| Assignment operator. | |
| template<typename T> | |
| void | Serialize (T &aBuff) |
| For XIO (de)serialization. | |
| const std::string & | GetName () const |
| WsfStringId | GetNameId () const |
| void | SetName (WsfStringId aName) |
Static Protected Member Functions | |
| template<class SignatureState, WsfStringId SignatureState::* IdMember, typename Iterator> | |
| static std::vector< WsfStringId > | GetStateNamesP (Iterator aBegin, Iterator aEnd) |
Protected Attributes | |
| WsfPlatform * | mPlatformPtr |
| double | mBaseTime |
| bool | mRequiresPlatform {false} |
Additional Inherited Members | |
| Public Types inherited from WsfObject | |
| typedef std::vector< WsfStringId > | TypeList |
| The list of types returned by GetTypeList. | |
| WsfObject (const WsfObject &aSrc) | |
| Copy constructor (for Clone()). | |
This is the abstract base class for all platform 'signatures'.
A 'signature' is a platform attribute that is used to define the susceptibility of the platform to being detected by a sensor.
| WsfSignature::WsfSignature | ( | ) |
References mBaseTime, mPlatformPtr, and WsfObject::WsfObject().
Referenced by operator=(), WsfInfraredSignature::WsfInfraredSignature(), WsfInherentContrast::WsfInherentContrast(), WsfOpticalReflectivity::WsfOpticalReflectivity(), WsfOpticalSignature::WsfOpticalSignature(), WsfRadarSignature::WsfRadarSignature(), and WsfSignature().
| WsfSignature::WsfSignature | ( | const WsfSignature & | aSrc | ) |
References mBaseTime, mPlatformPtr, mRequiresPlatform, WsfObject::WsfObject(), and WsfSignature().
|
overridedefault |
References Initialize(), InitializeType(), and IsA_ValidState().
|
inlinevirtual |
get the list of all valid states belonging to the signature
Reimplemented in WsfCompositeOpticalSignature, WsfMilRadarSignature, WsfSpaceOpticalSignature, WsfStandardAcousticSignature, WsfStandardInfraredSignature, WsfStandardInherentContrast, WsfStandardOpticalReflectivity, WsfStandardOpticalSignature, and WsfStandardRadarSignature.
Referenced by IsA_ValidState().
|
inlinestaticprotected |
Many derived signatures use the same logic in obtaining state names, but their state classes and data containers are distinct This template also uses "pointer-to-member" to access the name via different state classes.
Referenced by WsfMilRadarSignature::GetStateNames(), WsfSpaceOpticalSignature::GetStateNames(), WsfStandardAcousticSignature::GetStateNames(), WsfStandardInfraredSignature::GetStateNames(), WsfStandardInherentContrast::GetStateNames(), WsfStandardOpticalReflectivity::GetStateNames(), WsfStandardOpticalSignature::GetStateNames(), and WsfStandardRadarSignature::GetStateNames().
|
virtual |
Initialize an instance to prepare for use in a simulation.
| aSimTime | The current simulation time. |
| aPlatformPtr | The platform to which the instance is attached. |
Reimplemented in WsfChaffRadarSignature, WsfCompositeOpticalSignature, and WsfSpaceOpticalSignature.
References mBaseTime, and mPlatformPtr.
Referenced by WsfCompositeOpticalSignature::Initialize(), WsfSpaceOpticalSignature::Initialize(), WsfRadarSignature::SetSignature(), and ~WsfSignature().
|
virtual |
Initialize an signature 'type' instance. This is called by WsfObjectTypeList::LoadType after all the input for the instance has been read.
Reimplemented in WsfCompositeOpticalSignature, WsfMilRadarSignature, WsfSpaceOpticalSignature, WsfStandardAcousticSignature, WsfStandardInfraredSignature, WsfStandardInherentContrast, WsfStandardOpticalReflectivity, WsfStandardOpticalSignature, and WsfStandardRadarSignature.
Referenced by WsfAcousticSignatureTypes::InitializeType(), WsfCompositeOpticalSignature::InitializeType(), WsfInfraredSignatureTypes::InitializeType(), WsfInherentContrastTypes::InitializeType(), WsfMilRadarSignature::InitializeType(), WsfOpticalReflectivityTypes::InitializeType(), WsfOpticalSignatureTypes::InitializeType(), WsfRadarSignatureTypes::InitializeType(), WsfSpaceOpticalSignature::InitializeType(), WsfStandardAcousticSignature::InitializeType(), WsfStandardInfraredSignature::InitializeType(), WsfStandardInherentContrast::InitializeType(), WsfStandardOpticalReflectivity::InitializeType(), WsfStandardOpticalSignature::InitializeType(), WsfStandardRadarSignature::InitializeType(), WsfRadarSignature::SetSignature(), and ~WsfSignature().
|
virtual |
Checks to make the entered state Id exists, returns true if it exists, false otherwise.
| aId | the name Id of the state. |
References GetStateNames().
Referenced by WsfSignatureList::SetState(), and ~WsfSignature().
|
delete |
References WsfSignature().
|
overridevirtual |
Process input from a generic source.
Examine the current input command. If it is NOT one of the commands recognized by this class then it simply returns 'false'. If it is one of the commands recognized by this class then it processes the command and returns 'true'.
| aInput | a reference to a UtInput object. |
| UtInput::ExceptionBase | (or an object derived from it) if the command was recognized but contains some sort of error. |
Reimplemented from WsfObject.
Reimplemented in WsfSpaceOpticalSignature, WsfStandardAcousticSignature, WsfStandardInfraredSignature, WsfStandardInherentContrast, WsfStandardOpticalReflectivity, WsfStandardOpticalSignature, and WsfStandardRadarSignature.
References WsfObject::ProcessInput().
|
inline |
indicates that a signature can be queried without a valid mPlatform
References mRequiresPlatform.
|
protected |
Referenced by Initialize(), WsfSignature(), and WsfSignature().
|
protected |
Referenced by WsfCompositeOpticalSignature::GetProjectedArea(), WsfSpaceOpticalSignature::GetProjectedArea(), WsfCompositeOpticalSignature::GetRadiantIntensity(), WsfSpaceOpticalSignature::GetRadiantIntensity(), WsfCompositeOpticalSignature::Initialize(), Initialize(), WsfSpaceOpticalSignature::Initialize(), WsfSignature(), and WsfSignature().
|
protected |