uBAD
A Behaviour and Decision library for Unity3D
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Public Attributes | List of all members
BAD.Parallel Class Reference

Run all nodes simultaneously, failing or succeeding based on the policy field. More...

Inheritance diagram for BAD.Parallel:
BAD.Branch BAD.Node

Public Member Functions

override void Apply (object[] args)
 
override IEnumerator< NodeResultNodeTask ()
 
override string ToString ()
 
- Public Member Functions inherited from BAD.Branch
virtual Branch Add (Node node)
 
override void Abort ()
 
- Public Member Functions inherited from BAD.Node
virtual T GetArg< T > (int index)
 
 Node ()
 
IEnumerator< NodeResultGetNodeTask ()
 
override string ToString ()
 

Public Attributes

ParallelPolicy policy
 
- Public Attributes inherited from BAD.Branch
List< Nodechildren = new List<Node> ()
 
- Public Attributes inherited from BAD.Node
BADReactor reactor
 
bool enabled = true
 
NodeResult state = null
 
bool running = false
 
Branch parent = null
 
object[] arguments
 

Additional Inherited Members

- Protected Member Functions inherited from BAD.Node
virtual void ResolveArguments ()
 

Detailed Description

Run all nodes simultaneously, failing or succeeding based on the policy field.

Member Function Documentation

override void BAD.Parallel.Apply ( object[]  args)
inlinevirtual

Reimplemented from BAD.Node.

override IEnumerator<NodeResult> BAD.Parallel.NodeTask ( )
inlinevirtual

Reimplemented from BAD.Node.

override string BAD.Parallel.ToString ( )
inline

Member Data Documentation

ParallelPolicy BAD.Parallel.policy

The documentation for this class was generated from the following file: