ca.nengo.model
Interface SimulationMode.ModeConfigurable

All Known Subinterfaces:
DecodableEnsemble, Ensemble, ExpandableNode, GolgiTendonOrgan, LinkSegmentModel, MuscleSpindle, NEFEnsemble, NEFNode, Network, Neuron, Node, PlasticEnsemble, SkeletalMuscle, SpikeGenerator
All Known Implementing Classes:
AbstractEnsemble, AbstractNode, ALIFSpikeGenerator, BiasOrigin, CriticallyDampedMuscle, DecodableEnsembleImpl, DecodedOrigin, DynamicalSystemSpikeGenerator, EnsembleImpl, ExpandableSpikingNeuron, FunctionInput, HillMuscle, HodgkinHuxleySpikeGenerator, IzhikevichSpikeGenerator, LIFSpikeGenerator, LinkSegmentModelImpl, NEFEnsembleImpl, NetworkImpl, PassthroughNode, PlasticEnsembleImpl, PoissonSpikeGenerator, PyramidalNetwork, RateFunctionSpikeGenerator, SkeletalMuscleImpl, SpikingNeuron
Enclosing class:
SimulationMode

public static interface SimulationMode.ModeConfigurable

Something that has runs in different SimulationModes.

Author:
Bryan Tripp

Method Summary
 SimulationMode getMode()
           
 void setMode(SimulationMode mode)
          Sets the object to run in either the given mode or the closest mode that it supports (all ModeConfigurables must support SimulationMode.DEFAULT, and must default to this mode).
 

Method Detail

setMode

void setMode(SimulationMode mode)
Sets the object to run in either the given mode or the closest mode that it supports (all ModeConfigurables must support SimulationMode.DEFAULT, and must default to this mode).

Parameters:
mode - SimulationMode in which it is desired that the object runs.

getMode

SimulationMode getMode()
Returns:
The SimulationMode in which the object is running