WSF
WsfScriptThreatReportClass.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef WSFSCRIPTTHREATREPORTCLASS_HPP
13#define WSFSCRIPTTHREATREPORTCLASS_HPP
14
15#include "wsf_mil_export.h"
16
17#include "UtScriptBasicTypes.hpp"
18
20class WSF_MIL_EXPORT WsfScriptThreatReportClass : public UtScriptClass
21{
22public:
23 static const char* GetScriptClassname() { return "WsfThreatReport"; }
24 // static const string GetScriptClassnameString() {return string("WsfThreatReport");}
25
26 WsfScriptThreatReportClass(const std::string& aClassName, UtScriptTypes* aScriptTypesPtr);
27
28 ~WsfScriptThreatReportClass() override = default;
29
30 void* Create(const UtScriptContext& aInstance) override;
31 void Destroy(void* aObjectPtr) override;
32 void* Clone(void* aObjectPtr) override;
33
39 UT_DECLARE_SCRIPT_METHOD(ProbabilityEnityType);
40 UT_DECLARE_SCRIPT_METHOD(ProbabilityKillAtT0);
41 UT_DECLARE_SCRIPT_METHOD(ProbabilityThreatAtT0);
42 UT_DECLARE_SCRIPT_METHOD(TimeOfProbabilityThreatMax);
43 UT_DECLARE_SCRIPT_METHOD(ProbabilityKillMax);
44 UT_DECLARE_SCRIPT_METHOD(ProbabilityThreatMax);
45 UT_DECLARE_SCRIPT_METHOD(ProbabilityOfDetection);
46 UT_DECLARE_SCRIPT_METHOD(ProbabilityWeaponType);
47};
48
49#endif
Define script methods for WsfThreatReport.
Definition WsfScriptThreatReportClass.hpp:21
UT_DECLARE_SCRIPT_METHOD(ProbabilityWeaponType)
UT_DECLARE_SCRIPT_METHOD(ProbabilityEnityType)
void * Create(const UtScriptContext &aInstance) override
Definition WsfScriptThreatReportClass.cpp:53
UT_DECLARE_SCRIPT_METHOD(WeaponType)
UT_DECLARE_SCRIPT_METHOD(ProbabilityKillAtT0)
UT_DECLARE_SCRIPT_METHOD(ProbabilityThreatAtT0)
UT_DECLARE_SCRIPT_METHOD(ProbabilityKillMax)
UT_DECLARE_SCRIPT_METHOD(ProbabilityOfDetection)
UT_DECLARE_SCRIPT_METHOD(EntityTypeId)
void Destroy(void *aObjectPtr) override
Definition WsfScriptThreatReportClass.cpp:61
void * Clone(void *aObjectPtr) override
Definition WsfScriptThreatReportClass.cpp:47
static const char * GetScriptClassname()
Definition WsfScriptThreatReportClass.hpp:23
UT_DECLARE_SCRIPT_METHOD(WeaponTypeId)
~WsfScriptThreatReportClass() override=default
UT_DECLARE_SCRIPT_METHOD(TimeOfProbabilityThreatMax)
UT_DECLARE_SCRIPT_METHOD(ProbabilityThreatMax)
UT_DECLARE_SCRIPT_METHOD(EntityType)
WsfScriptThreatReportClass(const std::string &aClassName, UtScriptTypes *aScriptTypesPtr)
Definition WsfScriptThreatReportClass.cpp:25
Copyrights Multiple, All Rights Reserved