|
WSF
|
#include <WsfBMTrackMessage.hpp>


Public Types | |
| enum | eTrackingStatus { STATUS_NORMAL , STATUS_COASTING , STATUS_TIMEDOUT , STATUS_DROPPING , STATUS_DROPPED } |
| Public Types inherited from WsfBMTypeWrapper< il::baseMessage, std::shared_ptr< il::baseMessage > > | |
| typedef std::shared_ptr< il::baseMessage > | tType |
| Public Types inherited from WsfObject | |
| typedef std::vector< WsfStringId > | TypeList |
| The list of types returned by GetTypeList. | |
Public Member Functions | |
| WsfBMTrackMessage (WsfSimulation *simPtr) | |
| WsfBMTrackMessage (WsfPlatform *aPlatformPtr) | |
| WsfBMTrackMessage (WsfPlatform *aPlatformPtr, const std::shared_ptr< il::baseMessage > &message) | |
| WsfBMTrackMessage (const WsfBMTrackMessage &aSrc) | |
| virtual | ~WsfBMTrackMessage () |
| WsfBMTrackMessage * | Clone () const override |
| const char * | GetScriptClassName () const override |
| virtual const char * | GetBaseClassName () |
| void | SetUpdateInterval (const double update_interval_s) |
| double | GetUpdateInterval () const |
| void | SetTrackID (const WsfTrackId &track_id) |
| int | GetTrackingSystemID () const |
| int | GetTrackingSystemTrackID () const |
| void | SetPosition (const double sim_time_s, const WsfGeoPoint &location) |
| const WsfGeoPoint | GetPosition () const |
| double | GetPositionTime () const |
| void | SetVelocityECEF (const UtVec3d &vel) |
| const UtVec3d | GetVelocityECEF () const |
| void | SetCovarianceMatrix (const WsfCovariance &covariance) |
| WsfCovariance | GetCovarianceMatrix () const |
| void | SetHeadingENUDegs (const double heading_deg) |
| void | SetOrientationWCSDegs (const double psi, const double theta, const double phi) |
| double | GetOrientationWCSPsiDegs () const |
| double | GetOrientationWCSThetaDegs () const |
| double | GetOrientationWCSPhiDegs () const |
| void | SetTargetType (const std::string &type, const std::string &subtype) |
| std::string | GetTargetType () const |
| std::string | GetTargetSubType () const |
| void | SetTrackingStatus (const eTrackingStatus status) |
| eTrackingStatus | GetTrackingStatus () const |
| void | SetAltitudeReliable (const bool is_reliable) |
| bool | GetAltitudeReliable () const |
| void | SetIFF (const WsfTrack::IFF_Status iff) |
| WsfTrack::IFF_Status | GetIFF () const |
| void | SetManeuveringFlag (const bool is_maneuvering) |
| bool | GetManeuveringFlag () const |
| void | SetQuantity (const int qty) |
| int | GetQuantity () const |
| void | SetJamming (const bool is_jamming) |
| bool | GetJamming () const |
| void | SetJammingPower (const double power) |
| double | GetJammingPower () const |
| void | SetTargetTruthInfo (const WsfPlatform *target) |
| void | SetReportingSensorType (const il::SensorEnum sensor_type) |
| il::SensorEnum | GetReportingSensorType () const |
| std::shared_ptr< const il::airTargetMessage > | GetRawMessagePtr () const |
| Public Member Functions inherited from WsfMessage | |
| WsfMessage (WsfStringId aType) | |
| Constructor for XIO (de)serialization. | |
| WsfMessage (WsfStringId aType, const wsf::comm::Address &aSrcAddr, WsfSimulation &aSimulation) | |
| WsfMessage (WsfPlatform *aPlatformPtr) | |
| WsfMessage (WsfStringId aType, WsfPlatform *aPlatformPtr) | |
| WsfMessage (WsfStringId aType, WsfStringId aSubType, WsfPlatform *aPlatformPtr) | |
| WsfMessage (WsfSimulation &aSimulation) | |
| WsfMessage & | operator= (const WsfMessage &aRhs)=default |
| ~WsfMessage () override | |
| const char * | GetScriptClassName () const override |
| WsfSimulation * | GetSimulation () const |
| Get the simulation that owns the message. | |
| void | SetSimulation (WsfSimulation *aSimulationPtr) |
| WsfStringId | GetOriginator () const |
| void | SetOriginator (WsfPlatform *aPlatformPtr) |
| Set the originator of this message. | |
| size_t | GetOriginatorIndex () const |
| int | GetSizeBits () const |
| void | SetSizeBits (int aSizeBits) |
| int | GetSizeBytes () const |
| void | SetSizeBytes (int aSizeBytes) |
| unsigned int | GetSerialNumber () const |
| void | SetSerialNumber (unsigned int aSerialNumber) |
| double | GetDataTag () const |
| void | SetDataTag (double aDataTag) |
| WsfStringId | GetStaticType () const |
| WsfStringId | GetType () const |
| void | SetType (WsfStringId aType) |
| WsfStringId | GetSubType () const |
| void | SetSubType (WsfStringId aSubType) |
| int | GetPriority () const |
| void | SetPriority (int aPriority) |
| const wsf::comm::Address & | GetSrcAddr () const |
| void | SetSrcAddr (const wsf::comm::Address &aSrcAddr) |
| const wsf::comm::Address & | GetDstAddr () const |
| void | SetDstAddr (const wsf::comm::Address &aDstAddr) |
| const wsf::comm::Address & | GetNextHopAddr () const |
| void | SetNextHopAddr (const wsf::comm::Address &aNextHopAddr) |
| virtual bool | CanBeReplacedBy (const WsfMessage &aMessage) const |
| WsfStringId | GetGroup () const |
| void | SetGroup (WsfStringId aGroup) const |
| void | PrintDataTagPrecise (std::ostream &aStream, std::streamsize aPrecision) const |
| template<typename T> | |
| void | Serialize (T &aBuff) |
| (De)serializer for XIO | |
| virtual WsfStringId | GetComponentNameId () const |
| virtual WsfStringId | GetComponentTypeId () const |
| virtual WsfStringId | GetComponentModeId () const |
| Public Member Functions inherited from WsfAuxDataEnabled | |
| WsfAuxDataEnabled ()=default | |
| WsfAuxDataEnabled (const WsfAuxDataEnabled &aSrc)=default | |
| WsfAuxDataEnabled & | operator= (const WsfAuxDataEnabled &aRhs) |
| WsfAuxDataEnabled (WsfAuxDataEnabled &&)=default | |
| WsfAuxDataEnabled & | operator= (WsfAuxDataEnabled &&)=default |
| virtual | ~WsfAuxDataEnabled () noexcept |
| void | SetAuxData (const WsfAttributeContainer &aAuxData) |
| void | DeleteAuxData () |
| Delete the aux data container from the object. | |
| void | MergeAuxData (const WsfAuxDataEnabled &aSrc) |
| Merge the object's aux data with aux data from an existing object. | |
| void | UpdateAuxData (const WsfAuxDataEnabled &aSrc) |
| Update the object's aux data with aux data from an existing object. | |
| bool | HasAuxData () const |
| Returns true if this object has aux data. | |
| bool | ProcessInput (UtInput &aInput) |
| template<typename T> | |
| void | Serialize (T &aBuff) |
| (De)serialization for XIO | |
| WsfAttributeContainer & | GetAuxData () |
| const WsfAttributeContainer & | GetAuxData () const noexcept |
| const WsfAttributeContainer & | GetAuxDataConst () const noexcept |
| Public Member Functions inherited from WsfBMManagedTypeWrapper< il::baseMessage > | |
| WsfBMManagedTypeWrapper (const std::string &script_class_name) | |
| virtual void | SetTable (std::shared_ptr< il::baseMessage > &data_to_wrap) |
| Public Member Functions inherited from WsfBMTypeWrapper< il::baseMessage, std::shared_ptr< il::baseMessage > > | |
| WsfBMTypeWrapper (const std::string &script_class_name) | |
| virtual tType | GetRawPtr () const |
| virtual bool | IsValidRef () 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) |
Static Public Member Functions | |
| static WsfStringId | GetTypeId () |
| Static Public Member Functions inherited from WsfMessage | |
| static WsfStringId | GetTypeId () |
Additional Inherited Members | |
| Static Public Attributes inherited from WsfMessage | |
| static constexpr size_t | cBITS_IN_BYTE = 8U |
| Static Public Attributes inherited from WsfAuxDataEnabled | |
| static UtCallbackListN< void(const WsfAuxDataEnabled *)> | AuxDataAccessed |
| static UtCallbackListN< void(const WsfAuxDataEnabled *)> | AuxDataDestroyed |
| WsfMessage (const WsfMessage &aSrc)=default | |
| WsfObject (const WsfObject &aSrc) | |
| Copy constructor (for Clone()). | |
| Protected Attributes inherited from WsfBMTypeWrapper< il::baseMessage, std::shared_ptr< il::baseMessage > > | |
| std::string | m_script_class_name |
| std::shared_ptr< il::baseMessage > | m_wrapped_ptr |
| WsfBMTrackMessage::WsfBMTrackMessage | ( | WsfSimulation * | simPtr | ) |
| WsfBMTrackMessage::WsfBMTrackMessage | ( | WsfPlatform * | aPlatformPtr | ) |
| WsfBMTrackMessage::WsfBMTrackMessage | ( | WsfPlatform * | aPlatformPtr, |
| const std::shared_ptr< il::baseMessage > & | message ) |
| WsfBMTrackMessage::WsfBMTrackMessage | ( | const WsfBMTrackMessage & | aSrc | ) |
|
virtual |
|
overridevirtual |
Clone this object by creating an identical copy and returning a pointer to it.
Reimplemented from WsfMessage.
References WsfBMTrackMessage().
| bool WsfBMTrackMessage::GetAltitudeReliable | ( | ) | const |
References GetRawMessagePtr().
|
virtual |
References WsfScriptBMTrackMessageClass::BASE_CLASS_NAME.
| WsfCovariance WsfBMTrackMessage::GetCovarianceMatrix | ( | ) | const |
References GetRawMessagePtr().
| WsfTrack::IFF_Status WsfBMTrackMessage::GetIFF | ( | ) | const |
| bool WsfBMTrackMessage::GetJamming | ( | ) | const |
References GetRawMessagePtr().
| double WsfBMTrackMessage::GetJammingPower | ( | ) | const |
References GetRawMessagePtr().
| bool WsfBMTrackMessage::GetManeuveringFlag | ( | ) | const |
References GetRawMessagePtr().
| double WsfBMTrackMessage::GetOrientationWCSPhiDegs | ( | ) | const |
References GetRawMessagePtr().
| double WsfBMTrackMessage::GetOrientationWCSPsiDegs | ( | ) | const |
References GetRawMessagePtr().
| double WsfBMTrackMessage::GetOrientationWCSThetaDegs | ( | ) | const |
References GetRawMessagePtr().
| const WsfGeoPoint WsfBMTrackMessage::GetPosition | ( | ) | const |
References GetRawMessagePtr().
| double WsfBMTrackMessage::GetPositionTime | ( | ) | const |
References GetRawMessagePtr().
| int WsfBMTrackMessage::GetQuantity | ( | ) | const |
References GetRawMessagePtr().
|
inline |
References WsfBMTypeWrapper< il::baseMessage, std::shared_ptr< il::baseMessage > >::m_wrapped_ptr.
Referenced by GetAltitudeReliable(), GetCovarianceMatrix(), GetIFF(), GetJamming(), GetJammingPower(), GetManeuveringFlag(), GetOrientationWCSPhiDegs(), GetOrientationWCSPsiDegs(), GetOrientationWCSThetaDegs(), GetPosition(), GetPositionTime(), GetQuantity(), GetReportingSensorType(), GetTargetSubType(), GetTargetType(), GetTrackingStatus(), GetTrackingSystemID(), GetTrackingSystemTrackID(), GetUpdateInterval(), GetVelocityECEF(), UT_DEFINE_SCRIPT_METHOD(), and WsfBMTrackMessage().
| il::SensorEnum WsfBMTrackMessage::GetReportingSensorType | ( | ) | const |
|
overridevirtual |
Reimplemented from WsfBMTypeWrapper< il::baseMessage, std::shared_ptr< il::baseMessage > >.
References WsfScriptBMTrackMessageClass::SCRIPT_CLASS_NAME.
| std::string WsfBMTrackMessage::GetTargetSubType | ( | ) | const |
References GetRawMessagePtr().
| std::string WsfBMTrackMessage::GetTargetType | ( | ) | const |
References GetRawMessagePtr().
| WsfBMTrackMessage::eTrackingStatus WsfBMTrackMessage::GetTrackingStatus | ( | ) | const |
| int WsfBMTrackMessage::GetTrackingSystemID | ( | ) | const |
References GetRawMessagePtr().
| int WsfBMTrackMessage::GetTrackingSystemTrackID | ( | ) | const |
References GetRawMessagePtr().
|
static |
Referenced by WsfBMTrackMessage(), WsfBMTrackMessage(), WsfBMTrackMessage(), and WsfBMTrackMessage().
| double WsfBMTrackMessage::GetUpdateInterval | ( | ) | const |
References GetRawMessagePtr().
| const UtVec3d WsfBMTrackMessage::GetVelocityECEF | ( | ) | const |
References GetRawMessagePtr().
| void WsfBMTrackMessage::SetAltitudeReliable | ( | const bool | is_reliable | ) |
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetCovarianceMatrix | ( | const WsfCovariance & | covariance | ) |
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetHeadingENUDegs | ( | const double | heading_deg | ) |
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetIFF | ( | const WsfTrack::IFF_Status | iff | ) |
| void WsfBMTrackMessage::SetJamming | ( | const bool | is_jamming | ) |
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetJammingPower | ( | const double | power | ) |
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetManeuveringFlag | ( | const bool | is_maneuvering | ) |
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetOrientationWCSDegs | ( | const double | psi, |
| const double | theta, | ||
| const double | phi ) |
| void WsfBMTrackMessage::SetPosition | ( | const double | sim_time_s, |
| const WsfGeoPoint & | location ) |
References WsfGeoPoint::GetAlt(), WsfGeoPoint::GetLat(), and WsfGeoPoint::GetLon().
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetQuantity | ( | const int | qty | ) |
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetReportingSensorType | ( | const il::SensorEnum | sensor_type | ) |
References IADSC2ScenarioExtension::GetGlobalLogger(), and WsfMessage::GetSimulation().
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetTargetTruthInfo | ( | const WsfPlatform * | target | ) |
References WsfObject::GetName(), and WsfBMUtils::GetUnitIDRecordFromPlatform().
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetTargetType | ( | const std::string & | type, |
| const std::string & | subtype ) |
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetTrackID | ( | const WsfTrackId & | track_id | ) |
References WsfBMUtils::ConvertTrackId().
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetTrackingStatus | ( | const eTrackingStatus | status | ) |
References IADSC2ScenarioExtension::GetGlobalLogger(), WsfMessage::GetSimulation(), STATUS_COASTING, STATUS_DROPPED, STATUS_DROPPING, STATUS_NORMAL, and STATUS_TIMEDOUT.
Referenced by WsfBMUtils::ConvertTrack().
| void WsfBMTrackMessage::SetUpdateInterval | ( | const double | update_interval_s | ) |
Referenced by WsfBMUtils::ConvertTrack(), and UT_DEFINE_SCRIPT_METHOD().
| void WsfBMTrackMessage::SetVelocityECEF | ( | const UtVec3d & | vel | ) |
References vel.
Referenced by WsfBMUtils::ConvertTrack().