User Tools

Site Tools


gsoc2016_keyboard_work_breakdown

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
gsoc2016_keyboard_work_breakdown [2016/05/18 12:06]
ferranpujolcamins
gsoc2016_keyboard_work_breakdown [2016/05/18 12:53]
ferranpujolcamins
Line 1: Line 1:
 ===== 1 - Sub class Controller ===== ===== 1 - Sub class Controller =====
-Add tests +You have to implement the virtual methods. Take //​MidiController//​ and //​PortMidiController//​ or //​HidController//​ as a reference. 
- +  - Implement destructor. 
-===== 2 Sub class ControllerEnumerator ===== +  Implement //​presetExtension//​ method. Add corresponding #define in defs_controller.h. 
- +  - Implement the //accept// method (part of the visitor pattern). 
-===== 3 Sub class ControllerPreset =====+  Implement the //​savePreset//​ method (just prepare for the upcoming //​KeyboardPresetFileHandler//​). 
 +  - Create a //​KeyboardPresetFileHandler// ​class (like //​MidiControllerPresetFileHandler//​). 
 +  - Add tests.
  
 ==== Get keyboard events ==== ==== Get keyboard events ====
Line 12: Line 14:
  
 Reference: http://​doc.qt.io/​qt-4.8/​eventsandfilters.html Reference: http://​doc.qt.io/​qt-4.8/​eventsandfilters.html
 +
 +===== 2 - Sub class ControllerEnumerator =====
 +  - Add tests.
 +
 +===== 3 - Modify ControllerManager =====
 +  - Append //​KeyboardEnumerator//​ in the //​slotInitialize//​ method.
 +
 +===== 3 - Sub class ControllerPreset =====
 +  - Create a //​KeyboardPresetFileHandler//​ class (like //​MidiControllerPresetFileHandler//​).
 +  - Add tests.
  
  
gsoc2016_keyboard_work_breakdown.txt · Last modified: 2016/05/18 13:00 by ferranpujolcamins