1234567891011121314151617181920212223242526module juptune.core.util.statemachine;
struct StateTransition(
alias StateEnum,
alias TransitionContext
)
{
/++ ALIASES ++/
///
alias IsAllowed = bool function(TransitionContext);
/++ FUNCTIONS ++/
///
bool isAllowedSafe(TransitionContext context);
/++ VARIABLES ++/
///
StateEnum from;
///
IsAllowed isAllowed;
///
StateEnum to;
}
| Name | Description |
|---|---|
| IsAllowed |
| Name | Description |
|---|---|
| isAllowedSafe |
| Name | Description |
|---|---|
| from | |
| isAllowed | |
| to |