|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsj.EmbeddedSJProgram<abro.EmbeddedABRO.StateLabel>
abro.EmbeddedABRO
public class EmbeddedABRO
The program ABRO. ABRO is the "hello world" of synchronous languages. This version of ABRO in Synchronous Java (SJ) can be run on Lego Mindstorms NXT systems. This implementation is based on the Synchronous C (SC) version of ABRO. For informations about SC see the SC homepage .
ABRO
Field Summary | |
---|---|
sj.Signal |
a
The signals used by the program. |
sj.Signal |
b
The signals used by the program. |
sj.Signal |
o
The signals used by the program. |
sj.Signal |
r
The signals used by the program. |
Fields inherited from class sj.EmbeddedSJProgram |
---|
INITIAL_TICK |
Constructor Summary | |
---|---|
EmbeddedABRO()
Initializes a new instance of EmbeddedABRO. |
Method Summary | |
---|---|
static void |
main(String[] args)
Starts the program. |
void |
tick()
The heart method of the EmbeddedABRO program. |
Methods inherited from class sj.EmbeddedSJProgram |
---|
abort, activateCausalityCheck, addSignals, awaitDoneCB, doTick, fork, forkEB, getLogger, getName, getSignals, getTickNr, gotoB, haltCB, isCausalityCheckActive, isInInitialTick, isTerminated, isThreadRunning, isTickDone, joinDoneCB, pauseB, prioB, removeSignals, setLogger, state, suspend, termB, toString, transB |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public sj.Signal a
public sj.Signal b
public sj.Signal r
public sj.Signal o
Constructor Detail |
---|
public EmbeddedABRO()
Method Detail |
---|
public static void main(String[] args)
public void tick()
tick
in class sj.EmbeddedSJProgram<abro.EmbeddedABRO.StateLabel>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |