|
WSF
|
#include <WsfBehaviorTreeNode.hpp>


Public Member Functions | |
| WsfBehaviorTreeParallelNode (const WsfScenario &aScenario) | |
| WsfObject * | Clone () const override |
| bool | LocalExecute (double aSimTime) override |
| Public Member Functions inherited from WsfBehaviorTreeNode | |
| WsfBehaviorTreeNode (const WsfScenario &aScenario) | |
| WsfBehaviorTreeNode (const WsfBehaviorTreeNode &aSrc) | |
| WsfBehaviorTreeNode & | operator= (const WsfBehaviorTreeNode &)=delete |
| ~WsfBehaviorTreeNode () override | |
| bool | ProcessInput (UtInput &aInput) override |
| virtual void | RegisterInput (UtInput &aInput) |
| bool | PreconditionsMet () |
| double | PreconditionValue () |
| void | AddChild (WsfBehaviorTreeNode *aNodePtr) |
| std::vector< WsfBehaviorTreeNode * > & | Children () |
| int | ChildCount () const |
| WsfBehaviorTreeNode * | ChildEntry (int aIndex) |
| void | SetParent (WsfBehaviorTreeNode *aNodePtr) |
| WsfBehaviorTreeNode * | Parent () |
| virtual bool | Initialize (double aSimTime, WsfScriptContext *aParentContext) |
| WsfScriptContext & | GetScriptContext () |
| bool | Execute (double aSimTime, bool aSkipCheck=false) |
| void | TurnOn () |
| void | TurnOff () |
| void | SetFailureReason (const std::string &aReason, bool aSendEvent=false) |
| std::string | FailureReason () const |
| bool | ExecutedLastRun () |
| void | SetExecutedLastRun (bool aVal) |
| void | SetExecutedLastRunRecursive (bool aVal) |
| void | SetExecutedLastRun (bool aVal, const std::string &aReason) |
| void | SetExecutedLastRunRecursive (bool aVal, const std::string &aReason) |
| WsfBehaviorTree * | OwningTree () |
| virtual void | SetTree (WsfBehaviorTree *aTreePtr) |
| WsfScriptProcessor * | OwningProcessor () |
| WsfPlatform * | OwningPlatform () |
| WsfSimulation * | GetSimulation () |
| bool | TryRunLast (double aSimTime) |
| bool | ShouldRunNext (double aSimTime) |
| unsigned int | Id () const |
| void | LogNodeStructure (double aSimTime, bool aRecurse) |
| std::string | FilePath () const |
| time_t | FileLastModTime () const |
| void | SetFilePath (const std::string &aPath) |
| void | SetFileInfo (const std::string &aPath, time_t aModTime) |
| WsfBehaviorTreeNode * | FindNode (const std::string &aNodeName) |
| void | FindLastExecuted (std::vector< WsfBehaviorTreeNode * > &aLastExecuted) |
| const char * | GetScriptClassName () const override |
| UtScriptContext * | GetScriptAccessibleContext () const override |
| const WsfScenario & | GetScenario () const |
| virtual bool | ProcessMessage (double aSimTime, const WsfMessage &aMessage) |
| Public Member Functions inherited from WsfObject | |
| WsfObject () | |
| This is the constructor for the WsfObject class. | |
| ~WsfObject () override | |
| This is the destructor for the WsfObject class. | |
| const char * | GetScriptClassName () const override |
| const std::string & | GetType () const |
| WsfStringId | GetTypeId () const |
| Get the string ID of the 'type' of the object. | |
| void | SetType (WsfStringId aType) |
| const std::string & | GetBaseType () const |
| WsfStringId | GetBaseTypeId () const |
| const TypeList & | GetTypeList () const |
| bool | IsA_TypeOf (WsfStringId aType) const |
| WsfObject & | operator= (const WsfObject &aRhs) |
| Assignment operator. | |
| template<typename T> | |
| void | Serialize (T &aBuff) |
| For XIO (de)serialization. | |
| const std::string & | GetName () const |
| WsfStringId | GetNameId () const |
| void | SetName (WsfStringId aName) |
| WsfBehaviorTreeParallelNode::WsfBehaviorTreeParallelNode | ( | const WsfScenario & | aScenario | ) |
|
overridevirtual |
Return a copy of this object. Must be implemented by all derived types. If cloning is impossible, a WsfUncloneableException should be thrown.
Implements WsfBehaviorTreeNode.
References WsfBehaviorTreeNode::WsfBehaviorTreeParallelNode, and WsfObject::WsfObject().
Referenced by WsfBehaviorTree::operator=(), and WsfBehaviorTree::WsfBehaviorTree().
|
overridevirtual |
Implements WsfBehaviorTreeNode.
References WsfBehaviorTreeNode::mChildren, and WsfBehaviorTreeNode::SetFailureReason().