![]() |
XII Release 0.1.0
|
A state machine state implementation that represents another state machine nested within this state. This can be used to build hierarchical state machines. More...
#include <StateMachineBuiltins.h>
Public Member Functions | |
| xiiStateMachineState_NestedStateMachine (xiiStringView sName=xiiStringView()) | |
| virtual void | OnEnter (xiiStateMachineInstance &ref_instance, void *pInstanceData, const xiiStateMachineState *pFromState) const override |
| virtual void | OnExit (xiiStateMachineInstance &ref_instance, void *pInstanceData, const xiiStateMachineState *pToState) const override |
| virtual void | Update (xiiStateMachineInstance &ref_instance, void *pInstanceData, xiiTime deltaTime) const override |
| virtual xiiResult | Serialize (xiiStreamWriter &inout_stream) const override |
| virtual xiiResult | Deserialize (xiiStreamReader &inout_stream) override |
| virtual bool | GetInstanceDataDesc (xiiInstanceDataDesc &out_desc) override |
| Returns whether this state needs additional instance data and if so fills the out_desc. | |
| void | SetResource (const xiiStateMachineResourceHandle &hResource) |
| const xiiStateMachineResourceHandle & | GetResource () const |
| void | SetInitialState (const char *szName) |
| Defines which state should be used as initial state after the state machine was instantiated. If empty the state machine resource defines the initial state. | |
| const char * | GetInitialState () const |
Public Member Functions inherited from xiiStateMachineState | |
| xiiStateMachineState (xiiStringView sName=xiiStringView()) | |
| void | SetName (xiiStringView sName) |
| xiiStringView | GetName () const |
| const xiiHashedString & | GetNameHashed () const |
Public Member Functions inherited from xiiReflectedClass | |
| virtual const xiiRTTI * | GetDynamicRTTI () const |
| bool | IsInstanceOf (const xiiRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it. | |
| template<typename T> | |
| XII_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it. | |
Additional Inherited Members | |
Static Public Member Functions inherited from xiiNoBase | |
| static const xiiRTTI * | GetStaticRTTI () |
A state machine state implementation that represents another state machine nested within this state. This can be used to build hierarchical state machines.
|
overridevirtual |
Reimplemented from xiiStateMachineState.
|
overridevirtual |
Returns whether this state needs additional instance data and if so fills the out_desc.
Reimplemented from xiiStateMachineState.
|
overridevirtual |
Implements xiiStateMachineState.
|
overridevirtual |
Reimplemented from xiiStateMachineState.
|
overridevirtual |
Reimplemented from xiiStateMachineState.
|
overridevirtual |
Reimplemented from xiiStateMachineState.