Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Kaven Muraleitharan 101305963 To run first use type 'make' in the main directory Then to run the program type './a4' 1. Channel (Entity / Container object): (a) Contains Channel meta-data as well as a collection of Media. 2. Media (Entity): (a) Contains Media meta-data and content. 3. Search (Behaviour object): Virtual base class of all Search objects. (a) O_Search (Behaviour object): Matches Media by the Channel owner. (b) C_Search (Behaviour object): Matches Media by the category. (c) OorC_Search (Behaviour object): Matches Media by the Channel owner or category. 4. Array (Container object): (a) A simple (templated) data structure. 5. MediaTube (Control object): (a) Stores Channels along with their Media, allows them to be queried. 6. MediaPlayer (Behaviour object): Determines how to play an Media (either "audio" only, or "audio and video", where audio is text and video is random ASCII art). (a) AudioPlayer: Displays the audio of an Media. (b) VideoPlayer: Displays the audio of an Media and some ASCII art (the video element) which is loaded from a file at runtime. 7. View (View object): (a) Collects user input and displays Channels, Media and other information. 8. Control (Control object): (a) Manages the interactions of MediaTube, MediaFactory, and View. Stores the Media playlist. 9. TestControl (Control object): (a) Test framework for MediaTube. 10. Tester: (a) Provides some common test functionality