110 likes | 235 Views
CPSC 875. John D. McGregor C7 - Design. Decompose Integrate Individual hardware pieces are associated with drivers The drivers feed applications The applications are tied together by a user interface. Decompose into modules. PlayList. Radio. CD Player. DVD Player. Speakers.
E N D
CPSC 875 John D. McGregor C7 - Design
Decompose • Integrate • Individual hardware pieces are associated with drivers • The drivers feed applications • The applications are tied together by a user interface
Decompose into modules PlayList Radio CD Player DVD Player Speakers CD Driver BlueTooth USB OS/Hardware
Entertainment • Radio receiver • Regular radio • Satellite radio • Antennas • Radio • OnStar • OnStar • CD player • DVD player • Sound • Stereo speakers • SurroundSound • Displays • Touch • Non-touch • Games
Information/Telematics • Sensors/Radar • Vehicle health • Cell phone connections • Apps
Hardware abstraction layer • The specific hardware is hidden from the software. • The layer acts as an API • An operating system usually includes a layer • Making the API from standards allows the underlying device to be commoditized
PlayList Radio CD Player DVD Player Speakers CD Driver BlueTooth USB Hardware abstraction layer OS/Hardware
MVC Model View View View View Controller Controller HAL HAL HAL
Integrating styles View View Model Model Controller Controller View Model Controller
So what do we have now? • Modular