00001 #ifndef _ACSCOMPONENT_IDL_ 00002 #define _ACSCOMPONENT_IDL_ 00003 00004 /******************************************************************************* 00005 * ALMA - Atacama Large Millimiter Array 00006 * 00007 * (c) European Southern Observatory, 2002 00008 * Copyright by ESO (in the framework of the ALMA collaboration) 00009 * and Cosylab 2002, All rights reserved 00010 * 00011 * This library is free software; you can redistribute it and/or 00012 * modify it under the terms of the GNU Lesser General Public 00013 * License as published by the Free Software Foundation; either 00014 * version 2.1 of the License, or (at your option) any later version. 00015 * 00016 * This library is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 * Lesser General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU Lesser General Public 00022 * License along with this library; if not, write to the Free Software 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00024 * 00025 * 00026 * "@(#) $Id: acscomponent.idl,v 1.4 2007/06/22 12:46:52 nbarriga Exp $" 00027 * 00028 * who when what 00029 * -------- -------- ---------------------------------------------- 00030 * oat 28/08/03 created 00031 */ 00032 00033 00034 #pragma prefix "alma" 00035 00036 00037 module ACS { 00038 00043 interface OffShoot { 00044 }; 00045 00046 00080 enum ComponentStates { 00081 COMPSTATE_NEW, 00082 COMPSTATE_INITIALIZING, 00083 COMPSTATE_INITIALIZED, 00084 COMPSTATE_OPERATIONAL, 00085 COMPSTATE_ERROR, 00086 COMPSTATE_DESTROYING, 00087 COMPSTATE_ABORTING, 00088 COMPSTATE_DEFUNCT, 00089 COMPSTATE_UNKNOWN 00090 }; 00091 00092 00097 interface ACSComponent { 00098 00100 readonly attribute string name; 00101 00103 readonly attribute ComponentStates componentState; 00104 00105 }; 00106 00125 interface PingableResource 00126 { 00127 boolean ping(); 00128 }; 00129 00130 00131 }; 00132 00133 #endif /* _ACSCOMPONENT_IDL_ */