QSDK 1.1 Documentation
Main Page | Modules | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

Q::PlaybackListener Struct Reference
[AnimationUser Event Listeners]

Animation event interface. More...

#include <Q/q.h>

List of all members.

Public Member Functions

virtual ~PlaybackListener ()
virtual void onStart (Playback &pb, Animation &anim, float start, float end)=0
virtual void onEnd (Playback &pb, Animation &anim, float start, float end)=0


Detailed Description

Animation event interface.

This is the base class for objects which can receive animation playback events. Applications should create derived classes of PlaybackListener and add them to a Playback object to receive events.


Constructor & Destructor Documentation

virtual Q::PlaybackListener::~PlaybackListener  )  [inline, virtual]
 

Define a virtual destructor since the object has virtual methods.


Member Function Documentation

virtual void Q::PlaybackListener::onEnd Playback pb,
Animation anim,
float  start,
float  end
[pure virtual]
 

Called by the playback pb when the segment starting at start and ending at end in anim is finished.

virtual void Q::PlaybackListener::onStart Playback pb,
Animation anim,
float  start,
float  end
[pure virtual]
 

Called by the playback pb when the segment starting at start and ending at end in anim is started.

Return to QSDK documentation Contents page. Contact details for support, information and fault-reporting.
Qube Software Limited © 2000-2004