![]() |
Plasma Engine
2.0
|
A state machine transition implementation that combines multiple sub transition into one. More...
#include <StateMachineBuiltins.h>
Public Member Functions | |
virtual bool | IsConditionMet (plStateMachineInstance &ref_instance, void *pInstanceData) const override |
virtual plResult | Serialize (plStreamWriter &inout_stream) const override |
virtual plResult | Deserialize (plStreamReader &inout_stream) override |
virtual bool | GetInstanceDataDesc (plInstanceDataDesc &out_desc) override |
Returns whether this transition needs additional instance data and if so fills the out_desc. | |
![]() | |
virtual const plRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const plRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T > | |
PL_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Public Attributes | |
plEnum< plStateMachineLogicOperator > | m_Operator |
plSmallArray< plStateMachineTransition *, 2 > | m_SubTransitions |
Additional Inherited Members | |
![]() | |
static const plRTTI * | 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 plStateMachineTransition.
|
overridevirtual |
Returns whether this transition needs additional instance data and if so fills the out_desc.
Reimplemented from plStateMachineTransition.
|
overridevirtual |
Implements plStateMachineTransition.
|
overridevirtual |
Reimplemented from plStateMachineTransition.