uTrack
|
Handler type for running modes. More...
Data Fields | |
void(* | Enter )(void) |
void(* | Update )(void) |
bool(* | Cleanup )(void) |
void(* | Leave )(void) |
BT_ModeType | toMode |
Handler type for running modes.
BT_ModeHandler::Cleanup |
The function to call periodically before leaving this mode, until it returns true.
BT_ModeHandler::Enter |
The function to run when the mode is entered.
BT_ModeHandler::Leave |
The function to call when leaving the mode.
BT_ModeHandler::toMode |
The mode to go to after this one, primarily used with BT_ModeHandler::Cleanup.
BT_ModeHandler::Update |
The function to call periodically when in this mode.