Main Page | Namespace List | 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.

ScanRequest 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 109 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.

ScanRequest 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 Thu Jul 15 09:58:38 2004 for SCT DAQ/DCS Software - IDL by doxygen 1.3.5