WSF
WsfScriptProcessorClass.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 WSFSCRIPTPROCESSORCLASS_HPP
13#define WSFSCRIPTPROCESSORCLASS_HPP
14
15#include "wsf_export.h"
16
18
21{
22public:
23 WsfScriptProcessorClass(const std::string& aClassName, UtScriptTypes* aScriptTypesPtr);
24
25 UT_DECLARE_SCRIPT_METHOD(IsA_TypeOf); // static IsA_TypeOf("derived-type", "base-type")
26
29 UT_DECLARE_SCRIPT_METHOD(UpdateInterval);
30 UT_DECLARE_SCRIPT_METHOD(SetUpdateInterval);
31
32 // Script methods
33
37 UT_DECLARE_SCRIPT_METHOD(ExecuteAtTime_1);
38 UT_DECLARE_SCRIPT_METHOD(ExecuteAtTime_2);
39
41 UT_DECLARE_SCRIPT_METHOD(ExecuteScriptWithArgs);
42 UT_DECLARE_SCRIPT_METHOD(SuppressMessage);
43
44 // Behavior Tree methods
45
48 UT_DECLARE_SCRIPT_METHOD(BehaviorsExecuted);
51 UT_DECLARE_SCRIPT_METHOD(BehaviorTreeRootNode);
52
53 UT_DECLARE_SCRIPT_METHOD(AdvancedBehavior);
54 UT_DECLARE_SCRIPT_METHOD(FindAdvancedBehavior);
55 UT_DECLARE_SCRIPT_METHOD(AdvancedBehaviorsExecuted);
56 UT_DECLARE_SCRIPT_METHOD(AdvancedBehaviorCount);
57 UT_DECLARE_SCRIPT_METHOD(AdvancedBehaviorEntry);
58 UT_DECLARE_SCRIPT_METHOD(AdvancedBehaviorTree);
59
60 // State Machine methods
62 UT_DECLARE_SCRIPT_METHOD(StateAll); // if they exist, includes child states in string - parent[:child:child...]
64 UT_DECLARE_SCRIPT_METHOD(SetStateAll); // parses string for child states to set those too - parent:child[:child...]
66 UT_DECLARE_SCRIPT_METHOD(GetStateAdvancedBehaviorTree);
67};
68
69#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
WsfScriptPlatformPartClass(const std::string &aClassName, UtScriptTypes *aScriptTypesPtr)
Definition WsfScriptPlatformPartClass.cpp:23
UT_DECLARE_SCRIPT_METHOD(ExecuteScriptWithArgs)
UT_DECLARE_SCRIPT_METHOD(SetStateAll)
UT_DECLARE_SCRIPT_METHOD(AdvancedBehaviorEntry)
UT_DECLARE_SCRIPT_METHOD(AdvancedBehaviorsExecuted)
UT_DECLARE_SCRIPT_METHOD(AdvancedBehaviorTree)
UT_DECLARE_SCRIPT_METHOD(SetUpdateInterval)
UT_DECLARE_SCRIPT_METHOD(FindBehavior)
UT_DECLARE_SCRIPT_METHOD(StateAll)
UT_DECLARE_SCRIPT_METHOD(FindAdvancedBehavior)
UT_DECLARE_SCRIPT_METHOD(SetState)
UT_DECLARE_SCRIPT_METHOD(BehaviorEntry)
UT_DECLARE_SCRIPT_METHOD(SuppressMessage)
UT_DECLARE_SCRIPT_METHOD(Execute_1)
UT_DECLARE_SCRIPT_METHOD(BehaviorTreeRootNode)
UT_DECLARE_SCRIPT_METHOD(Execute_2)
UT_DECLARE_SCRIPT_METHOD(TurnOff)
UT_DECLARE_SCRIPT_METHOD(AdvancedBehaviorCount)
UT_DECLARE_SCRIPT_METHOD(AdvancedBehavior)
UT_DECLARE_SCRIPT_METHOD(Behavior)
UT_DECLARE_SCRIPT_METHOD(GetStateAdvancedBehaviorTree)
Get the ABT for a state.
WsfScriptProcessorClass(const std::string &aClassName, UtScriptTypes *aScriptTypesPtr)
Definition WsfScriptProcessorClass.cpp:31
UT_DECLARE_SCRIPT_METHOD(GetStates)
Get all top level states.
UT_DECLARE_SCRIPT_METHOD(ExecuteAtTime_1)
UT_DECLARE_SCRIPT_METHOD(UpdateInterval)
UT_DECLARE_SCRIPT_METHOD(IsA_TypeOf)
UT_DECLARE_SCRIPT_METHOD(BehaviorCount)
UT_DECLARE_SCRIPT_METHOD(ExecuteAtTime_2)
UT_DECLARE_SCRIPT_METHOD(BehaviorsExecuted)
UT_DECLARE_SCRIPT_METHOD(ScriptExists)
UT_DECLARE_SCRIPT_METHOD(ExecuteScript)
Copyrights Multiple, All Rights Reserved