Main Page   Packages   Class Hierarchy   Compound List   Compound Members   Related Pages  

Sct_CalibrationController.TestRequestOperations Interface Reference

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

Inheritance diagram for Sct_CalibrationController.TestRequestOperations:

Sct_CalibrationController.TestRequest Sct_CalibrationController.TestRequestPOA Sct_CalibrationController._TestRequestStub TestGUI.ExampleTestRequest List of all members.

Public Member Functions

void startTest (Sct_SctApi.SctApi api, org.omg.CORBA.StringHolder name, org.omg.CORBA.ShortHolder testVariable, org.omg.CORBA.IntHolder nScans, Sct_CalibrationController.TestPointsHolder testPointsData)
 Called just before this TestRequest is started.

Sct_SctApi.Scan getNextScan (int 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,


Member Function Documentation

Sct_SctApi.Scan Sct_CalibrationController.TestRequestOperations.getNextScan int    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.

Implemented in Sct_CalibrationController._TestRequestStub, and TestGUI.ExampleTestRequest.

void Sct_CalibrationController.TestRequestOperations.startTest Sct_SctApi.SctApi    api,
org.omg.CORBA.StringHolder    name,
org.omg.CORBA.ShortHolder    testVariable,
org.omg.CORBA.IntHolder    nScans,
Sct_CalibrationController.TestPointsHolder    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.

Implemented in Sct_CalibrationController._TestRequestStub.


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