WSF
WsfWeaponTask.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 WSFWEAPONTASK_HPP
13#define WSFWEAPONTASK_HPP
14
15#include "wsf_mil_export.h"
16
17#include "UtScriptAccessible.hpp"
18#include "UtScriptBasicTypes.hpp"
19#include "UtScriptClass.hpp"
20#include "UtScriptTypes.hpp"
22class WsfPlatform;
23class WsfProcessor;
24#include "WsfTask.hpp"
25#include "WsfTaskData.hpp"
27
29class WSF_MIL_EXPORT WsfWeaponTask : public WsfTask
30{
31public:
32 WsfWeaponTask() = default;
33 WsfWeaponTask(const WsfTaskResource& aTaskResource)
34 : WsfTask(aTaskResource)
35 {
36 }
38 : WsfTask(aSrc)
39 {
40 }
41
43 {
45 return *this;
46 }
47
48 ~WsfWeaponTask() override = default;
49
50 const char* GetScriptClassName() const override { return "WsfWeaponTask"; };
51 static void RegisterScriptTypes(UtScriptTypes* aScriptTypesPtr);
52 static void RegisterScriptMethods(UtScriptTypes& aScriptTypes);
53
54 // static UtScriptClass* CreateScriptClass(const std::string& aClassName,
55 // UtScriptTypes* aScriptTypesPtr);
56
57 // void Initialize(double aSimTime,
58 // unsigned long aTaskId,
59 // WsfProcessor* aAssignerPtr);
60};
61
62class WsfWeaponTaskScriptExtensions : public UtScriptExtension
63{
64public:
65 ~WsfWeaponTaskScriptExtensions() override = default;
66 bool AddExtClassMethods(const std::string& aClassName, const std::string& aBaseName, UtScriptTypes* aScriptTypesPtr) override;
67};
68
69#endif
Platforms represent a entity within the simulation.
Definition WsfPlatform.hpp:115
Definition WsfProcessor.hpp:39
WsfTaskData & operator=(const WsfTaskData &aRhs)
Definition WsfTaskData.cpp:74
Attributes of a task-able resource.
Definition WsfTaskResource.hpp:30
static void RegisterScriptTypes(UtScriptTypes *aScriptTypesPtr)
Definition WsfTask.cpp:580
WsfTask()
Definition WsfTask.hpp:30
Definition WsfWeaponTask.hpp:63
bool AddExtClassMethods(const std::string &aClassName, const std::string &aBaseName, UtScriptTypes *aScriptTypesPtr) override
Definition WsfWeaponTask.cpp:337
~WsfWeaponTaskScriptExtensions() override=default
WsfWeaponTask(const WsfTask &aSrc)
Definition WsfWeaponTask.hpp:37
WsfWeaponTask(const WsfTaskResource &aTaskResource)
Definition WsfWeaponTask.hpp:33
~WsfWeaponTask() override=default
WsfWeaponTask()=default
WsfWeaponTask & operator=(const WsfTask &aRhs)
Definition WsfWeaponTask.hpp:42
const char * GetScriptClassName() const override
Definition WsfWeaponTask.hpp:50
Copyrights Multiple, All Rights Reserved