00001 #ifndef _ACS_BD_Errors_IDL_ 00002 #define _ACS_BD_Errors_IDL_ 00003 00004 /******************************************************************************* 00005 * ALMA - Atacama Large Millimiter Array 00006 * (c) European Southern Observatory, 2003 00007 * 00008 *This library is free software; you can redistribute it and/or 00009 *modify it under the terms of the GNU Lesser General Public 00010 *License as published by the Free Software Foundation; either 00011 *version 2.1 of the License, or (at your option) any later version. 00012 * 00013 *This library is distributed in the hope that it will be useful, 00014 *but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 *Lesser General Public License for more details. 00017 * 00018 *You should have received a copy of the GNU Lesser General Public 00019 *License along with this library; if not, write to the Free Software 00020 *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 * 00022 * "@(#) $Id: AES2IDL.xslt,v 1.9 2007/05/23 08:55:56 nbarriga Exp $" 00023 ************* THIS FILE IS AUTOMATICALLY GENERATED !!!!!! 00024 */ 00025 00026 #include <acserr.idl> 00027 00028 #pragma prefix "alma" 00029 00030 module ACSErr 00031 { 00032 // type 00033 const ACSErr::ACSErrType ACS_BD_Errors = 57; 00034 }; // module ACSErr 00035 00036 module ACS_BD_Errors 00037 { 00038 const ACSErr::ErrorCode StreamCreateProblem = 0; 00039 const ACSErr::ErrorCode StreamAlreadyExists = 1; 00040 const ACSErr::ErrorCode StreamNotExist = 2; 00041 const ACSErr::ErrorCode FlowCreateProblem = 3; 00042 const ACSErr::ErrorCode FlowAlreadyExists = 4; 00043 const ACSErr::ErrorCode FlowNotExist = 5; 00044 const ACSErr::ErrorCode StreamDestroyProblem = 6; 00045 const ACSErr::ErrorCode FlowDestroyProblem = 7; 00046 const ACSErr::ErrorCode CDBProblem = 8; 00047 const ACSErr::ErrorCode UnknownDataType = 9; 00048 const ACSErr::ErrorCode WrongFrameOrder = 10; 00049 const ACSErr::ErrorCode FrameLost = 11; 00050 const ACSErr::ErrorCode SampleLost = 12; 00051 const ACSErr::ErrorCode UserCallbackError = 13; 00052 const ACSErr::ErrorCode SendDataError = 14; 00053 const ACSErr::ErrorCode StopSendError = 15; 00054 const ACSErr::ErrorCode StartSendError = 16; 00055 const ACSErr::ErrorCode SendFrameGenericError = 17; 00056 const ACSErr::ErrorCode SendFrameTimeout = 18; 00057 const ACSErr::ErrorCode FrameAckTimeout = 19; 00058 const ACSErr::ErrorCode FrameTooLong = 20; 00059 00060 // excption for type: 00061 exception ACS_BD_ErrorsEx { 00062 ACSErr::ErrorTrace errorTrace; 00063 }; 00064 00065 // excptions for codes: 00066 exception StreamCreateProblemEx { 00067 ACSErr::ErrorTrace errorTrace; 00068 }; 00069 00070 exception StreamAlreadyExistsEx { 00071 ACSErr::ErrorTrace errorTrace; 00072 }; 00073 00074 exception StreamNotExistEx { 00075 ACSErr::ErrorTrace errorTrace; 00076 }; 00077 00078 exception FlowCreateProblemEx { 00079 ACSErr::ErrorTrace errorTrace; 00080 }; 00081 00082 exception FlowAlreadyExistsEx { 00083 ACSErr::ErrorTrace errorTrace; 00084 }; 00085 00086 exception FlowNotExistEx { 00087 ACSErr::ErrorTrace errorTrace; 00088 }; 00089 00090 exception StreamDestroyProblemEx { 00091 ACSErr::ErrorTrace errorTrace; 00092 }; 00093 00094 exception FlowDestroyProblemEx { 00095 ACSErr::ErrorTrace errorTrace; 00096 }; 00097 00098 exception CDBProblemEx { 00099 ACSErr::ErrorTrace errorTrace; 00100 }; 00101 00102 exception UnknownDataTypeEx { 00103 ACSErr::ErrorTrace errorTrace; 00104 }; 00105 00106 exception WrongFrameOrderEx { 00107 ACSErr::ErrorTrace errorTrace; 00108 }; 00109 00110 exception FrameLostEx { 00111 ACSErr::ErrorTrace errorTrace; 00112 }; 00113 00114 exception SampleLostEx { 00115 ACSErr::ErrorTrace errorTrace; 00116 }; 00117 00118 exception UserCallbackErrorEx { 00119 ACSErr::ErrorTrace errorTrace; 00120 }; 00121 00122 exception SendDataErrorEx { 00123 ACSErr::ErrorTrace errorTrace; 00124 }; 00125 00126 exception StopSendErrorEx { 00127 ACSErr::ErrorTrace errorTrace; 00128 }; 00129 00130 exception StartSendErrorEx { 00131 ACSErr::ErrorTrace errorTrace; 00132 }; 00133 00134 exception SendFrameGenericErrorEx { 00135 ACSErr::ErrorTrace errorTrace; 00136 }; 00137 00138 exception SendFrameTimeoutEx { 00139 ACSErr::ErrorTrace errorTrace; 00140 }; 00141 00142 exception FrameAckTimeoutEx { 00143 ACSErr::ErrorTrace errorTrace; 00144 }; 00145 00146 exception FrameTooLongEx { 00147 ACSErr::ErrorTrace errorTrace; 00148 }; 00149 00150 00151 }; // module ACS_BD_Errors 00152 00153 #endif 00154