Code Samples -- Session 13


810:172
Software Engineering


  1. How objects can watch one another

    Java C++ Ada95 CLOS Java (GUI)
    Reactor reactor.h Reactor.ads Reactor .
    . reactor.C Reactor.adb . .
    Demo Demo Demo Demo .
    output output output output .


  2. How a simple MVC works

    Java C++ Ada95 CLOS Java (GUI)
    Model model.h Model_Viewer.ads Model Model
    . model.C Model_Viewer.adb . .
    View view.h . View View
    . view.C . . .
    Counter counter.h Model_Viewer-Counter.ads Counter Counter
    . counter.C Model_Viewer-Counter.adb . .
    Counter
    BoxView
    counter_box_view.h Model_Viewer-
    Counter_Box_View.ads
    Counter Box CounterView
    . counter_box_view.C Model_Viewer-
    Counter_Box_View.adb
    . .
    Counter
    LineView
    counter_line_view.h Model_Viewer-
    Counter_Box_Line.ads
    Counter Line .
    . counter_line_view.C Model_Viewer-
    Counter_Box_Line.adb
    . .
    Demo Demo Demo_Model_Viewer.adb Demo Demo

If you need help building the C++ executable file for the MVC demo, use this command.

To run the CLOS code in gcl or many simple Lisp implemetations, which do not support CLOS directly, first load this CLOS simulator.





Eugene Wallingford ..... wallingf@cs.uni.edu ..... October 6, 2009