WSF
WsfCommandChain.cpp File Reference
#include "WsfCommandChain.hpp"
#include "wsf_export.h"
#include <algorithm>
#include "UtInput.hpp"
#include "UtLog.hpp"
#include "UtMemory.hpp"
#include "UtScriptClass.hpp"
#include "UtScriptClassDefine.hpp"
#include "UtScriptTypes.hpp"
#include "UtStringIdLiteral.hpp"
#include "WsfComponentFactory.hpp"
#include "WsfPlatform.hpp"
#include "WsfScenario.hpp"
#include "WsfSimulation.hpp"
#include "script/WsfScriptContext.hpp"
#include "script/WsfScriptManager.hpp"
Include dependency graph for WsfCommandChain.cpp:

Functions

 UT_DEFINE_SCRIPT_METHOD (WsfScriptCommandChainClass, WsfCommandChain, Commander, 0, "WsfPlatform", "")
 Return the platform that is the commander of this platform.
 UT_DEFINE_SCRIPT_METHOD (WsfScriptCommandChainClass, WsfCommandChain, CommanderName, 0, "string", "")
 Return the name of platform that is declared to be the commander of this platform.
 UT_DEFINE_SCRIPT_METHOD (WsfScriptCommandChainClass, WsfCommandChain, Peers, 0, "WsfPlatformList", "")
 Return the list of platforms that are the peers of this platform.
 UT_DEFINE_SCRIPT_METHOD (WsfScriptCommandChainClass, WsfCommandChain, Subordinates, 0, "WsfPlatformList", "")
 Return the list of platforms that are the subordinates of this platform.
 UT_DEFINE_SCRIPT_METHOD (WsfScriptCommandChainClass, WsfCommandChain, PeerCount, 0, "int", "")
 UT_DEFINE_SCRIPT_METHOD (WsfScriptCommandChainClass, WsfCommandChain, PeerEntry, 1, "WsfPlatform", "int")
 UT_DEFINE_SCRIPT_METHOD (WsfScriptCommandChainClass, WsfCommandChain, SubordinateCount, 0, "int", "")
 UT_DEFINE_SCRIPT_METHOD (WsfScriptCommandChainClass, WsfCommandChain, SubordinateEntry, 1, "WsfPlatform", "int")
 UT_DEFINE_SCRIPT_METHOD (WsfScriptCommandChainClass, WsfCommandChain, Name, 0, "string", "")

Function Documentation

◆ UT_DEFINE_SCRIPT_METHOD() [1/9]

UT_DEFINE_SCRIPT_METHOD ( WsfScriptCommandChainClass ,
WsfCommandChain ,
Commander ,
0 ,
"WsfPlatform" ,
""  )

Return the platform that is the commander of this platform.

References platformPtr.

◆ UT_DEFINE_SCRIPT_METHOD() [2/9]

UT_DEFINE_SCRIPT_METHOD ( WsfScriptCommandChainClass ,
WsfCommandChain ,
CommanderName ,
0 ,
"string" ,
""  )

Return the name of platform that is declared to be the commander of this platform.

◆ UT_DEFINE_SCRIPT_METHOD() [3/9]

UT_DEFINE_SCRIPT_METHOD ( WsfScriptCommandChainClass ,
WsfCommandChain ,
Name ,
0 ,
"string" ,
""  )

◆ UT_DEFINE_SCRIPT_METHOD() [4/9]

UT_DEFINE_SCRIPT_METHOD ( WsfScriptCommandChainClass ,
WsfCommandChain ,
PeerCount ,
0 ,
"int" ,
""  )

◆ UT_DEFINE_SCRIPT_METHOD() [5/9]

UT_DEFINE_SCRIPT_METHOD ( WsfScriptCommandChainClass ,
WsfCommandChain ,
PeerEntry ,
1 ,
"WsfPlatform" ,
"int"  )

References platformPtr.

◆ UT_DEFINE_SCRIPT_METHOD() [6/9]

UT_DEFINE_SCRIPT_METHOD ( WsfScriptCommandChainClass ,
WsfCommandChain ,
Peers ,
0 ,
"WsfPlatformList" ,
""  )

Return the list of platforms that are the peers of this platform.

◆ UT_DEFINE_SCRIPT_METHOD() [7/9]

UT_DEFINE_SCRIPT_METHOD ( WsfScriptCommandChainClass ,
WsfCommandChain ,
SubordinateCount ,
0 ,
"int" ,
""  )

◆ UT_DEFINE_SCRIPT_METHOD() [8/9]

UT_DEFINE_SCRIPT_METHOD ( WsfScriptCommandChainClass ,
WsfCommandChain ,
SubordinateEntry ,
1 ,
"WsfPlatform" ,
"int"  )

References platformPtr.

◆ UT_DEFINE_SCRIPT_METHOD() [9/9]

UT_DEFINE_SCRIPT_METHOD ( WsfScriptCommandChainClass ,
WsfCommandChain ,
Subordinates ,
0 ,
"WsfPlatformList" ,
""  )

Return the list of platforms that are the subordinates of this platform.

Copyrights Multiple, All Rights Reserved