org.epics.pvmanager.sim
Class SimulationDataSource

java.lang.Object
  extended by org.epics.pvmanager.DataSource
      extended by org.epics.pvmanager.sim.SimulationDataSource

public final class SimulationDataSource
extends DataSource

Data source to produce simulated signals that can be using during development and testing.

Author:
carcassi

Constructor Summary
SimulationDataSource()
           
 
Method Summary
protected  ChannelHandler createChannel(java.lang.String channelName)
          Creates a channel handler for the given name.
static DataSource simulatedData()
          Data source instance.
 
Methods inherited from class org.epics.pvmanager.DataSource
close, concludeWrite, connect, disconnect, getChannels, isWriteable, prepareWrite, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationDataSource

public SimulationDataSource()
Method Detail

simulatedData

public static DataSource simulatedData()
Data source instance.

Returns:
the data source instance

createChannel

protected ChannelHandler createChannel(java.lang.String channelName)
Description copied from class: DataSource
Creates a channel handler for the given name. In the simplest case, this is the only method a data source needs to implement.

Specified by:
createChannel in class DataSource
Parameters:
channelName - the name for a new channel
Returns:
a new handler