#include <AnalysisService.h>
Inheritance diagram for SctAnalysis::AnalysisService:
Public Member Functions | |
virtual | ~AnalysisService () |
void | run () |
RUNS the IPC server and IS callback. | |
void | setFitStrategy (const string &name) throw (LogicError) |
set the FitStrategy by name | |
SctFitter::FitStrategy & | getFitStrategy () const throw (LogicError) |
return a FitStrategy which tells how to do the fitting. | |
virtual void | ipcPurge (AnalysisServiceIStatus *status) throw () |
Calls AnalysisWorkerGroup::purge() method to free stuck memory. | |
virtual void | ipcAnalyze (AnalysisServiceIStatus *status, char *testname) throw () |
Analyse all data relevant to a test. | |
virtual void | ipcAnalyzeModule (AnalysisServiceIStatus *status, char *testname, char *modulename) throw () |
Analyse all data relevant to a test for a particular module. | |
virtual char * | ipcStatus (AnalysisServiceIStatus *status) throw () |
Output the status of the AnalysisService over IPC. | |
virtual char * | ping (AnalysisServiceIStatus *status) throw () |
ipc ping method. | |
Static Public Member Functions | |
void | testDataCallback (ISCallbackInfo *isc) |
what to do when a new TestData is found, or removed | |
void | scanResultCallback (ISCallbackInfo *isc) |
what to do when a new FitScanResult or RawScanResult is found | |
AnalysisService & | instance () |
singleton access method | |
AnalysisService & | initialize (const string &fitStrategyName="RootFitStrategy") |
Initializes the static instance with a FitStrategy. | |
IPCServer & | getServer () throw () |
Protected Attributes | |
AnalysisWorkerGroup * | workergroup |
AnalysisWorkerGroup does the internal book-keeping, and calls the appropriate AnalysisAlgorithm. | |
Private Member Functions | |
AnalysisService (const string &fitStrategyName) | |
singleton | |
Private Attributes | |
SctFitter::FitStrategy * | fitStrategy |
cache telling how to do fitting. | |
Static Private Attributes | |
AnalysisService * | service |
|
Definition at line 19 of file AnalysisService.h. |
|
singleton
Definition at line 47 of file AnalysisService.cpp. References setFitStrategy(), and workergroup. Referenced by initialize(). |
|
return a FitStrategy which tells how to do the fitting.
Definition at line 206 of file AnalysisService.cpp. |
|
Definition at line 52 of file AnalysisService.cpp. |
|
Initializes the static instance with a FitStrategy. The default FitStrategy is RootFitStrategy. Definition at line 218 of file AnalysisService.cpp. References AnalysisService(), service, and setFitStrategy(). Referenced by instance(). |
|
singleton access method
Definition at line 212 of file AnalysisService.cpp. References initialize(), and service. Referenced by scanResultCallback(), and testDataCallback(). |
|
Analyse all data relevant to a test.
Definition at line 156 of file AnalysisService.cpp. |
|
Analyse all data relevant to a test for a particular module.
Definition at line 88 of file AnalysisService.cpp. |
|
Calls AnalysisWorkerGroup::purge() method to free stuck memory.
Definition at line 144 of file AnalysisService.cpp. |
|
Output the status of the AnalysisService over IPC.
Definition at line 78 of file AnalysisService.cpp. |
|
ipc ping method.
Definition at line 70 of file AnalysisService.cpp. |
|
RUNS the IPC server and IS callback. Does not return. Definition at line 57 of file AnalysisService.cpp. References SctService::WorkerGroup< T >::go(), and workergroup. |
|
what to do when a new FitScanResult or RawScanResult is found push the IS name of the ScanResult onto the queue Definition at line 160 of file AnalysisService.cpp. References instance(), SctService::WorkerGroup< T >::push(), and workergroup. |
|
set the FitStrategy by name
Definition at line 202 of file AnalysisService.cpp. References SctFitter::FitStrategyFactory::instance(). Referenced by AnalysisService(), and initialize(). |
|
what to do when a new TestData is found, or removed
Definition at line 176 of file AnalysisService.cpp. References TestData::ABORTED, SctAnalysis::AnalysisWorkerGroup::addTest(), SctAnalysis::AnalysisWorkerGroup::findTest(), instance(), SctAnalysis::AnalysisWorkerGroup::removeTestsUpTo(), and workergroup. |
|
cache telling how to do fitting.
Definition at line 71 of file AnalysisService.h. |
|
Definition at line 227 of file AnalysisService.cpp. Referenced by initialize(), and instance(). |
|
AnalysisWorkerGroup does the internal book-keeping, and calls the appropriate AnalysisAlgorithm.
Definition at line 69 of file AnalysisService.h. Referenced by AnalysisService(), run(), scanResultCallback(), and testDataCallback(). |