player
Class SequencePlayManager

java.lang.Object
  extended by player.SequencePlayManager

public class SequencePlayManager
extends java.lang.Object

Provides support to a JAFramesPlayer by managing the creation and running of a thread to play a sequence of animation frames. Once the manager has been created, its startSequencePlay() method can be used to create and launch the frame display thread; this method should be called once only. That is, the client player should create a new instance of this manager class each time it needs to play a sequence of frames.


Constructor Summary
SequencePlayManager(boolean resuming, PlayerFlags flags, View view, CameraController camctrl, AnimationScan ascan, JAPlayerEventHandler peh, SpeedProvider sp, int initla, int fdlimit, int droplimit, boolean pipedsigns, boolean showat, boolean logas, boolean logdfs, boolean logdf, player.SequencePlayManager.Client client)
          Constructs a new sequence play manager, resuming or restarting as specified, using the given player flags, JA avatar view, camera controller, animation scanner, player event handler and speed provider, using the specified initial lookahead time (ms), frame drift time limit (ms), frame drop period limit (ms), with a piped signs animation source, displaying animation times or not as specified, logging an animation summary or not as specified, logging a dropped frames summary or not as specified, logging dropped frames or not as specified, and notifying the given client.
 
Method Summary
 void startSequencePlay()
          Creates and runs the animation sequence play thread.
 void stopSequencePlay()
          Requests that playing of the animation sequence be prematurely terminated.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequencePlayManager

public SequencePlayManager(boolean resuming,
                           PlayerFlags flags,
                           View view,
                           CameraController camctrl,
                           AnimationScan ascan,
                           JAPlayerEventHandler peh,
                           SpeedProvider sp,
                           int initla,
                           int fdlimit,
                           int droplimit,
                           boolean pipedsigns,
                           boolean showat,
                           boolean logas,
                           boolean logdfs,
                           boolean logdf,
                           player.SequencePlayManager.Client client)
Constructs a new sequence play manager, resuming or restarting as specified, using the given player flags, JA avatar view, camera controller, animation scanner, player event handler and speed provider, using the specified initial lookahead time (ms), frame drift time limit (ms), frame drop period limit (ms), with a piped signs animation source, displaying animation times or not as specified, logging an animation summary or not as specified, logging a dropped frames summary or not as specified, logging dropped frames or not as specified, and notifying the given client.

Method Detail

startSequencePlay

public void startSequencePlay()
Creates and runs the animation sequence play thread. This method should be called once only.


stopSequencePlay

public void stopSequencePlay()
Requests that playing of the animation sequence be prematurely terminated.