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
gsoc2016_keyboard_work_breakdown [2016/05/18 12:25]
ferranpujolcamins
gsoc2016_keyboard_work_breakdown [2016/05/18 13:00] (current)
ferranpujolcamins
Line 1: Line 1:
 ===== 1 - Sub class Controller ===== ===== 1 - Sub class Controller =====
-    ​- Add tests.+You have to implement the pure virtual methods. Take //​MidiController//​ and //​PortMidiController//​ or //​HidController//​ as a reference. 
 +  - Implement destructor. 
 +  - Implement //​presetExtension//​ method. Add corresponding #define in defs_controller.h. 
 +  - Implement the //accept// method (part of the visitor pattern). 
 +  - Implement the //​savePreset//​ method (just prepare it for the upcoming //​KeyboardPresetFileHandler//​). 
 +  - Implement the //​getPreset//​ method. 
 +  - Implement the //​isMappable//​ method. 
 +  - What do you need to do with the //​matchPreset//​ method? 
 +  - What do you need to do with the //receive// method? 
 +  - ... 
 +  ​- Add tests.
  
 ==== Get keyboard events ==== ==== Get keyboard events ====
Line 11: Line 21:
 ===== 2 - Sub class ControllerEnumerator ===== ===== 2 - Sub class ControllerEnumerator =====
   - Add tests.   - Add tests.
- 
-===== 3 - Modify ControllerManager ===== 
-  - Append //​KeyboardEnumerator//​ in the //​slotInitialize//​ method. 
  
 ===== 3 - Sub class ControllerPreset ===== ===== 3 - Sub class ControllerPreset =====
 +  - Create a //​KeyboardPresetFileHandler//​ class (like //​MidiControllerPresetFileHandler//​).
   - Add tests.   - Add tests.
 +
 +===== 4 - Modify ControllerManager =====
 +  - Append //​KeyboardEnumerator//​ in the //​slotInitialize//​ method.
  
  
 +Notes:
  
 don't break tooltips, make them read current keyboard preset. don't break tooltips, make them read current keyboard preset.
gsoc2016_keyboard_work_breakdown.1463588719.txt.gz · Last modified: 2016/05/18 12:25 by ferranpujolcamins