XPSEDAPI
 All Classes Namespaces Files Functions Variables Typedefs
SRuS.idl
Go to the documentation of this file.
1 #include "SProS.idl"
2 #include "DOM_APISPEC.idl"
3 
8 module SRuS
9 {
10  interface TransformedModel;
11  interface TransformedModelSet;
12  interface GeneratedData;
13  interface GeneratedDataSet;
14  interface GeneratedDataMonitor;
15 
16  exception SRuSException {};
17 
25  interface SEDMLProcessor
27  {
34  boolean supportsModellingLanguage(in wstring aNSURI);
35 
40  TransformedModel buildOneModel(in SProS::Model aModel);
41 
45  TransformedModelSet buildAllModels(in SProS::SEDMLElement aElement);
46 
59  void generateData(in TransformedModelSet aSet,
60  in SProS::SEDMLElement aElement,
61  in GeneratedDataMonitor aMonitor);
62  };
63 
68  interface TransformedModel
70  {
74  readonly attribute dom::Document xmlDocument;
75 
81  readonly attribute XPCOM::IObject modelDocument;
82 
86  readonly attribute SProS::Model sedmlModel;
87  };
88 
95  {
99  readonly attribute unsigned long length;
100 
105  TransformedModel item(in unsigned long idx) raises (SRuSException);
106 
111  TransformedModel getItemByID(in wstring matchId);
112  };
113 
121  {
130  void progress(in GeneratedDataSet aData);
131 
136  void failure(in string aErrMsg);
137 
141  void done();
142  };
143 
150  interface GeneratedData
152  {
157 
162  readonly attribute unsigned long length;
163 
168  double dataPoint(in unsigned long idx) raises(SRuSException);
169  };
170 
179  {
183  readonly attribute unsigned long length;
184 
189  GeneratedData item(in unsigned long idx);
190  };
191 
196  interface Bootstrap
198  {
202  SEDMLProcessor makeDefaultProcessor();
203  };
204 };