This repository was archived by the owner on Nov 16, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
StateBase is()
ged edited this page Sep 10, 2024
·
2 revisions
Checks the current state's status.
bool is(StateStatus status) const-
status: The status to compare.
The status of the state updates whenever one of the callbacks (enter, update, and exit) is executed.
- When the
entercallback is executed, the status is set toStateStatus::Entering. After it is executed, the status is set toStateStatus::Updating. - When the
updatecallback is executed, the status remains inStateStatus::Updating. - When the
exitcallback is executed, the status is set toStateStatus::Exiting. After it is executed, the status is cleared.
Common Types
→ StateStatus (enum)
→ StateCallback (alias)
Finite State Machine (FSM)
→ State
→ ctor()
→ isInState()
→ transitionTo()
→ update()
Hierarchical State Machine (HSM)
→ State
→ ctor()
→ isInState()
→ transitionTo()
→ update()
State Base
→ ctor()
→ is()
→ enter()
→ update()
→ exit()
State Machine Handler
→ ctor()
→ getNextState()
→ getActiveState()
→ isInState()
→ setNextState()
→ queueTransition()
→ beginTransitionQueue()
→ endTransitionQueue()
→ execute()