![]() |
XII Release 0.1.0
|
A state machine transition implementation that combines multiple sub transition into one. More...
#include <StateMachineBuiltins.h>
Public Member Functions | |
virtual bool | IsConditionMet (xiiStateMachineInstance &ref_instance, void *pInstanceData) 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 transition needs additional instance data and if so fills the out_desc. | |
![]() | |
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. | |
Public Attributes | |
xiiEnum< xiiStateMachineLogicOperator > | m_Operator |
xiiSmallArray< xiiStateMachineTransition *, 2 > | m_SubTransitions |
Additional Inherited Members | |
![]() | |
static const xiiRTTI * | GetStaticRTTI () |
A state machine transition implementation that combines multiple sub transition into one.
Can be used to build transitions in a more modular way. All calls are simply redirected to all sub transitions and then combined with the given logic operator (AND, OR).
|
overridevirtual |
Reimplemented from xiiStateMachineTransition.
|
overridevirtual |
Returns whether this transition needs additional instance data and if so fills the out_desc.
Reimplemented from xiiStateMachineTransition.
|
overridevirtual |
Implements xiiStateMachineTransition.
|
overridevirtual |
Reimplemented from xiiStateMachineTransition.