annotate trainingController.h @ 3:c50de2d84732

used already written func
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Fri, 10 Oct 2014 18:22:14 +0100
parents 851833072cf1
children
rev   line source
rt300@2 1 //
rt300@2 2 // trainingController.h
rt300@2 3 // riftathon
rt300@2 4 //
rt300@2 5 // Created by Robert Tubb on 10/10/2014.
rt300@2 6 //
rt300@2 7 // this controls the sequence fo events, for both the slider UI and the VR one
rt300@2 8 // it sends and recieves messages from a wrapper, it doesn't care which interface you're using
rt300@2 9 // it only cares about the sequence of events
rt300@2 10
rt300@2 11
rt300@2 12 #ifndef __riftathon__trainingController__
rt300@2 13 #define __riftathon__trainingController__
rt300@2 14 #include "presetManager.h"
rt300@2 15 #include <iostream>
rt300@2 16
rt300@2 17 // include message types ( or use defines? ) these message type should be sendable by osc / midi
rt300@2 18 class TrainingController {
rt300@2 19
rt300@2 20 vector<Preset> presetSequence;
rt300@2 21
rt300@2 22 // inputs
rt300@2 23 void soundSubmitted();
rt300@2 24 void readyForNextSequence();
rt300@2 25
rt300@2 26 // outputs
rt300@2 27 void presentTheSequence();
rt300@2 28 void showCountdown();
rt300@2 29 void startSearch();
rt300@2 30
rt300@2 31 //
rt300@2 32 void makePresetSequence(int sequenceLength);
rt300@2 33
rt300@2 34 Preset getRandomPreset();
rt300@2 35
rt300@2 36
rt300@2 37
rt300@2 38 };
rt300@2 39 #endif /* defined(__riftathon__trainingController__) */