Main Page   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields  

Sct_CalibrationController::TestRequest Interface Reference

External implementers of this class must not call any CalibrationController methods in their implementation. More...

import "CalibrationController.idl";


Public Member Functions

void startTest (in Sct_SctApi::SctApi api, out string name, out unsigned short testVariable, out unsigned long nScans, out TestPoints testPointsData)
 Called just before this TestRequest is started.

Sct_SctApi::Scan getNextScan (in unsigned long index)
 Called to get the next Scan.

boolean canFeedback ()
 Should return true if there will be a TestResult published which contains information that should be fed back into the calibration Whether this will actually happen depends on the UpdateOption the CalibrationController is in.

void endTest ()
 Called to indicate that the Test has completed.


Detailed Description

External implementers of this class must not call any CalibrationController methods in their implementation.

This is because of a re-entrancy dealock problem with ILU,

Definition at line 81 of file CalibrationController.idl.


Member Function Documentation

boolean Sct_CalibrationController::TestRequest::canFeedback  
 

Should return true if there will be a TestResult published which contains information that should be fed back into the calibration Whether this will actually happen depends on the UpdateOption the CalibrationController is in.

void Sct_CalibrationController::TestRequest::endTest  
 

Called to indicate that the Test has completed.

Sct_SctApi::Scan Sct_CalibrationController::TestRequest::getNextScan in unsigned long    index
 

Called to get the next Scan.

The parameter can be useful in determining which Scan to return. The Scan will be executed immediately.

Parameters:
index the 0 based index of the Scan that is to be returned.

void Sct_CalibrationController::TestRequest::startTest in Sct_SctApi::SctApi    api,
out string    name,
out unsigned short    testVariable,
out unsigned long    nScans,
out TestPoints    testPointsData
 

Called just before this TestRequest is started.

It should cache the api and make any calls it needs to the libraries to get e.g. Scans. Unfortunately, this has to be done here to prevent ILU deadlocking. All the out variables must be set appropriately - in particular, name cannont be zero length and the length of testPointsData must be the same as nScans.


The documentation for this interface was generated from the following file:
Generated on Mon Dec 15 19:39:32 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3