Changeset [a153f66380272d9de27152c1482d4af26b28baf6] by Christopher Stawarz

August 18th, 2011 @ 02:32 PM

First pass at reworking DynamicStimulusDriver and StandardDynamicStimulus

Major changes:

  • DynamicStimulusDriver now uses StimulusDisplay::getCurrentOutputTimeUS to determine elapsed time
  • Dynamic stimuli are initially in "playing" state. Start time is set by the first call to DynamicStimulusDriver::getElapsedTime.
  • DynamicStimulusDriver and StandardDynamicStimulus no longer support the "frames_per_second" parameter. StandardDynamicStimulus subclasses by default will draw every display refresh.
  • DynamicStimulusDriver::getFrameNumber has been eliminated
  • StandardDynamicStimulus::drawFrame has been eliminated. Subclasses should now override Stimulus::draw or related methods. https://github.com/mworks-project/mw_core/commit/a153f66380272d9de2...

Committed by Christopher Stawarz

  • M Core/Stimuli/DynamicStimuli/DynamicStimulusDriver.cpp
  • M Core/Stimuli/DynamicStimuli/DynamicStimulusDriver.h
  • M Core/Stimuli/DynamicStimuli/StandardDynamicStimulus.cpp
  • M Core/Stimuli/DynamicStimuli/StandardDynamicStimulus.h
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The core framework and supporting libraries for the MWorks Suite