rt300@2: // rt300@2: // trainingController.h rt300@2: // riftathon rt300@2: // rt300@2: // Created by Robert Tubb on 10/10/2014. rt300@2: // rt300@2: // this controls the sequence fo events, for both the slider UI and the VR one rt300@2: // it sends and recieves messages from a wrapper, it doesn't care which interface you're using rt300@2: // it only cares about the sequence of events rt300@2: rt300@2: rt300@2: #ifndef __riftathon__trainingController__ rt300@2: #define __riftathon__trainingController__ rt300@2: #include "presetManager.h" rt300@2: #include rt300@2: rt300@2: // include message types ( or use defines? ) these message type should be sendable by osc / midi rt300@2: class TrainingController { rt300@2: rt300@2: vector presetSequence; rt300@2: rt300@2: // inputs rt300@2: void soundSubmitted(); rt300@2: void readyForNextSequence(); rt300@2: rt300@2: // outputs rt300@2: void presentTheSequence(); rt300@2: void showCountdown(); rt300@2: void startSearch(); rt300@2: rt300@2: // rt300@2: void makePresetSequence(int sequenceLength); rt300@2: rt300@2: Preset getRandomPreset(); rt300@2: rt300@2: rt300@2: rt300@2: }; rt300@2: #endif /* defined(__riftathon__trainingController__) */