WSF
WsfScriptBMAssetRecordClass.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI//REL TO USA ONLY
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// The use, dissemination or disclosure of data in this file is subject to
7// limitation or restriction. See accompanying README and LICENSE for details.
8// ****************************************************************************
9// Classification: UNCLASSIFIED
10
11#ifndef WSF_SCRIPT_BM_ASSET_RECORD_CLASS_HPP
12#define WSF_SCRIPT_BM_ASSET_RECORD_CLASS_HPP
13
14#include <WsfBMCommon.hpp>
15#include <UtScriptBasicTypes.hpp>
16#include <iadsLib/enum.hpp>
17#include <UtMemory.hpp>
18
20class WsfSimulation;
21
22class WSF_IADS_C2_LIB_EXPORT WsfScriptBMAssetRecordClass : public UtScriptClass
23{
24 public:
25 WsfScriptBMAssetRecordClass(const std::string& aClassName, UtScriptTypes* aScriptTypesPtr);
27
28 void* Create(const UtScriptContext& aContext) override;
29 void* Clone(void* aObjectPtr) override;
30 void Destroy(void* aObjectPtr) override;
31
33 UT_DECLARE_SCRIPT_METHOD(AddDirectSubordinate);
35 UT_DECLARE_SCRIPT_METHOD(AddDirectCommander);
36
38
39 UT_DECLARE_SCRIPT_METHOD(SetLocationECEF);
40 UT_DECLARE_SCRIPT_METHOD(SetVelocityECEF);
43
44 UT_DECLARE_SCRIPT_METHOD(SetMaxPlatformAssignments);
45 UT_DECLARE_SCRIPT_METHOD(SetCurrPlatformAssignments);
46 UT_DECLARE_SCRIPT_METHOD(SetPlatformAssignmentDelay);
47
48 UT_DECLARE_SCRIPT_METHOD(SetStatusAgeouts);
49
50 UT_DECLARE_SCRIPT_METHOD(SetSystemStatusRed);
51 UT_DECLARE_SCRIPT_METHOD(SetSystemStatusGreen);
52 UT_DECLARE_SCRIPT_METHOD(SetSystemStatusWhite);
53 UT_DECLARE_SCRIPT_METHOD(SetSystemStatusYellow);
54 UT_DECLARE_SCRIPT_METHOD(SetExternallyDefinedSystemStatus);
55
57
60
61 UT_DECLARE_SCRIPT_METHOD(SetDefaultDefendedPriority);
62
63 public:
64 static void AttachUnitZone(WsfBMAssetRecord* aObjectPtr, void* wsf_zone_obj, il::tZonePriority priority, il::eZoneType type, WsfSimulation* sim_ptr);
65};
66
67#endif
Definition WsfBMAssetRecord.hpp:32
UT_DECLARE_SCRIPT_METHOD(SetPlatformAssignmentDelay)
UT_DECLARE_SCRIPT_METHOD(AddDirectCommander)
UT_DECLARE_SCRIPT_METHOD(SetSystemStatusYellow)
void * Clone(void *aObjectPtr) override
Definition WsfScriptBMAssetRecordClass.cpp:67
UT_DECLARE_SCRIPT_METHOD(SetExternallyDefinedSystemStatus)
UT_DECLARE_SCRIPT_METHOD(SetCurrPlatformAssignments)
UT_DECLARE_SCRIPT_METHOD(GetC2Capable)
WsfScriptBMAssetRecordClass(const std::string &aClassName, UtScriptTypes *aScriptTypesPtr)
Definition WsfScriptBMAssetRecordClass.cpp:22
static void AttachUnitZone(WsfBMAssetRecord *aObjectPtr, void *wsf_zone_obj, il::tZonePriority priority, il::eZoneType type, WsfSimulation *sim_ptr)
Definition WsfScriptBMAssetRecordClass.cpp:212
UT_DECLARE_SCRIPT_METHOD(SetVelocityECEF)
UT_DECLARE_SCRIPT_METHOD(SetSystemStatusWhite)
UT_DECLARE_SCRIPT_METHOD(SetLocationECEF)
UT_DECLARE_SCRIPT_METHOD(SetMaxPlatformAssignments)
UT_DECLARE_SCRIPT_METHOD(SetC2Capable)
void * Create(const UtScriptContext &aContext) override
Definition WsfScriptBMAssetRecordClass.cpp:61
UT_DECLARE_SCRIPT_METHOD(SetSystemStatusGreen)
UT_DECLARE_SCRIPT_METHOD(AddDirectSubordinate)
UT_DECLARE_SCRIPT_METHOD(SetDefaultDefendedPriority)
void Destroy(void *aObjectPtr) override
Definition WsfScriptBMAssetRecordClass.cpp:72
UT_DECLARE_SCRIPT_METHOD(SetStatusAgeouts)
UT_DECLARE_SCRIPT_METHOD(AddWeaponInfo)
UT_DECLARE_SCRIPT_METHOD(SetSystemStatusRed)
UT_DECLARE_SCRIPT_METHOD(SetDefended)
The main controller for a simulation.
Definition WsfSimulation.hpp:109
Copyrights Multiple, All Rights Reserved