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 * and Cosylab 2002, 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 #ifndef _ACS_COMMON_IDL 00023 #define _ACS_COMMON_IDL 00024 00025 #pragma prefix "alma" 00026 00032 module ACS { 00036 typedef unsigned long long Time; 00037 00039 typedef long long TimeInterval; 00040 00042 typedef unsigned long long pattern; 00043 00045 typedef long long longLong; 00046 00048 typedef unsigned long long uLongLong; 00049 00054 enum Condition { 00056 RED, 00058 YELLOW, 00060 GREEN, 00062 GREY 00063 }; 00064 00070 typedef sequence <string> stringSeq; 00071 00073 typedef sequence <Time> TimeSeq; 00074 00076 typedef sequence <TimeInterval> TimeIntervalSeq; 00077 00079 typedef sequence <Condition> ConditionSeq; 00080 00082 typedef sequence <pattern> patternSeq; 00083 00085 typedef sequence <double> doubleSeq; 00086 00088 typedef sequence <float> floatSeq; 00089 00091 typedef sequence <long> longSeq; 00092 00094 typedef sequence <doubleSeq> doubleSeqSeq; 00095 00097 typedef sequence <floatSeq> floatSeqSeq; 00098 00100 typedef sequence <longSeq> longSeqSeq; 00101 00103 typedef sequence <stringSeq> stringSeqSeq; 00104 00106 typedef sequence <longLong> longLongSeq; 00107 00109 typedef sequence <uLongLong> uLongLongSeq; 00110 }; 00111 00112 00118 module log_audience 00119 { 00120 const string OPERATOR = "Operator"; 00121 const string DEVELOPER = "Developer"; 00122 const string SYSADMIN = "Sysadmin"; 00123 const string DBA = "DBA"; 00124 const string NO_AUDIENCE = ""; 00125 }; 00126 00127 00133 module acscommon 00134 { 00135 00136 //Time-related definitions/////////////////////////////////////////////////////// 00137 typedef unsigned long long TimeStamp; 00138 00139 //Names of CORBA/ACS services//////////////////////////////////////////////////// 00143 const string LOG_FACTORY_NAME = "LogFactory"; 00144 00149 const string NOTIFICATION_FACTORY_NAME = "NotifyEventChannelFactory"; 00150 00155 const string LOGGING_NOTIFICATION_FACTORY_NAME = "LoggingNotifyEventChannelFactory"; 00156 00161 const string ARCHIVE_NOTIFICATION_FACTORY_NAME = "ArchiveNotifyEventChannelFactory"; 00162 00167 const string ALARM_NOTIFICATION_FACTORY_NAME = "AlarmNotifyEventChannelFactory"; 00168 00173 const string NAMING_SERVICE_NAME = "NameService"; 00174 00175 //Event Channel stuff//////////////////////////////////////////////////////////// 00181 const string ALMADOMAIN = "ALMA"; 00182 00187 const string ARCHIVING_DOMAIN = "Archiving"; 00188 00193 const string LOGGING_DOMAIN = "Logging"; 00194 00199 const string ARCHIVING_CHANNEL_NAME = "ArchivingChannel"; 00200 00205 const string ARCHIVING_CHANNEL_KIND = ""; 00206 00211 const string LOGGING_CHANNEL_NAME = "LoggingChannelBin"; 00212 00216 const string LOGGING_CHANNEL_XML_NAME = "LoggingChannel"; 00221 const string LOGGING_CHANNEL_KIND = ""; 00222 00228 const string DEFAULTDATANAME = "almaData"; 00229 00235 const string NC_KIND = "channels"; 00236 00240 const string LOGGING_TYPE = ""; 00241 }; 00242 00243 #endif