|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.DataSource
org.epics.pvmanager.sim.SimulationDataSource
public final class SimulationDataSource
Data source to produce simulated signals that can be using during development and testing.
Nested Class Summary | |
---|---|
protected static class |
SimulationDataSource.ValueProcessor<T,E>
|
Constructor Summary | |
---|---|
SimulationDataSource()
|
Method Summary | |
---|---|
void |
connect(DataRecipe recipe)
Connects to a set of channels based on the given recipe. |
void |
disconnect(DataRecipe recipe)
Disconnects the set of channels given by the recipe. |
static DataSource |
simulatedData()
Data source instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimulationDataSource()
Method Detail |
---|
public static DataSource simulatedData()
public void connect(DataRecipe recipe)
DataSource
The data source must update the value caches relative to each channel. Before updating any cache, it must lock the collector relative to that cache and after any update it must notify the collector.
connect
in class DataSource
recipe
- the instructions for the data connectionpublic void disconnect(DataRecipe recipe)
DataSource
The disconnect call is guaranteed to be given the same object, so that the recipe itself can be used as a key in a map to retrieve the list of resources needed to be closed.
disconnect
in class DataSource
recipe
- the instructions for the data connection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |