|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.gsfc.drl.rtstps.core.fs.Flywheeler
class Flywheeler
This class handles flywheeling for the Frame Synchronizer.
Field Summary | |
---|---|
private Buffer |
crossover
|
private int |
flywheelBytesToFill
|
private int |
flywheelDuration
|
private LongStatusItem |
flywheels
|
private int |
flywheelsCompleted
|
private FrameClock |
frameClock
|
private int |
frameLength
|
private Frames |
frameList
|
private static boolean |
INVERT_OPTION
|
private boolean |
isSendingFlywheels
|
Constructor Summary | |
---|---|
Flywheeler(FsSetup setup,
Buffer crossover,
Frames frames,
FrameClock frameClock,
LongStatusItem flywheels)
Create a flywheel object. |
Method Summary | |
---|---|
private boolean |
discard(Buffer buffer)
Discard flywheel frames found in the buffer. |
(package private) boolean |
next(Buffer buffer)
Continue a flywheel scenario. |
(package private) boolean |
start(Buffer buffer)
Begin a flywheel scenario. |
private boolean |
transmit(Buffer buffer)
Transmit flywheel frames, which are found in the buffer, as if they were lock frames. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final boolean INVERT_OPTION
private int flywheelsCompleted
private int flywheelBytesToFill
private boolean isSendingFlywheels
private int flywheelDuration
private int frameLength
private Buffer crossover
private Frames frameList
private FrameClock frameClock
private LongStatusItem flywheels
Constructor Detail |
---|
Flywheeler(FsSetup setup, Buffer crossover, Frames frames, FrameClock frameClock, LongStatusItem flywheels)
setup
- A configuration. You should not create Flywheeler if
the flywheel duration in setup is zero.crossover
- A buffer used to handle buffer straddle problems.frames
- A list of output frames.frameClock
- A clock to track annotation timestampsMethod Detail |
---|
boolean start(Buffer buffer)
boolean next(Buffer buffer)
private boolean discard(Buffer buffer)
private boolean transmit(Buffer buffer)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |