|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.imperial.ph.hep.service.DaqService
public class DaqService
This class represents the Daq itself. The gui components give this candidate runs to run, and tell this class when buttons like "Sequence end" and such like, have been pressed.
Nested Class Summary | |
---|---|
static class |
DaqService.DaqStatus
An enumeration of possible DAQ states. |
Method Summary | |
---|---|
void |
dispose()
Should be called for a successful shutdown by users. |
void |
endConfig()
|
void |
endRun()
|
void |
endSequence()
|
void |
finalize()
|
java.lang.String |
getCmdPath()
|
static DaqService |
getDaqService()
The DaqService is a singleton. |
java.lang.String[] |
getRuntimeEnvironment()
|
DaqService.DaqStatus |
getStatus()
|
void |
panic()
|
DaqService.DaqStatus |
refreshStatus()
Checks output of currentRun +j: 0=> Daq not up, 1=> slowReadout, 2=> non-slow readout, no data taking run, other => runNumber |
void |
registerDaqRunChangedListener(DaqRunChangedListener r)
|
void |
registerDaqStatusListener(DaqStatusListener l)
|
void |
removeDaqRunChangedListener(DaqRunChangedListener r)
|
void |
removeDaqStatusListener(DaqStatusListener l)
|
void |
shutdown()
|
void |
startRun()
|
void |
startRun(CandidateRun cr)
Instructs the Daq to start running the CandidateRun provided. |
void |
startup()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String[] getRuntimeEnvironment()
public java.lang.String getCmdPath()
public static DaqService getDaqService()
public void startRun(CandidateRun cr) throws DaqStatusException
cr
- -
a well-formed candidate run.
DaqStatusException
public void startRun() throws DaqStatusException
DaqStatusException
public void endSequence()
public void endConfig()
public void endRun()
public void panic()
public void startup()
public void shutdown()
public DaqService.DaqStatus getStatus()
public void registerDaqStatusListener(DaqStatusListener l)
public void removeDaqStatusListener(DaqStatusListener l)
public void registerDaqRunChangedListener(DaqRunChangedListener r)
public void removeDaqRunChangedListener(DaqRunChangedListener r)
public DaqService.DaqStatus refreshStatus()
public void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |