Plasma Engine  2.0
Loading...
Searching...
No Matches
plStateMachineTransition Class Referenceabstract

Base class for a transition in a state machine. The target state of a transition is automatically set once its condition has been met. More...

#include <StateMachine.h>

Inheritance diagram for plStateMachineTransition:

Private Member Functions

virtual bool GetInstanceDataDesc (plInstanceDataDesc &out_desc)
 Returns whether this transition needs additional instance data and if so fills the out_desc.
 

Additional Inherited Members

- Public Member Functions inherited from plReflectedClass
virtual const plRTTIGetDynamicRTTI () 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.
 
- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 

Detailed Description

Base class for a transition in a state machine. The target state of a transition is automatically set once its condition has been met.

Same as with states, transitions are also shared between multiple instances and thus should decide their condition based on the passed instance and instance data.

See also
plStateMachineInstanceDataDesc

Member Function Documentation

◆ GetInstanceDataDesc()

bool plStateMachineTransition::GetInstanceDataDesc ( plInstanceDataDesc & out_desc)
privatevirtual

Returns whether this transition needs additional instance data and if so fills the out_desc.

See also
plStateMachineInstanceDataDesc

Reimplemented in plStateMachineTransition_Compound.


The documentation for this class was generated from the following files: