uTrack
Loading...
Searching...
No Matches
Data Fields
BT_ModeHandler Struct Reference

Handler type for running modes. More...

Data Fields

void(* Enter )(void)
 
void(* Update )(void)
 
bool(* Cleanup )(void)
 
void(* Leave )(void)
 
BT_ModeType toMode
 

Detailed Description

Handler type for running modes.

Field Documentation

◆ Cleanup

BT_ModeHandler::Cleanup

The function to call periodically before leaving this mode, until it returns true.

◆ Enter

BT_ModeHandler::Enter

The function to run when the mode is entered.

◆ Leave

BT_ModeHandler::Leave

The function to call when leaving the mode.

◆ toMode

BT_ModeHandler::toMode

The mode to go to after this one, primarily used with BT_ModeHandler::Cleanup.

◆ Update

BT_ModeHandler::Update

The function to call periodically when in this mode.


The documentation for this struct was generated from the following file: