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

Simulator.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  *    "@(#) $Id: Simulator.idl,v 1.3 2010/10/01 17:22:34 javarias Exp $"
00023  */
00024  
00025 #ifndef _SIMULATOR_IDL_
00026 #define _SIMULATOR_IDL_
00027 
00028 #include <acscomponent.idl>
00029 
00030 #pragma prefix "alma"
00031 
00032 module ACSSim
00033 {
00034 
00035   typedef sequence<string> StatementSeq;
00036 
00037   struct MethodInfo {
00038     StatementSeq code;
00039     double timeout;
00040   };
00041 
00042   exception NoSuchMethodEx {};
00043 
00044   exception NoSuchDataEx {};
00045 
00046   exception DataErrorEx {
00047     string message;
00048   };
00049 
00050   interface Simulator : ACS::ACSComponent
00051   {
00052 
00053     void setMethod(in string compName, in string methodName, in string code, in double timeout);
00054 
00055     void setMethodIF(in string ifName, in string methodName, in string code, in double timeout);
00056 
00057     MethodInfo getMethod(in string compName, in string methodName) raises (NoSuchMethodEx);
00058 
00059     MethodInfo getMethodIF(in string ifName, in string methodName) raises (NoSuchMethodEx);
00060 
00061     void removeMethod(in string compName, in string methodName);
00062 
00063     void removeAllMethods();
00064 
00065     void removeAllMethodsIF();
00066 
00067     void removeMethodIF(in string ifName, in string methodName);
00068 
00069     void setGlobalData(in string name, in string value) raises (DataErrorEx);
00070 
00071     void removeGlobalData(in string name) raises (NoSuchDataEx, DataErrorEx);
00072 
00073     string getGlobalData(in string name) raises (NoSuchDataEx);
00074 
00075   };
00076 
00077 };
00078 
00079 #endif

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