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
gsoc2016_keyboard_work_breakdown [2016/05/18 12:53]
ferranpujolcamins
gsoc2016_keyboard_work_breakdown [2016/05/18 13:00] (current)
ferranpujolcamins
Line 1: Line 1:
 ===== 1 - Sub class Controller ===== ===== 1 - Sub class Controller =====
-You have to implement the virtual methods. Take //​MidiController//​ and //​PortMidiController//​ or //​HidController//​ as a reference.+You have to implement the pure virtual methods. Take //​MidiController//​ and //​PortMidiController//​ or //​HidController//​ as a reference.
   - Implement destructor.   - Implement destructor.
   - Implement //​presetExtension//​ method. Add corresponding #define in defs_controller.h.   - Implement //​presetExtension//​ method. Add corresponding #define in defs_controller.h.
   - Implement the //accept// method (part of the visitor pattern).   - Implement the //accept// method (part of the visitor pattern).
-  - Implement the //​savePreset//​ method (just prepare for the upcoming //​KeyboardPresetFileHandler//​). +  - Implement the //​savePreset//​ method (just prepare ​it for the upcoming //​KeyboardPresetFileHandler//​). 
-  - Create a //KeyboardPresetFileHandler// class (like //MidiControllerPresetFileHandler//).+  - 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.   - Add tests.
  
Line 17: 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//​).   - 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.txt · Last modified: 2016/05/18 13:00 by ferranpujolcamins