next up previous contents index
Next: 8.5 Applet Interface Up: 8. SCC - A Previous: 8.3 Space Efficiency and   Contents   Index


8.4 Example

A sample model is provided in the test/applet/ subdirectory of SVM. It demonstrates the use of SCC and the applet interface discussed in section .

Figure 8.3: The graphical representation of a sample model for SCC
Image sccsample

The graphical design of the model is in Figure 8.3. This model uses the following features of DCharts:

sample.des, the textual model description is included below:

sample.des

When the code (sample.java) is synthesized by SCC, the following classes are defined:

Among the above classes, sample is the public class that can be accessed by user classes or from the Java command-line. The user may execute ``java sample'' to run the model.


next up previous contents index
Next: 8.5 Applet Interface Up: 8. SCC - A Previous: 8.3 Space Efficiency and   Contents   Index
Thomas Huining Feng 2004-04-28