Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class 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:

Inheritance graph
[legend]
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.


Package Functions

Sct_CalibrationController.ScanRequest 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,

Definition at line 16 of file TestRequestOperations.java.


Member Function Documentation

Sct_CalibrationController.ScanRequest Sct_CalibrationController.TestRequestOperations.getNextScan int  index  )  [package]
 

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 Thu Jul 15 09:56:53 2004 for SCT DAQ/DCS Software - Java by doxygen 1.3.5