Documentation ¶
Index ¶
- Constants
- func NewConsumeQueue(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- func NewDelayNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- func NewForceFailureNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- func NewForceSuccessNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- func NewInverterNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- func NewKeepRunningUntilFailureNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- func NewLoopNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- func NewPreconditionNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- func NewRepeatNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- func NewRetryNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- func NewRunOnceNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- func NewSubTreeNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- func NewTimeoutNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
- type ConsumeQueue
- type DelayNode
- type ForceFailureNode
- type ForceSuccessNode
- type InverterNode
- type KeepRunningUntilFailureNode
- type LoopNode
- type PreconditionNode
- type RepeatNode
- type RetryNode
- type RunOnceNode
- type SubTreeNode
- type TimeoutNode
Constants ¶
View Source
const (
NUM_ATTEMPTS = "num_attempts"
)
View Source
const (
NUM_CYCLES = "num_cycles"
)
Variables ¶
This section is empty.
Functions ¶
func NewConsumeQueue ¶
func NewConsumeQueue(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
func NewDelayNode ¶
func NewDelayNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
func NewForceFailureNode ¶
func NewForceFailureNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
func NewForceSuccessNode ¶
func NewForceSuccessNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
func NewInverterNode ¶
func NewInverterNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
func NewKeepRunningUntilFailureNode ¶
func NewKeepRunningUntilFailureNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
func NewLoopNode ¶
func NewLoopNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
func NewPreconditionNode ¶
func NewPreconditionNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
func NewRepeatNode ¶
func NewRepeatNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
func NewRetryNode ¶
func NewRetryNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
func NewRunOnceNode ¶
func NewRunOnceNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
func NewSubTreeNode ¶
func NewSubTreeNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
func NewTimeoutNode ¶
func NewTimeoutNode(name string, cfg *core.NodeConfig, args ...interface{}) core.ITreeNode
Types ¶
type ConsumeQueue ¶
type ConsumeQueue struct { *core.DecoratorNode // contains filtered or unexported fields }
func (*ConsumeQueue) Tick ¶
func (n *ConsumeQueue) Tick() core.NodeStatus
type DelayNode ¶
type DelayNode struct { *core.DecoratorNode // contains filtered or unexported fields }
func (*DelayNode) Tick ¶
func (n *DelayNode) Tick() core.NodeStatus
type ForceFailureNode ¶
type ForceFailureNode struct {
*core.DecoratorNode
}
func (*ForceFailureNode) Tick ¶
func (n *ForceFailureNode) Tick() core.NodeStatus
type ForceSuccessNode ¶
type ForceSuccessNode struct {
*core.DecoratorNode
}
func (*ForceSuccessNode) Tick ¶
func (n *ForceSuccessNode) Tick() core.NodeStatus
type InverterNode ¶
type InverterNode struct {
*core.DecoratorNode
}
func (*InverterNode) Tick ¶
func (n *InverterNode) Tick() core.NodeStatus
type KeepRunningUntilFailureNode ¶
type KeepRunningUntilFailureNode struct {
*core.DecoratorNode
}
func (*KeepRunningUntilFailureNode) Tick ¶
func (n *KeepRunningUntilFailureNode) Tick() core.NodeStatus
type LoopNode ¶
type LoopNode struct { *core.DecoratorNode Type reflect.Kind // contains filtered or unexported fields }
func (*LoopNode) Tick ¶
func (n *LoopNode) Tick() core.NodeStatus
type PreconditionNode ¶
type PreconditionNode struct { *core.DecoratorNode // contains filtered or unexported fields }
func (*PreconditionNode) Tick ¶
func (n *PreconditionNode) Tick() core.NodeStatus
type RepeatNode ¶
type RepeatNode struct { *core.DecoratorNode // contains filtered or unexported fields }
func (*RepeatNode) Halt ¶
func (n *RepeatNode) Halt()
func (*RepeatNode) Tick ¶
func (n *RepeatNode) Tick() core.NodeStatus
type RetryNode ¶
type RetryNode struct { *core.DecoratorNode // contains filtered or unexported fields }
func (*RetryNode) Tick ¶
func (n *RetryNode) Tick() core.NodeStatus
type RunOnceNode ¶
type RunOnceNode struct { *core.DecoratorNode // contains filtered or unexported fields }
func (*RunOnceNode) Tick ¶
func (n *RunOnceNode) Tick() core.NodeStatus
------------ implementation ----------------------------
type SubTreeNode ¶
type SubTreeNode struct { *core.DecoratorNode // contains filtered or unexported fields }
func (*SubTreeNode) SetSubtreeID ¶
func (n *SubTreeNode) SetSubtreeID(ID string)
func (*SubTreeNode) Tick ¶
func (n *SubTreeNode) Tick() core.NodeStatus
type TimeoutNode ¶
type TimeoutNode struct { *core.DecoratorNode // contains filtered or unexported fields }
func (*TimeoutNode) Halt ¶
func (n *TimeoutNode) Halt()
func (*TimeoutNode) Tick ¶
func (n *TimeoutNode) Tick() core.NodeStatus
Click to show internal directories.
Click to hide internal directories.