view trainingController.h @ 8:d59de9fd3496

Refactored messageController, ready for instroduction of other stages and tests.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Fri, 17 Oct 2014 16:35:22 +0100
parents 851833072cf1
children
line wrap: on
line source
//
//  trainingController.h
//  riftathon
//
//  Created by Robert Tubb on 10/10/2014.
//
// this controls the sequence fo events, for both the slider UI and the VR one
// it sends and recieves messages from a wrapper, it doesn't care which interface you're using
// it only cares about the sequence of events


#ifndef __riftathon__trainingController__
#define __riftathon__trainingController__
#include "presetManager.h"
#include <iostream>

// include message types ( or use defines? ) these message type should be sendable by osc / midi
class TrainingController {
    
    vector<Preset> presetSequence;
    
    // inputs
    void soundSubmitted();
    void readyForNextSequence();
    
    // outputs
    void presentTheSequence();
    void showCountdown();
    void startSearch();
    
    //
    void makePresetSequence(int sequenceLength);
    
    Preset getRandomPreset();
    
    
    
};
#endif /* defined(__riftathon__trainingController__) */