12#ifndef WSFASSETPERCEPTION_HPP
13#define WSFASSETPERCEPTION_HPP
15#include "wsf_mil_export.h"
62 operator int() {
return (
int)
mIndex; }
63 operator const int()
const {
return (
int)
mIndex; }
65 operator const size_t()
const {
return mIndex; }
105 void*
Create(
const UtScriptContext& aInstance)
override;
106 void*
Clone(
void* aObjectPtr)
override;
107 void Destroy(
void* aObjectPtr)
override;
108 std::string
ToString(
void* aObjectPtr)
const override;
109 bool LessThan(
void* aLHS,
void* aRHS)
override;
bool operator==(int aId, const WsfStringInt &aRhs)
Equal relational operator for the case of an integer on the LHS and a StringId on the RHS.
Definition WsfStringId.hpp:69
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
@ cTASK_RESOURCE_TYPE_NONE
resource is not set
Definition WsfTaskResource.hpp:23
Definition WsfAssetPerception.hpp:35
AssetSystem()
Definition WsfAssetPerception.cpp:76
WsfStringId mSystemType
Definition WsfAssetPerception.hpp:45
unsigned int mSystemKind
Definition WsfAssetPerception.hpp:44
double mQuantityRemaining
Definition WsfAssetPerception.hpp:49
WsfStringId mSystemName
Definition WsfAssetPerception.hpp:46
unsigned int mReadyAssignment
Definition WsfAssetPerception.hpp:47
Definition WsfAssetPerception.hpp:32
WsfAssetPerception * Clone() const override
Definition WsfAssetPerception.hpp:57
size_t mIndex
Definition WsfAssetPerception.hpp:67
double mVelocityWCS[3]
Definition WsfAssetPerception.hpp:70
const char * GetScriptClassName() const override
Definition WsfAssetPerception.hpp:59
bool operator<(const WsfAssetPerception &aRhs) const
Definition WsfAssetPerception.hpp:60
double mOrientationNED[3]
Definition WsfAssetPerception.hpp:71
double mTime
Definition WsfAssetPerception.hpp:68
double mLocationWCS[3]
Definition WsfAssetPerception.hpp:69
WsfAssetPerception & operator=(const WsfAssetPerception &)=delete
WsfAssetPerception()
Definition WsfAssetPerception.cpp:145
std::vector< AssetSystem > mSystems
Definition WsfAssetPerception.hpp:73
Definition WsfLocalTrack.hpp:32
WsfObject()
This is the constructor for the WsfObject class.
Definition WsfObject.cpp:88
virtual WsfObject * Clone() const =0
void Destroy(void *aObjectPtr) override
Definition WsfAssetPerception.cpp:334
UT_DECLARE_SCRIPT_METHOD(SystemReadyAssignment)
UT_DECLARE_SCRIPT_METHOD(OrientationWCS)
UT_DECLARE_SCRIPT_METHOD(Heading)
WsfScriptAssetPerceptionClass(const std::string &aClassName, UtScriptTypes *aTypesPtr)
Definition WsfAssetPerception.cpp:286
UT_DECLARE_SCRIPT_METHOD(Roll)
UT_DECLARE_SCRIPT_METHOD(Pitch)
UT_DECLARE_SCRIPT_METHOD(SystemCount)
UT_DECLARE_SCRIPT_METHOD(InterceptLocation)
UT_DECLARE_SCRIPT_METHOD(Location)
UT_DECLARE_SCRIPT_METHOD(Speed)
UT_DECLARE_SCRIPT_METHOD(SystemQuantityRemaining)
~WsfScriptAssetPerceptionClass() override=default
UT_DECLARE_SCRIPT_METHOD(Time)
UT_DECLARE_SCRIPT_METHOD(VelocityWCS)
UT_DECLARE_SCRIPT_METHOD(SystemKind)
UT_DECLARE_SCRIPT_METHOD(Index)
UT_DECLARE_SCRIPT_METHOD(SystemName)
UT_DECLARE_SCRIPT_METHOD(TrueBearingTo)
UT_DECLARE_SCRIPT_METHOD(ClosingSpeedOf)
UT_DECLARE_SCRIPT_METHOD(ClosestApproachOf)
UT_DECLARE_SCRIPT_METHOD(RelativeBearingTo)
bool LessThan(void *aLHS, void *aRHS) override
Definition WsfAssetPerception.cpp:371
void OnNewScriptRef(UtScriptRef &aReference) override
Definition WsfAssetPerception.cpp:379
UT_DECLARE_SCRIPT_METHOD(SystemType)
UT_DECLARE_SCRIPT_METHOD(OrientationNED)
std::string ToString(void *aObjectPtr) const override
Definition WsfAssetPerception.cpp:340
UT_DECLARE_SCRIPT_METHOD(VelocityNED)
void * Create(const UtScriptContext &aInstance) override
Definition WsfAssetPerception.cpp:322
WsfScriptObjectClass(const std::string &aClassName, UtScriptTypes *aTypesPtr)
Definition WsfScriptObjectClass.cpp:24
Definition WsfSensor.hpp:92
WsfLocalTrack * mTrackPtr
Definition WsfAssetPerception.hpp:92
double mDistance
Definition WsfAssetPerception.hpp:90
WsfPlatform * mPlatformPtr
Definition WsfAssetPerception.hpp:91
WsfSortedPerception(WsfPlatform *aPlatform, WsfPlatform *aReference)
Definition WsfAssetPerception.cpp:228
WsfAssetPerception * mAssetPtr
Definition WsfAssetPerception.hpp:93
bool operator<(const WsfSortedPerception &aRhs) const
Definition WsfAssetPerception.hpp:88
Definition WsfWeapon.hpp:63