new StateMachine()
TODO
Extends
Broadcasting
This section list the main methods used to watch/unwatch signals on this object. For more info on signals, see signals
This section list the main methods used to watch/unwatch signals on this object. For more info on signals, see signals
Methods
Unwatch(p_signal, p_fn, p_listener) → {common.pool.DisposableObjectEx}
- Inherited From:
Watch(p_signal, p_fn, p_listener) → {common.pool.DisposableObjectEx}
- Inherited From:
WatchOnce(p_signalId, p_fn, p_listener) → {common.pool.DisposableObjectEx}
- Inherited From:
_Broadcast(p_signal, …args)
- Inherited From:
Methods
_Init()
- Inherited From:
_PostInit()
- Inherited From:
Methods
_Bind(p_func)
- Inherited From:
Members
isReleasing :boolean
- Inherited From:
Methods
Release()
- Inherited From:
_CleanUp()
- Inherited From:
Members
currentState :StateBase
Current state
currentState :StateBase
Current state
owner :DisposableObjectEx
State machine owner
Methods
Is(p_state) → {boolean}
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_state |
* |
IsAny(…args) → {boolean}
TODO
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
args |
any |
<repeatable> |
a list of states |
IsNot(p_state) → {boolean}
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_state |
* |
IsNotAny(…args) → {boolean}
TODO
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
args |
any |
<repeatable> |
a list of states |
PreventRelease()
- Inherited From:
_OnCurrentStateChanged()
TODO