WSF
WsfAssetPerception Class Reference

#include <WsfAssetPerception.hpp>

Inheritance diagram for WsfAssetPerception:
Collaboration diagram for WsfAssetPerception:

Classes

class  AssetSystem

Public Member Functions

 WsfAssetPerception ()
 WsfAssetPerception (const WsfAssetPerception &aSrc)
WsfAssetPerceptionoperator= (const WsfAssetPerception &)=delete
 WsfAssetPerception (const WsfAssetPerception &aSrc, const AssetSystem &aSys)
 WsfAssetPerception (double aSimTime, WsfPlatform &aPlatform)
WsfAssetPerceptionClone () const override
const char * GetScriptClassName () const override
bool operator< (const WsfAssetPerception &aRhs) const
bool operator== (const WsfAssetPerception &aRhs) const
 operator int ()
 operator const int () const
 operator size_t ()
 operator const size_t () const
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 bool ProcessInput (UtInput &aInput)
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 TypeListGetTypeList () const
bool IsA_TypeOf (WsfStringId aType) const
WsfObjectoperator= (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)

Public Attributes

size_t mIndex
double mTime
double mLocationWCS [3]
double mVelocityWCS [3]
double mOrientationNED [3]
std::vector< AssetSystemmSystems

Additional Inherited Members

Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).

Detailed Description

The WsfAssetPerception class is used for perception of a platform. It can almost be thought of like a "track" for friendly platforms. It is different from a track in that friendlies will send you an asset perception of themselves. The only error in the perception could be its time offset (truth can change since last received message). The only omission in the perception could be intentionally created by the sender (lying to allies). Asset perceptions are passed around through WsfAssetMessages, by the WsfPerceptionProcessor.

Constructor & Destructor Documentation

◆ WsfAssetPerception() [1/4]

◆ WsfAssetPerception() [2/4]

WsfAssetPerception::WsfAssetPerception ( const WsfAssetPerception & aSrc)

◆ WsfAssetPerception() [3/4]

WsfAssetPerception::WsfAssetPerception ( const WsfAssetPerception & aSrc,
const AssetSystem & aSys )

◆ WsfAssetPerception() [4/4]

Member Function Documentation

◆ Clone()

WsfAssetPerception * WsfAssetPerception::Clone ( ) const
inlineoverridevirtual

Return a copy of this object. Must be implemented by all derived types. If cloning is impossible, a WsfUncloneableException should be thrown.

Implements WsfObject.

References WsfAssetPerception().

Referenced by WsfPerceptionProcessor::ProcessMessage(), and WsfPerceptionProcessor::UpdateAssets().

◆ GetScriptClassName()

const char * WsfAssetPerception::GetScriptClassName ( ) const
inlineoverride

◆ operator const int()

WsfAssetPerception::operator const int ( ) const
inline

References mIndex.

◆ operator const size_t()

WsfAssetPerception::operator const size_t ( ) const
inline

References mIndex.

◆ operator int()

WsfAssetPerception::operator int ( )
inline

References mIndex.

◆ operator size_t()

WsfAssetPerception::operator size_t ( )
inline

References mIndex.

◆ operator<()

bool WsfAssetPerception::operator< ( const WsfAssetPerception & aRhs) const
inline

References mIndex, and WsfAssetPerception().

◆ operator=()

WsfAssetPerception & WsfAssetPerception::operator= ( const WsfAssetPerception & )
delete

References WsfAssetPerception().

◆ operator==()

bool WsfAssetPerception::operator== ( const WsfAssetPerception & aRhs) const

Member Data Documentation

◆ mIndex

◆ mLocationWCS

◆ mOrientationNED

double WsfAssetPerception::mOrientationNED[3]

◆ mSystems

◆ mTime

◆ mVelocityWCS


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved