| Modifier and Type | Class and Description |
|---|---|
| private class | AbstractPrimaryTimer.
Hidden inner class to run the main timing loop. |
| Modifier and Type | Field and Description |
|---|---|
| protected static final String | |
| protected static final String | |
| private TimerReceiver[] | |
| private int | |
| private boolean | |
| private long | |
| protected static final boolean | |
| protected static final String | |
| private final long | |
| protected static final String | |
| private static boolean | |
| protected static final String | |
| private static Callback | |
| private final int | |
| private final int | |
| protected static final String | |
| private PulseReceiver[] | |
| private int | |
| private boolean | |
| private final AbstractPrimaryTimer. | |
| private static boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | addPulseReceiver(PulseReceiver
the Clip to be added to the scheduling queue target)Adds a PulseReceiver to the list of targets being tracked against the global schedule. |
| public int | |
| protected abstract int | |
| public boolean | |
| public long | |
| protected abstract void | |
| protected void | |
| protected void | |
| protected void | |
| public void | |
| public void | |
| protected void |
| ADAPTIVE_PULSE_PROP | back to summary |
|---|---|
| protected static final String ADAPTIVE_PULSE_PROP | |
| ANIMATION_MBEAN_ENABLED | back to summary |
|---|---|
| protected static final String ANIMATION_MBEAN_ENABLED | |
| animationTimers | back to summary |
|---|---|
| private TimerReceiver[] animationTimers | |
| animationTimersLength | back to summary |
|---|---|
| private int animationTimersLength | |
| animationTimersLocked | back to summary |
|---|---|
| private boolean animationTimersLocked | |
| debugNanos | back to summary |
|---|---|
| private long debugNanos | |
| enableAnimationMBean | back to summary |
|---|---|
| protected static final boolean enableAnimationMBean | |
| FIXED_PULSE_LENGTH_PROP | back to summary |
|---|---|
| protected static final String FIXED_PULSE_LENGTH_PROP | |
| fixedPulseLength | back to summary |
|---|---|
| private final long fixedPulseLength | |
| FRAMERATE_PROP | back to summary |
|---|---|
| protected static final String FRAMERATE_PROP | |
| fullspeed | back to summary |
|---|---|
| private static boolean fullspeed | |
| FULLSPEED_PROP | back to summary |
|---|---|
| protected static final String FULLSPEED_PROP | |
| pcl | back to summary |
|---|---|
| private static Callback<String, Void> pcl | |
| PULSE_DURATION_NS | back to summary |
|---|---|
| private final int PULSE_DURATION_NS | |
| PULSE_DURATION_TICKS | back to summary |
|---|---|
| private final int PULSE_DURATION_TICKS | |
| PULSE_PROP | back to summary |
|---|---|
| protected static final String PULSE_PROP | |
| receivers | back to summary |
|---|---|
| private PulseReceiver[] receivers | |
| receiversLength | back to summary |
|---|---|
| private int receiversLength | |
| receiversLocked | back to summary |
|---|---|
| private boolean receiversLocked | |
| theMainLoop | back to summary |
|---|---|
| private final AbstractPrimaryTimer. | |
| useAdaptivePulse | back to summary |
|---|---|
| private static boolean useAdaptivePulse | |
| AbstractPrimaryTimer | back to summary |
|---|---|
| protected AbstractPrimaryTimer() | |
| addAnimationTimer | back to summary |
|---|---|
| public void addAnimationTimer(TimerReceiver timer) | |
| addPulseReceiver | back to summary |
|---|---|
| public void addPulseReceiver(PulseReceiver target) Adds a PulseReceiver to the list of targets being tracked against the global schedule. The target should already have an absolute start time recorded in it and that time will be used to start the clip at the appropriate wall clock time as defined by milliTime(). Note that pulseReceiver cannot be removed from the PrimaryTimer directly. It is removed automatically in the timePulse-iteration if timePulse returns true.
| |
| getDefaultResolution | back to summary |
|---|---|
| public int getDefaultResolution() | |
| getPulseDuration | back to summary |
|---|---|
| protected abstract int getPulseDuration(int precision) | |
| isFullspeed | back to summary |
|---|---|
| public boolean isFullspeed() | |
| nanos | back to summary |
|---|---|
| public long nanos() | |
| postUpdateAnimationRunnable | back to summary |
|---|---|
| protected abstract void postUpdateAnimationRunnable(DelayedRunnable animationRunnable) | |
| recordAnimationEnd | back to summary |
|---|---|
| protected void recordAnimationEnd() | |
| recordEnd | back to summary |
|---|---|
| protected void recordEnd() | |
| recordStart | back to summary |
|---|---|
| protected void recordStart(long shiftMillis) | |
| removeAnimationTimer | back to summary |
|---|---|
| public void removeAnimationTimer(TimerReceiver timer) | |
| removePulseReceiver | back to summary |
|---|---|
| public void removePulseReceiver(PulseReceiver target) | |
| timePulseImpl | back to summary |
|---|---|
| protected void timePulseImpl(long now) | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private long | |
| private long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public void | |
| private void | |
| private void |
| inactive | back to summary |
|---|---|
| private boolean inactive | |
| lastPulseDuration | back to summary |
|---|---|
| private long lastPulseDuration | |
| nextPulseTime | back to summary |
|---|---|
| private long nextPulseTime | |
| MainLoop | back to summary |
|---|---|
| private MainLoop() | |
| getDelay | back to summary |
|---|---|
| public long getDelay() Implements com. Doc from com. Gets the delay in milliseconds.
| |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| updateAnimationRunnable | back to summary |
|---|---|
| private void updateAnimationRunnable() | |
| updateNextPulseTime | back to summary |
|---|---|
| private void updateNextPulseTime(long pulseStarted) | |