00001 #include "ipc/ipc.idl" 00002 00003 module SctTestApi{ 00004 00005 exception NoSuchFileException {}; 00006 exception NoSuchModuleException {}; 00007 exception NoDataException {}; 00008 00012 interface Configuration : ipc::freeable { 00013 const string instanceName = "ConfigurationImpl"; 00014 00016 void setDataFile(in string file) raises (NoSuchFileException); 00018 string getDataFile(); 00019 00021 void setFastTimes(); 00023 void setRealisticTimes(); 00024 00025 00027 void setScanTime(in long time); 00029 long getScanTime(); 00030 00032 void setMultiDspEfficiency(in double efficiency); 00034 double getMultiDspEfficiency(); 00035 00037 void setReadoutTime(in long time); 00039 long getReadoutTime(); 00040 }; 00041 00047 interface HighLevelApi : ipc::freeable { 00048 const string instanceName = "HighLevelApiImpl"; 00049 const string serverName = "HighLevelApi"; 00050 00052 void setDataFile(in string file) raises (NoSuchFileException); 00054 string getDataFile(); 00055 00057 void setXmlSummaryFile(in string file) raises (NoSuchFileException); 00059 string getXmlSummaryFile(); 00060 00064 void setModuleSerial(in string serial) raises (NoSuchModuleException); 00066 string getModuleSerial(); 00067 00068 void fullBypass() raises (NoDataException); 00069 void timeWalk() raises (NoDataException); 00070 void strobeDelay() raises (NoDataException); 00071 void threePointGain() raises (NoDataException); 00072 void responseCurve() raises (NoDataException); 00073 void noiseOccupancy() raises (NoDataException); 00074 void trim() raises (NoDataException); 00075 void pipeline() raises (NoDataException); 00076 }; 00077 };