Description of Figure 5
STRS Application/Device Structure
The STRS Application/Device Structure is a UML diagram containing suggested
organization of the Application and Device methods associated with the
required header files.
STRS application implementation (e.g., waveform) is derived from the STRS_ApplicationControl API, the STRS_Source API when implementing APP_Read, and the STRS_Sink API when implementing APP_Write.
The interfaces are implemented in groups so that STRS_ApplicationControl is derived from the STRS_LifeCycle, STRS_PropertySet, STRS_TestableObject, STRS_ControllableComponent, and STRS_ComponentIdentifier interfaces.
- Interface STRS_ControllableComponent contains methods:
- APP_Start
- APP_Stop
- Interface STRS_LifeCycle contains methods:
- APP_Initialize
- APP_ReleaseObject
- Interface STRS_PropertySet contains methods:
- APP_Configure
- APP_Query
- Interface STRS_TestableObject contains methods:
- APP_GroundTest
- APP_RunTest
- Interface STRS_ComponentIdentifier contains methods:
- APP_GetHandleID
- APP_GetHandleName
- Interface STRS_ApplicationControl contains methods:
- those methods inherited from STRS_ControllableComponent
- those methods inherited from STRS_LifeCycle
- those methods inherited from STRS_PropertySet
- those methods inherited from STRS_TestableObject
- those methods inherited from STRS_ComponentIdentifier
- Interface STRS_DeviceControl contains methods:
- DEV_Close
- DEV_Flush
- DEV_Load
- DEV_Open
- DEV_Reset
- DEV_SetISR
- DEV_SetMemoryMap (optional)
- DEV_Unload
- as well as those inherited from STRS_ApplicationControl
- Interface STRS_Source contains methods:
- APP_Read
- Interface STRS_Sink contains methods:
- APP_Write
- A specific STRS application implementation inherits from:
- STRS_ApplicationControl
- STRS_Source (optional)
- STRS_Sink (optional)
- A specific STRS Device implementation inherits from:
- STRS_DeviceControl
- STRS_Source (optional)
- STRS_Sink (optional)
and uses HAL.
- HAL implementation inherits from HAL interface/API.
- HAL implementation interacts with specialized hardware (SSP).