audiere::StopCallback Class Reference

#include <audiere.h>

Inheritance diagram for audiere::StopCallback:

Inheritance graph
[legend]
Collaboration diagram for audiere::StopCallback:

Collaboration graph
[legend]
List of all members.

Public Member Functions

EventType getType ()
void call (Event *event)
virtual void streamStopped (StopEvent *event)=0

Protected Member Functions

 ~StopCallback ()

Detailed Description

To listen for stream stopped events on a device, implement this interface and call registerStopCallback() on the device, passing your implementation. streamStopped() will be called whenever a stream on that device stops playback.

WARNING: StopCallback is called from another thread. Make sure your callback is thread-safe.

Definition at line 668 of file audiere.h.


Constructor & Destructor Documentation

audiere::StopCallback::~StopCallback  )  [inline, protected]
 

Definition at line 670 of file audiere.h.


Member Function Documentation

void audiere::StopCallback::call Event event  )  [inline, virtual]
 

Actually executes the callback with event-specific data. This is only called if event->getType() == this->getType().

Implements audiere::Callback.

Definition at line 674 of file audiere.h.

EventType audiere::StopCallback::getType  )  [inline, virtual]
 

Returns the event type that this callback knows how to handle.

Implements audiere::Callback.

Definition at line 673 of file audiere.h.

References audiere::ET_STOP.

virtual void audiere::StopCallback::streamStopped StopEvent event  )  [pure virtual]
 

Called when a stream has stopped.

Parameters:
event Information pertaining to the event.


The documentation for this class was generated from the following file:
Generated on Mon Feb 13 23:07:22 2006 for audiere by  doxygen 1.4.6