WSF
BT Namespace Reference

Enumerations

enum  ReturnStatus {
  cRUNNING = 1 , cSUCCESS = 2 , cFAILURE = 3 , cIDLE = 4 ,
  cHALTED = 5 , cDISABLED = 6
}
 The return status of a node at a given time step (tick). More...
enum  SuccessPolicy { cSUCCEED_ON_ONE , cSUCCEED_ON_ALL , cTHRESHOLD }
 Success policy for a Parallel composite node. More...
enum  FailurePolicy { cFAIL_ON_ONE , cFAIL_ON_ALL }
 Failure policy for a Parallel composite node. More...
enum  ResetPolicy { cON_SUCCESS_OR_FAILURE , cON_SUCCESS , cON_FAILURE }
 Reset policy for nodes with memory. More...

Enumeration Type Documentation

◆ FailurePolicy

Failure policy for a Parallel composite node.

FAIL_ON_ONE - The node will return failure as soon as one of its children fails. FAIL_ON_ALL - All of the node's children must fail before it returns failure.

Enumerator
cFAIL_ON_ONE 
cFAIL_ON_ALL 

◆ ResetPolicy

Reset policy for nodes with memory.

ON_SUCCESS_OR_FAILURE - Memory will reset on success or failure of a child node. ON_SUCCESS - Memory will reset on success of a child node. ON_FAILURE - Memory will reset on failure of a child node.

Enumerator
cON_SUCCESS_OR_FAILURE 
cON_SUCCESS 
cON_FAILURE 

◆ ReturnStatus

The return status of a node at a given time step (tick).

SUCCESS - The node has completed running. FAILURE - The node has determined it will not be able to complete its task. RUNNING - The node has successfully moved forward during this tick, has not finished yet. IDLE - The node has not run yet. HALTED - The node has been halted by its parent. Note - these must match the numbers in the wsf.utpack enum NodeExecState

Enumerator
cRUNNING 
cSUCCESS 
cFAILURE 
cIDLE 
cHALTED 
cDISABLED 

◆ SuccessPolicy

Success policy for a Parallel composite node.

SUCCEED_ON_ONE - The node will return success as soon as one of its children succeeds. SUCCEED_ON_ALL - All of the node's children must succeed before it returns success. THRESHOLD - The node will return success when enough children succeed

Enumerator
cSUCCEED_ON_ONE 
cSUCCEED_ON_ALL 
cTHRESHOLD 
Copyrights Multiple, All Rights Reserved