org.jactr.core.module.imaginal.six
Class DefaultImaginalModule6

java.lang.Object
  extended by org.jactr.core.module.AbstractModule
      extended by org.jactr.core.module.imaginal.six.DefaultImaginalModule6
All Implemented Interfaces:
IImaginalModule, IModule, IInitializable, IInstallable

public class DefaultImaginalModule6
extends AbstractModule
implements IImaginalModule

Author:
developer

Field Summary
 
Fields inherited from interface org.jactr.core.module.imaginal.IImaginalModule
IMAGINAL_ADD_DELAY_PARAM, IMAGINAL_BUFFER, IMAGINAL_LOG, IMAGINAL_MODIFY_DELAY_PARAM, IMAGINAL_RANDOMIZE_DELAY_PARAM
 
Constructor Summary
DefaultImaginalModule6()
           
 
Method Summary
 void dispose()
          release any resources.
 double getAddDelayTime()
           
 double getModifyDelayTime()
           
 java.lang.String getParameter(java.lang.String key)
           
 java.util.Collection<java.lang.String> getPossibleParameters()
           
 java.util.Collection<java.lang.String> getSetableParameters()
           
 void initialize()
          this will be called after all the modules have been installed permitting the module to attach listeners to other modules.
 boolean isRandomizeDelaysEnabled()
           
 void setAddDelayTime(double addDelayTime)
          set the amount of time it takes to add a new chunk to the imaginal buffer
 void setModifyDelayTime(double modDelayTime)
          set the amount of time it takes for modification requests
 void setParameter(java.lang.String key, java.lang.String value)
           
 void setRandomizeDelaysEnabled(boolean enabled)
           
 
Methods inherited from class org.jactr.core.module.AbstractModule
delayedFuture, getExecutor, getModel, getName, getSafeName, immediateFuture, immediateReturn, install, uninstall
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jactr.core.module.IModule
getModel, getName, install
 
Methods inherited from interface org.jactr.core.utils.IInstallable
uninstall
 

Constructor Detail

DefaultImaginalModule6

public DefaultImaginalModule6()
Method Detail

initialize

public void initialize()
Description copied from interface: IModule
this will be called after all the modules have been installed permitting the module to attach listeners to other modules. if you want to get access to chunks,types, or productions before the model runs, attach a model listener and do that during the modelStarted call

Specified by:
initialize in interface IModule
Specified by:
initialize in interface IInitializable
Specified by:
initialize in class AbstractModule
See Also:
AbstractModule.initialize()

dispose

public void dispose()
Description copied from interface: IModule
release any resources. this should only be called by the model during its own dispose method (assuming that this module is still installed) and should not result in the propogation of ANY events. The module should dispose of all its resources, including buffers

Specified by:
dispose in interface IModule
Overrides:
dispose in class AbstractModule

getAddDelayTime

public double getAddDelayTime()
Specified by:
getAddDelayTime in interface IImaginalModule

getModifyDelayTime

public double getModifyDelayTime()
Specified by:
getModifyDelayTime in interface IImaginalModule

isRandomizeDelaysEnabled

public boolean isRandomizeDelaysEnabled()
Specified by:
isRandomizeDelaysEnabled in interface IImaginalModule

setAddDelayTime

public void setAddDelayTime(double addDelayTime)
Description copied from interface: IImaginalModule
set the amount of time it takes to add a new chunk to the imaginal buffer

Specified by:
setAddDelayTime in interface IImaginalModule

setModifyDelayTime

public void setModifyDelayTime(double modDelayTime)
Description copied from interface: IImaginalModule
set the amount of time it takes for modification requests

Specified by:
setModifyDelayTime in interface IImaginalModule

setRandomizeDelaysEnabled

public void setRandomizeDelaysEnabled(boolean enabled)
Specified by:
setRandomizeDelaysEnabled in interface IImaginalModule

getSetableParameters

public java.util.Collection<java.lang.String> getSetableParameters()

getPossibleParameters

public java.util.Collection<java.lang.String> getPossibleParameters()

getParameter

public java.lang.String getParameter(java.lang.String key)

setParameter

public void setParameter(java.lang.String key,
                         java.lang.String value)