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