com.croftsoft.apps.infant
Class InfantModel

java.lang.Object
  extended by com.croftsoft.apps.infant.InfantModel
All Implemented Interfaces:
InfantAccessor, Destroyable, Updatable

public final class InfantModel
extends Object
implements Destroyable, InfantAccessor, Updatable

Maintains state.

Since:
2006-01-03
Version:
$Id: InfantModel.java,v 1.37 2007/02/25 03:25:29 croft Exp $
Author:
David Wallace Croft

Constructor Summary
InfantModel(InfantConfig infantConfig, Queue<InfantMessage> requestQueue, Queue<InfantMessage> eventQueue)
           
 
Method Summary
 void destroy()
           
 long getImageDisplayTime()
          Nanoseconds.
 String getImagePath()
           
 long getInterStimulusInterval()
          Nanoseconds.
 double getScale()
           
 void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfantModel

public InfantModel(InfantConfig infantConfig,
                   Queue<InfantMessage> requestQueue,
                   Queue<InfantMessage> eventQueue)
Method Detail

getImageDisplayTime

public long getImageDisplayTime()
Description copied from interface: InfantAccessor
Nanoseconds.

Specified by:
getImageDisplayTime in interface InfantAccessor

getImagePath

public String getImagePath()
Specified by:
getImagePath in interface InfantAccessor

getInterStimulusInterval

public long getInterStimulusInterval()
Description copied from interface: InfantAccessor
Nanoseconds.

Specified by:
getInterStimulusInterval in interface InfantAccessor

getScale

public double getScale()
Specified by:
getScale in interface InfantAccessor

update

public void update()
Specified by:
update in interface Updatable

destroy

public void destroy()
Specified by:
destroy in interface Destroyable

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)