CORDET Framework - C2 Implementation
|
Implementation of the Base Component. More...
Files | |
file | CrFwBaseCmp.h |
Definition of Base Component. | |
file | CrFwDummyExecProc.h |
Dummy Component Execution Procedure (CEP) for the Base Component. | |
file | CrFwInitProc.h |
Component Initialization Procedure (CIP) for the Base Component. | |
file | CrFwResetProc.h |
Component Reset Procedure (CRP) for the Base Component. | |
Implementation of the Base Component.
A Base Component implements the behaviour of the Base Component State Machine (see figure below). All components used in the framework are derived from the Base Component (i.e. all framework components are implemented by state machines which are derived from the Base Component State Machine). Hence, all framework components inherit the behaviour of the Base Component State Machine. The behaviour of the base state machine is parameterized by three procedures: the Component Initialization Procedure (CIP), the Component Reset Procedure (CRP) and the Component Execution Procedure (CEP). The CIP and CRP are defined at framework level (see CrFwInitProc.h
and CrFwResetProc.h
). The CEP must instead be defined by the user and the framework only offers a dummy default which does nothing (see CrFwDummyExecProc.h
).