|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.nau.cs.scu.ResponseGenerator
public class ResponseGenerator
This is a very basic class which is responsible for retrieving status information from the physics model and sending it over serial communications.
| Method Summary | |
|---|---|
static ResponseGenerator |
getInstance()
|
void |
sendCurrentStatus()
Retrieves the current status of the Physics Model and sends it to the MEU over the currently active serial port in the SignalInterpreter. |
protected boolean |
sendStatus(Status s)
Writes a Status packet to the currently active serial port in the SignalInterpreter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ResponseGenerator getInstance()
protected boolean sendStatus(Status s)
sendCurrentStatus()
s - The status to be sent.
public void sendCurrentStatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||