Loading...
Searching...
No Matches
StateMachineTools.hpp
1#pragma once
2
3#include <QState>
4inline bool isStateActive(QState* s)
5{
6 return s->active();
7}
8
9inline constexpr auto finishedState()
10{
11 return &QState::finished;
12}