Trull

Package edu.luc.cs.trull.demo.counter

Demonstrates how bounded counters, control buttons, and clocks can be composed (run demo 1 run demo 1a run demo 2 run demo 3 run demo 4 run demo 5 run demo 6).

See:
          Description

Interface Summary
EventLabels The event labels used in this demo.
 

Class Summary
ButtonComponent A component that emits an event each time the button is pressed.
ButtonReactor An adapter that causes a button to emit a Trull event.
CarryCounter A carry counter suitable for building a multi-digit counter.
CompositeCounter A composite counter suitable for building a multi-digit counter from two existing carry counters.
Counter A bounded counter implemented as a JavaBean with Trull support only for event emission.
CounterComponent A bounded counter implemented fully in Trull as a complex component.
Demo1 A bounded counter component driven by a manual clock (run this demo).
Demo1a A bounded counter expression driven by a manual clock (run this demo).
Demo2 A bounded counter activity driven by an automatic clock (run this demo).
Demo3 A three-digit carry counter driven by an automatic clock (run this demo).
Demo4 A pausable two-digit carry counter driven by an automatic clock (run this demo).
Demo5 A three-digit carry counter driven by an automatic clock that stops upon overflow (run this demo).
Demo6 A haltable two-digit carry counter driven by an automatic clock (run this demo).
Haltable A preemption wrapper around a component.
Pauseable A suspend/resume wrapper around a component.
 

Package edu.luc.cs.trull.demo.counter Description

Demonstrates how bounded counters, control buttons, and clocks can be composed (run demo 1 run demo 1a run demo 2 run demo 3 run demo 4 run demo 5 run demo 6).


Trull

http://www.cs.luc.edu/trull/