|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Flock | +--FlockStub
A flock to use when developing the ui
Inner classes inherited from class Flock |
Flock.DefaultListener, Flock.ExamineListener |
Field Summary | |
private Capture |
parent
|
Constructor Summary | |
(package private) |
FlockStub()
|
|
FlockStub(Capture app)
Default constructor for Flock. |
Method Summary | |
void |
fly()
When the flock is running with a master and slaves, this method is used to tell the flock to start flying. |
void |
sendPointCommand()
Sends the point command to the Master bird |
void |
sendSleepCommand()
Sends the sleep command to the Master bird. |
void |
sendStreamCommand()
Sends the stream command to all of the birds in the flock |
void |
setFlockSize(int size)
Sets the size of the flock. |
void |
shutdown()
Puts the birds to sleep and closes the serial connections to the flock. |
void |
startCapture()
Start capturing data |
void |
stopCapture()
Stop capturing |
void |
stopStream()
Stops the stream |
Methods inherited from class java.lang.Object |
|
Field Detail |
private Capture parent
Constructor Detail |
public FlockStub(Capture app)
FlockStub()
Method Detail |
public void sendPointCommand()
sendPointCommand
in class Flock
public void startCapture()
public void stopCapture()
public void fly()
fly
in class Flock
public void setFlockSize(int size)
size
- is the number of birds in the flock.public void sendStreamCommand()
sendStreamCommand
in class Flock
public void stopStream()
stopStream
in class Flock
public void sendSleepCommand()
sendSleepCommand
in class Flock
public void shutdown()
shutdown
in class Flock
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |