public class FarmController extends ModuleAdapter
ModuleAdapter.RateCalculatorThread
attributeMap, 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, state
public 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 CODAStateMachine
reset
in class ModuleAdapter
public void end() throws CmdExecException
end
in interface CODAStateMachine
end
in class ModuleAdapter
CmdExecException
- if error during command execution.public void prestart() throws CmdExecException
prestart
in interface CODAStateMachine
prestart
in class ModuleAdapter
CmdExecException
- if error during command execution.public void pause()
pause
in interface CODAStateMachine
pause
in class ModuleAdapter
public void go() throws CmdExecException
go
in interface CODAStateMachine
go
in class ModuleAdapter
CmdExecException
- if error during command execution.