1#ifndef H_EXTENSIONS_CUTEHMI_SERVICES_3_SRC_CUTEHMI_SERVICES_INTERNAL_SERVICESTARTEDSTATEINTERFACE_HPP
2#define H_EXTENSIONS_CUTEHMI_SERVICES_3_SRC_CUTEHMI_SERVICES_INTERNAL_SERVICESTARTEDSTATEINTERFACE_HPP
4#include "internal/common.hpp"
5#include "StartedStateInterface.hpp"
6#include "Serviceable.hpp"
12class ServiceStateInterface;
29 void setStarted(
QState * started);
31 void replaceTransitionToIdling(
const Serviceable & serviceable);
33 void replaceTransitionToYielding(
const Serviceable & serviceable);
37 QState * idlingPersistent()
const;
39 QState * yieldingPersistent()
const;
41 QState * activePersistent()
const;
43 QState * idlingEphemeric()
const;
45 QState * yieldingEphemeric()
const;
47 QState * activeEphemeric()
const;
61 void initializePersistentStates();
63 void resetEphemericStates();
65 void resetYieldingEphemeric();
67 void resetActiveEphemeric();
69 void resetIdlingEphemeric();
71 void setUpYielding(
bool reconfigure,
const Serviceable & serviceable);
73 void setUpActive(
bool reconfigure,
const Serviceable & serviceable);
75 void setUpIdling(
bool reconfigure,
const Serviceable & serviceable);
77 void addYieldingTransition(
int index);
79 void addIdlingTransition(
int index,
const Serviceable & serviceable);
81 void addActiveTransition(
int index,
const Serviceable & serviceable);
Serviceable interface.
Definition: Serviceable.hpp:33
Substates of started state of the state interface.
Definition: StartedStateInterface.hpp:24
Definition: ServiceStartedStateInterface.hpp:16
Definition: ServiceStateInterface.hpp:24