Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages | Examples

ArSoundsQueue::Item Class Reference

#include <ArSoundsQueue.h>

List of all members.


Detailed Description

A sound item in the queue, with callbacks for dealing with the item and the data to pass to those callbacks.
Examples:

soundsQueueExample.cpp.

Definition at line 83 of file ArSoundsQueue.h.

Public Member Functions

void done ()
void interrupt ()
 Item (const ArSoundsQueue::Item &toCopy)
 Item (std::string _data, ItemType _type, std::string _params, int priority, std::list< PlayItemFunctor * > callbacks)
 Item (std::string _data, ItemType _type, std::string _params="", int priority=0)
bool operator== (const Item &other) const
void play ()

Public Attributes

std::string data
std::list< ArFunctor * > doneCallbacks
std::list< InterruptItemFunctor * > interruptCallbacks
std::string params
std::list< PlaybackConditionFunctor * > playbackConditionCallbacks
std::list< PlayItemFunctor * > playCallbacks
int priority
ItemType type


Member Function Documentation

void ArSoundsQueue::Item::done  ) 
 

Called by sound queue thread after playing this item by calling done callbacks.

Definition at line 95 of file ArSoundsQueue.cpp.

void ArSoundsQueue::Item::interrupt  ) 
 

Called by sound queue to interrupt this item by calling interrupt callbacks.

Definition at line 88 of file ArSoundsQueue.cpp.

bool ArSoundsQueue::Item::operator== const Item other  )  const [inline]
 

Note: does not compare priority!

Definition at line 101 of file ArSoundsQueue.h.

void ArSoundsQueue::Item::play  ) 
 

Called by sound queue to play this item by calling play callbacks.

Definition at line 78 of file ArSoundsQueue.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Feb 20 10:51:45 2007 for Aria by  doxygen 1.4.0