• Classes
  • Namespaces
  • Files
  • Related Pages
  • File List
  • File Members

DataCaptureExample.idl

Go to the documentation of this file.
00001 /*
00002  *    ALMA - Atacama Large Millimiter Array
00003  *    (c) European Southern Observatory, 2002
00004  *    Copyright by ESO (in the framework of the ALMA collaboration),
00005  *    All rights reserved
00006  *
00007  *    This library is free software; you can redistribute it and/or
00008  *    modify it under the terms of the GNU Lesser General Public
00009  *    License as published by the Free Software Foundation; either
00010  *    version 2.1 of the License, or (at your option) any later version.
00011  *
00012  *    This library is distributed in the hope that it will be useful,
00013  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  *    Lesser General Public License for more details.
00016  *
00017  *    You should have received a copy of the GNU Lesser General Public
00018  *    License along with this library; if not, write to the Free Software
00019  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, 
00020  *    MA 02111-1307  USA
00021  */
00022  
00023 #ifndef _DATACAPTURE_EX_IDL_
00024 #define _DATACAPTURE_EX_IDL_
00025 
00026 
00027 #include <acstime.idl>
00028 #pragma prefix "alma"
00029 
00030 module asdmEX
00031 {
00032 
00033 /*  form #include <asdmIDLTypes.idl>  in namespace  asdmIDLTypes */
00034  struct IDLEntityRef {
00035                 string entityId;
00036                 string partId;
00037                 string entityTypeName;
00038                 string instanceVersion;
00039         };
00040 };
00041 
00042 module datacapEx
00043 {
00044 
00045 /* from DataCapture.idl namespace offline */
00046     typedef ACS::Time DCCTime;
00047     typedef string ArrayId;
00048 
00049 enum Completion {
00050     FAIL,
00051     SUCCESS,
00052     PARTIAL,
00053     TIMEOUT
00054   };
00055 
00056 // from CONTROL ICD
00057 enum ScanPurpose {
00058     TARGET,     
00059     CALIBRATION,        
00060 
00061     // Calibration SubIntents
00062     FOCUS, 
00063     HOLOGRAPHY, 
00064     POINTING, 
00065     ATMOSPHERE, 
00066     POINTINGMODEL, 
00067     PHASECAL, 
00068     AMPLICAL, 
00069     DELAY, 
00070     ANTENNAPOSITIONS,
00071     PHASECURVE, 
00072     AMPLICURVE, 
00073     SKYDIP,
00074     POLARIZATION,
00075     BANDPASS,
00076 
00077       LAST,        // End of a sequency (i.e. final optical pointing target)
00078     OFFLINEPROCESSING      // Telcal ignores this scan
00079   };
00080   
00081   typedef sequence < ScanPurpose > ScanPurposeSeq;
00082   
00083 
00084  struct DataCapturerId{
00085      string name;
00086      ArrayId array;
00087      asdmEX::IDLEntityRef session;
00088      asdmEX::IDLEntityRef schedBlock; 
00089   };
00090 
00091 // structures from CONTROL
00092   struct ScanStartedEvent {
00093     asdmEX::IDLEntityRef execId;
00094     ArrayId arrayName;
00095     long scanNumber;
00096     ScanPurposeSeq scanType;
00097     ACS::Time startTime;
00098   };
00099 
00100   struct ExecBlockStartedEvent {
00101     asdmEX::IDLEntityRef execId;
00102     asdmEX::IDLEntityRef sbId;
00103     asdmEX::IDLEntityRef sessionId;
00104     ArrayId arrayName;
00105     ACS::Time startTime;
00106   };
00107 
00108   struct ExecBlockEndedEvent {
00109     asdmEX::IDLEntityRef execId;
00110     asdmEX::IDLEntityRef sbId;
00111     asdmEX::IDLEntityRef sessionId;
00112     ArrayId arrayName;
00113     Completion status;
00114     ACS::Time endTime;
00115   };
00116   
00117   struct ExecBlockProcessedEvent{
00118     DataCapturerId workingDCId; 
00119     string status; 
00120     asdmEX::IDLEntityRef processedExecBlockId;  
00121     DCCTime finishedAt;
00122   };
00123 
00124 // structure that Sohaila had problem with
00125 struct DataCapturerStartedEvent{
00126     DataCapturerId workingDCId;
00127     string status;
00128     DCCTime finishedAt;
00129 };
00130 
00131 };
00132 #endif

Generated on Thu Jan 12 2012 23:13:14 for ACS-10.0 IDL interfaces by  doxygen 1.7.0