Sct_CalibrationController._TestRequestStub Class Reference

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

Inheritance diagram for Sct_CalibrationController._TestRequestStub:

Inheritance graph
[legend]
Collaboration diagram for Sct_CalibrationController._TestRequestStub:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void startTest (Sct_SctApi.SctApiIPC 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_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.
String getAnalysisAlgorithm ()
 Name of analysis algorithm which is to be used with this test.
void setAnalysisAlgorithm (String name)
 Name of AnalysisAlgorithm which is to be used with this test.
String getFitAlgorithm ()
 Name of AnalysisAlgorithm which is to be used with this test.
void setFitAlgorithm (String name)
 Name of FitterAlgorithm which is to be used with this test.
String[] _ids ()

Private Member Functions

void readObject (java.io.ObjectInputStream s) throws java.io.IOException
void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException

Static Private Attributes

static String[] __ids

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 _TestRequestStub.java.


Member Function Documentation

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

Implements Sct_CalibrationController.TestRequestOperations.

Definition at line 54 of file _TestRequestStub.java.

void Sct_CalibrationController._TestRequestStub.startTest Sct_SctApi.SctApiIPC  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.

Implements Sct_CalibrationController.TestRequestOperations.

Definition at line 26 of file _TestRequestStub.java.


Member Data Documentation

String [] Sct_CalibrationController._TestRequestStub.__ids [static, private]
 

Initial value:

 {
    "IDL:Sct_CalibrationController/TestRequest:1.0"}

Definition at line 213 of file _TestRequestStub.java.

Referenced by Sct_CalibrationController._TestRequestStub._ids().


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 14:15:04 2006 for SCT DAQ/DCS Software - Java by  doxygen 1.4.6