org.jactr.core.model.six
Class DefaultCycleProcessor6

java.lang.Object
  extended by org.jactr.core.model.six.DefaultCycleProcessor6
All Implemented Interfaces:
ICycleProcessor

public class DefaultCycleProcessor6
extends java.lang.Object
implements ICycleProcessor

default cycle control for the model

Author:
developer

Constructor Summary
DefaultCycleProcessor6()
           
 
Method Summary
 double cycle(IModel model, boolean eventsHaveFired)
          run a single cycle of the model
 void executeAfter(java.lang.Runnable runner)
          execute this after the current cycle finishes
 void executeBefore(java.lang.Runnable runner)
          execute this before the next cycle starts
 boolean isExecuting()
          is the cycle currently executing? True between cycle start and stop events.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCycleProcessor6

public DefaultCycleProcessor6()
Method Detail

cycle

public double cycle(IModel model,
                    boolean eventsHaveFired)
run a single cycle of the model

Specified by:
cycle in interface ICycleProcessor
eventsHaveFired - TODO
See Also:
Callable.call()

executeAfter

public void executeAfter(java.lang.Runnable runner)
Description copied from interface: ICycleProcessor
execute this after the current cycle finishes

Specified by:
executeAfter in interface ICycleProcessor

executeBefore

public void executeBefore(java.lang.Runnable runner)
Description copied from interface: ICycleProcessor
execute this before the next cycle starts

Specified by:
executeBefore in interface ICycleProcessor

isExecuting

public boolean isExecuting()
Description copied from interface: ICycleProcessor
is the cycle currently executing? True between cycle start and stop events.

Specified by:
isExecuting in interface ICycleProcessor
Returns: