Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
abstract_state_machine.h
1#ifndef ABSTRACT_MACHINE_STATE_H
2#define ABSTRACT_MACHINE_STATE_H
3
4namespace ara
5{
6 namespace com
7 {
8 namespace helper
9 {
12 template <typename T>
14 {
15 public:
19 virtual void Transit(T previousState, T nextState) = 0;
20 };
21 }
22 }
23}
24#endif
Abstract Finite State Machine (FMS) that transits between states.
Definition: abstract_state_machine.h:14
virtual void Transit(T previousState, T nextState)=0
Tranit from the current state to a new state.