Package mgui.models.environments
Class SimpleEnvironmentInputDataSource<T extends MguiNumber>
java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.models.environments.AbstractEnvironmentDataSource<T>
mgui.models.environments.SimpleEnvironmentInputDataSource<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
InterfaceObject
,InterfaceDataSource<T>
,InterfaceDataSourceTimeSeries<T>
,InterfaceDataSourceXY<T>
,NamedDataSource
,NamedObject
,TreeObject
,CleanableObject
,DynamicModelEnvironmentSensor
public class SimpleEnvironmentInputDataSource<T extends MguiNumber> extends AbstractEnvironmentDataSource<T>
Represents a simple input source for dynamic model environment.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields inherited from class mgui.models.environments.AbstractEnvironmentDataSource
clock, index, isDestroyed, names, signal, sourceListeners
Fields inherited from class mgui.interfaces.AbstractInterfaceObject
tree_nodes
-
Constructor Summary
Constructors Constructor Description SimpleEnvironmentInputDataSource()
-
Method Summary
Modifier and Type Method Description int
getChannelCount()
Returns the number of Y channels in this source.boolean
stimulate(DynamicModelEnvironmentEvent e)
Notifies this sensor that the environment has changed.Methods inherited from class mgui.models.environments.AbstractEnvironmentDataSource
addDataSourceListener, destroy, fireEmission, fireReset, getChannelNames, getIndex, getName, getSourceSignal, getSourceSignalAsBytes, getSourceSignalX, getSourceSignalX, getSourceSignalXY, getSourceSignalY, getSourceSignalY, isDestroyed, removeDataSourceListener, reset, setChannelNames, setIndex
Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, getTreeLabel, issueTreeNode, setName, setTreeNode, updateTreeNodes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface mgui.interfaces.util.CleanableObject
clean
Methods inherited from interface mgui.interfaces.NamedObject
setName
Methods inherited from interface mgui.interfaces.trees.TreeObject
getTreeLabel, issueTreeNode, setTreeNode
-
Constructor Details
-
SimpleEnvironmentInputDataSource
public SimpleEnvironmentInputDataSource()
-
-
Method Details
-
stimulate
Description copied from interface:DynamicModelEnvironmentSensor
Notifies this sensor that the environment has changed.- Returns:
-
getChannelCount
public int getChannelCount()Description copied from interface:InterfaceDataSourceTimeSeries
Returns the number of Y channels in this source.- Returns:
-