#include <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 |
|
Called by sound queue thread after playing this item by calling done callbacks. |
|
Called by sound queue to interrupt this item by calling interrupt callbacks. |
|
Note: does not compare priority! |
|
Called by sound queue to play this item by calling play callbacks. |