public class FarmController extends ModuleAdapter
ModuleAdapter.RateCalculatorThreadattributeMap, avgEventSize, emu, endCallback, epThreadsSetInConfig, errorMsg, eventCountTotal, eventProducingThreads, eventRate, goodChunk_X_EtBufSize, id, inputChanLevels, inputChanNames, inputChannelCount, inputChannels, logger, maxEventSize, minEventSize, moduleState, name, outputChanLevels, outputChanNames, outputChannelCount, outputChannels, outputOrder, paused, prestartCallback, RateCalculator, representStatistics, statGatheringPeriod, statistics, timeStatsOn, timeToBuild, wordCountTotal, wordRate| Constructor and Description |
|---|
FarmController(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> attributeMap,
Emu emu)
Constructor creates a new EventRecording instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
end()
This method implements the END transition of the CODA run control state machine.
|
void |
go()
This method implements the GO transition of the CODA run control state machine.
|
void |
pause()
This method implements the PAUSE transition of the CODA run control state machine.
|
void |
prestart()
This method implements the PRESTART transition of the CODA run control state machine.
|
void |
reset()
This method implements the RESET transition of the CODA run control state machine.
|
addInputChannels, addOutputChannels, adjustStatistics, clearChannels, download, eventToOutputChannel, eventToOutputChannel, getAttr, getEndCallback, getError, getEventProducingThreadCount, getInputChannels, getInputLevels, getInputNames, getIntAttr, getInternalRingCount, getOutputChannels, getOutputLevels, getOutputNames, getOutputOrder, getPrestartCallback, getStatistics, name, registerEndCallback, registerPrestartCallback, representsEmuStatistics, statepublic FarmController(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> attributeMap,
Emu emu)
name - name of moduleattributeMap - map containing attributes of moduleemu - Emu this module belongs to.public void reset()
reset in interface CODAStateMachinereset in class ModuleAdapterpublic void end()
throws CmdExecException
end in interface CODAStateMachineend in class ModuleAdapterCmdExecException - if error during command execution.public void prestart()
throws CmdExecException
prestart in interface CODAStateMachineprestart in class ModuleAdapterCmdExecException - if error during command execution.public void pause()
pause in interface CODAStateMachinepause in class ModuleAdapterpublic void go()
throws CmdExecException
go in interface CODAStateMachinego in class ModuleAdapterCmdExecException - if error during command execution.