00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
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 setGlobalData(in string name, in string value) raises (
DataErrorEx);
00062
00063
void removeGlobalData(in string name) raises (
NoSuchDataEx,
DataErrorEx);
00064
00065 string getGlobalData(in string name) raises (
NoSuchDataEx);
00066
00067 };
00068
00069 };
00070
00071
#endif