/* This will be rewritten in the future to avail of Generic Data Types which will define common statistical data types such as vector, list, matrix, etc. Then we shall replace the Sequences with these types. */ #include "Sequences.idl" module WaferGraphicsServer { interface WaferGraphicsServer { exception NonExistentWaferException { string name; }; /* All of the methods below should throw a exception NonExistentWaferException as should the database when an entry is not there. In fact, the database should throw a NonExistentObject and the NonExistentWaferException should extend that class. */ /* The plotting functions should have a `list' of attributes/args to configure the plots when S can automatically convert CORBA objects to S objects by reading the Interface Repository. */ void plot(in string name, in string database) raises(NonExistentWaferException); void pareto(in string name, in string database); void boxwafers(in string name, in string database); /* This is different from the other methods because the client supplies the data to be plotted. This is obtained from the database server holding the specified wafer. */ void histogram(in string name, in Sequences::DoubleSequence yields); }; };