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, sourceListenersFields inherited from class mgui.interfaces.AbstractInterfaceObject
tree_nodes -
Constructor Summary
Constructors Constructor Description SimpleEnvironmentInputDataSource() -
Method Summary
Modifier and Type Method Description intgetChannelCount()Returns the number of Y channels in this source.booleanstimulate(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, setIndexMethods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, getTreeLabel, issueTreeNode, setName, setTreeNode, updateTreeNodesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mgui.interfaces.util.CleanableObject
cleanMethods inherited from interface mgui.interfaces.NamedObject
setNameMethods inherited from interface mgui.interfaces.trees.TreeObject
getTreeLabel, issueTreeNode, setTreeNode
-
Constructor Details
-
SimpleEnvironmentInputDataSource
public SimpleEnvironmentInputDataSource()
-
-
Method Details
-
stimulate
Description copied from interface:DynamicModelEnvironmentSensorNotifies this sensor that the environment has changed.- Returns:
-
getChannelCount
public int getChannelCount()Description copied from interface:InterfaceDataSourceTimeSeriesReturns the number of Y channels in this source.- Returns:
-