WSF
WsfScriptBMWeaponInterface.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_WEAPON_INTERFACE_HPP
12#define WSF_SCRIPT_BM_WEAPON_INTERFACE_HPP
13
14#include <UtInput.hpp>
15#include <UtScriptBasicTypes.hpp>
16#include "WsfBMCommon.hpp"
17#include <iadsLib/enum.hpp>
18#include <UtMemory.hpp>
19
21class WsfSimulation;
22
23class WSF_IADS_C2_LIB_EXPORT WsfScriptBMWeaponInterface : public UtScriptClass
24{
25 public:
26 WsfScriptBMWeaponInterface(const std::string& aClassName, UtScriptTypes* aScriptTypesPtr);
28
29 void* Create(const UtScriptContext& aInstance) override;
30 void* Clone(void* aObjectPtr) override;
31 void Destroy(void* aObjectPtr) override;
32
35 UT_DECLARE_SCRIPT_METHOD(GetNumMunitions);
36 UT_DECLARE_SCRIPT_METHOD(GetMaxEngagements);
37 UT_DECLARE_SCRIPT_METHOD(GetInterceptSpeed);
42
43 static void AttachWeaponZone(WsfBMWeaponInterface* aObjectPtr,
44 void* wsf_zone_obj,
45 il::tZonePriority priority,
46 il::eZoneType type,
47 WsfSimulation* sim_ptr);
48};
49
50#endif
Definition WsfBMWeaponInterface.hpp:25
static void AttachWeaponZone(WsfBMWeaponInterface *aObjectPtr, void *wsf_zone_obj, il::tZonePriority priority, il::eZoneType type, WsfSimulation *sim_ptr)
Definition WsfScriptBMWeaponInterface.cpp:113
WsfScriptBMWeaponInterface(const std::string &aClassName, UtScriptTypes *aScriptTypesPtr)
Definition WsfScriptBMWeaponInterface.cpp:22
UT_DECLARE_SCRIPT_METHOD(SetAIInfo)
UT_DECLARE_SCRIPT_METHOD(GetMaxEngagements)
void Destroy(void *aObjectPtr) override
Definition WsfScriptBMWeaponInterface.cpp:56
void * Clone(void *aObjectPtr) override
Definition WsfScriptBMWeaponInterface.cpp:51
UT_DECLARE_SCRIPT_METHOD(SetSAMInfo)
UT_DECLARE_SCRIPT_METHOD(GetInterceptSpeed)
UT_DECLARE_SCRIPT_METHOD(GetWsysID)
void * Create(const UtScriptContext &aInstance) override
Definition WsfScriptBMWeaponInterface.cpp:45
UT_DECLARE_SCRIPT_METHOD(GetNumMunitions)
The main controller for a simulation.
Definition WsfSimulation.hpp:109
Copyrights Multiple, All Rights Reserved