The state defines state classes to construct the statechart of the class. State classes are generated in the reusable state implementation strategy.
class state1 : public ComponentState {
public :
// State class implementation
};
class state2 : public Orstate {
public :
// State class implementation
};
#endif
You can eliminate the state classes by choosing the flat implementation strategy, where states are manifested as enumeration types.