1 #ifndef H_EXTENSIONS_CUTEHMI_SERVICES_2_INCLUDE_CUTEHMI_SERVICES_INTERNAL_STATEINTERFACE_HPP
2 #define H_EXTENSIONS_CUTEHMI_SERVICES_2_INCLUDE_CUTEHMI_SERVICES_INTERNAL_STATEINTERFACE_HPP
8 #include <QSignalTransition>
22 Q_PROPERTY(
QString status READ status WRITE setStatus NOTIFY statusChanged)
28 void setStatus(
const QString & status);
34 const QState & stopped()
const;
38 const QState & interrupted()
const;
42 const QState & starting()
const;
46 const QState & started()
const;
50 const QState & idling()
const;
54 const QState & yielding()
const;
58 const QState & active()
const;
62 const QState & stopping()
const;
66 const QState & borken()
const;
70 const QState & repairing()
const;
74 const QState & evacuating()
const;
95 MainStatesContainer mainStates;
103 idling(
new QState(& mainStates[STARTED])),
104 yielding(
new QState(& mainStates[STARTED])),
105 active(
new QState(& mainStates[STARTED]))