|
WSF
|
#include <WsfAssetPerception.hpp>


Classes | |
| class | AssetSystem |
Public Member Functions | |
| WsfAssetPerception () | |
| WsfAssetPerception (const WsfAssetPerception &aSrc) | |
| WsfAssetPerception & | operator= (const WsfAssetPerception &)=delete |
| WsfAssetPerception (const WsfAssetPerception &aSrc, const AssetSystem &aSys) | |
| WsfAssetPerception (double aSimTime, WsfPlatform &aPlatform) | |
| WsfAssetPerception * | Clone () 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 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) |
Public Attributes | |
| size_t | mIndex |
| double | mTime |
| double | mLocationWCS [3] |
| double | mVelocityWCS [3] |
| double | mOrientationNED [3] |
| std::vector< AssetSystem > | mSystems |
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()). | |
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.
| WsfAssetPerception::WsfAssetPerception | ( | ) |
References mIndex, mLocationWCS, mOrientationNED, mSystems, mTime, mVelocityWCS, and WsfObject::WsfObject().
Referenced by Clone(), operator<(), operator=(), operator==(), WsfAssetPerception(), and WsfAssetPerception().
| WsfAssetPerception::WsfAssetPerception | ( | const WsfAssetPerception & | aSrc | ) |
References mIndex, mLocationWCS, mOrientationNED, mSystems, mTime, mVelocityWCS, WsfAssetPerception(), and WsfObject::WsfObject().
| WsfAssetPerception::WsfAssetPerception | ( | const WsfAssetPerception & | aSrc, |
| const AssetSystem & | aSys ) |
References mIndex, mLocationWCS, mOrientationNED, mSystems, mTime, mVelocityWCS, WsfAssetPerception(), and WsfObject::WsfObject().
| WsfAssetPerception::WsfAssetPerception | ( | double | aSimTime, |
| WsfPlatform & | aPlatform ) |
|
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().
|
inlineoverride |
|
inline |
References mIndex.
|
inline |
References mIndex.
|
inline |
References mIndex.
|
inline |
References mIndex.
|
inline |
References mIndex, and WsfAssetPerception().
|
delete |
References WsfAssetPerception().
| bool WsfAssetPerception::operator== | ( | const WsfAssetPerception & | aRhs | ) | const |
References mIndex, mSystems, and WsfAssetPerception().
| size_t WsfAssetPerception::mIndex |
Referenced by operator const int(), operator const size_t(), operator int(), operator size_t(), operator<(), operator==(), WsfPerceptionProcessor::ProcessMessage(), WsfQuantumTaskerProcessor::Rejected(), WsfQuantumTaskerProcessor::RejectedAnyTasks(), WsfHeatMap::Update(), WsfQuantumTaskerProcessor::Update(), WsfPerceptionProcessor::UpdateAssets(), WsfAssetPerception(), WsfAssetPerception(), WsfAssetPerception(), and WsfAssetPerception().
| double WsfAssetPerception::mLocationWCS[3] |
| double WsfAssetPerception::mOrientationNED[3] |
Referenced by WsfHeatMap::Update(), WsfAssetPerception(), WsfAssetPerception(), WsfAssetPerception(), and WsfAssetPerception().
| std::vector<AssetSystem> WsfAssetPerception::mSystems |
| double WsfAssetPerception::mTime |
| double WsfAssetPerception::mVelocityWCS[3] |