bool ThreadedGLWidgetWrapper::start() { init(); totalRunningTime.start(); //renderWdg->trialTime.start(); //renderWdg->frameTime.start(); checkForNextBlockTrial(); startTriggerTimer(2000); return true; }
/** * Create a frame */ StateMachine::StateSelector SimulationApi::smCreateFrame() { generateFrame(); startTriggerTimer(); return StateMachine::firstState; }
/** * Start recording */ StateMachine::StateSelector SimulationApi::smStartRecording() { startTriggerTimer(); frameNumber = 0; return StateMachine::firstState; }