#include <SctApiHisto.h>
Inheritance diagram for SctApi::ScanControl:
Public Member Functions | |
virtual void | startHistogramming ()=0 |
Check possible and start. | |
virtual void | initialisePolling ()=0 |
Called before starting polling. | |
virtual void | reportEventErrors ()=0 |
Report on what might have gone wrong. | |
virtual void | reportTimeout ()=0 |
Report on progress at timeout. | |
virtual void | nextBin ()=0 |
Move to the next bin if necessary. | |
virtual bool | checkScanComplete (bool &progressMade, bool &newBin)=0 |
Is the scan complete? | |
virtual void | abort ()=0 |
Somehow make the scan stop quickly. | |
virtual void | finishHistogram (bool success)=0 |
Tidy up, read out and save histogram. | |
void | printVetoStatus () |
Static Public Member Functions | |
static void | setModuleScanCacheToLastPointInScan (SctApi &api, boost::shared_ptr< const Scan > aScan) |
Protected Member Functions | |
ScanControl (SctApi &api, int bin, int event) | |
ScanControl (SctApi &api) | |
virtual | ~ScanControl () |
Protected Attributes | |
SctApi & | api |
Procedure as follows:
initialisePolling
startHistogramming
loop over checkScanComplete
if newBin is true then call nextBin
reportTimeout is called if checkScanComplete persists in not setting progressMade
finishHistogram tidies up and saves the histogram data
Definition at line 143 of file SctApiHisto.h.
|
Somehow make the scan stop quickly.
Implemented in SctApi::ScanControlRODHisto. |
|
Is the scan complete?
Implemented in SctApi::ScanControlRODHisto. |
|
Tidy up, read out and save histogram.
Implemented in SctApi::ScanControlRODHisto, SctApi::ScanControlTIMHisto, and SctApi::ScanControlAsyncHisto. |
|
Called before starting polling.
Implemented in SctApi::ScanControlRODHisto. |
|
Move to the next bin if necessary.
Implemented in SctApi::ScanControlRODHisto, SctApi::ScanControlTIMHisto, and SctApi::ScanControlAsyncHisto. |
|
Report on what might have gone wrong.
Implemented in SctApi::ScanControlRODHisto. |
|
Report on progress at timeout.
Implemented in SctApi::ScanControlRODHisto. |
|
Check possible and start.
Implemented in SctApi::ScanControlRODHisto, SctApi::ScanControlTIMHisto, and SctApi::ScanControlAsyncHisto. |