#include <llpriqueuemap.h>
Inheritance diagram for LLPriQueueMap< DATA_TYPE >:
Public Types | |
typedef std::map< LLPQMKey< DATA_TYPE >, DATA_TYPE >::iterator | pqm_iter |
typedef std::pair< LLPQMKey< DATA_TYPE >, DATA_TYPE > | pqm_pair |
typedef void(*) | set_pri_fn (DATA_TYPE &data, const F32 priority) |
typedef F32(*) | get_pri_fn (DATA_TYPE &data) |
Public Member Functions | |
LLPriQueueMap (set_pri_fn set_pri, get_pri_fn get_pri) | |
void | push (const F32 priority, DATA_TYPE data) |
BOOL | pop (DATA_TYPE *datap) |
void | reprioritize (const F32 new_priority, DATA_TYPE data) |
S32 | getLength () const |
Public Attributes | |
std::map< LLPQMKey< DATA_TYPE >, DATA_TYPE > | mMap |
Protected Attributes | |
void(* | mSetPriority )(DATA_TYPE &data, const F32 priority) |
F32(* | mGetPriority )(DATA_TYPE &data) |
Definition at line 73 of file llpriqueuemap.h.
typedef F32(*) LLPriQueueMap< DATA_TYPE >::get_pri_fn(DATA_TYPE &data) |
Definition at line 79 of file llpriqueuemap.h.
typedef std::map<LLPQMKey<DATA_TYPE>, DATA_TYPE>::iterator LLPriQueueMap< DATA_TYPE >::pqm_iter |
Definition at line 76 of file llpriqueuemap.h.
typedef std::pair<LLPQMKey<DATA_TYPE>, DATA_TYPE> LLPriQueueMap< DATA_TYPE >::pqm_pair |
Definition at line 77 of file llpriqueuemap.h.
typedef void(*) LLPriQueueMap< DATA_TYPE >::set_pri_fn(DATA_TYPE &data, const F32 priority) |
Definition at line 78 of file llpriqueuemap.h.
LLPriQueueMap< DATA_TYPE >::LLPriQueueMap | ( | set_pri_fn | set_pri, | |
get_pri_fn | get_pri | |||
) | [inline] |
Definition at line 82 of file llpriqueuemap.h.
S32 LLPriQueueMap< DATA_TYPE >::getLength | ( | ) | const [inline] |
Definition at line 138 of file llpriqueuemap.h.
BOOL LLPriQueueMap< DATA_TYPE >::pop | ( | DATA_TYPE * | datap | ) | [inline] |
Definition at line 98 of file llpriqueuemap.h.
void LLPriQueueMap< DATA_TYPE >::push | ( | const F32 | priority, | |
DATA_TYPE | data | |||
) | [inline] |
Definition at line 86 of file llpriqueuemap.h.
Referenced by LLTransferSourceChannel::addTransferSource(), and LLPriQueueMap< LLTransferSource * >::reprioritize().
void LLPriQueueMap< DATA_TYPE >::reprioritize | ( | const F32 | new_priority, | |
DATA_TYPE | data | |||
) | [inline] |
Definition at line 112 of file llpriqueuemap.h.
Referenced by LLTransferSourceChannel::updatePriority().
F32(* LLPriQueueMap< DATA_TYPE >::mGetPriority)(DATA_TYPE &data) [protected] |
Referenced by LLPriQueueMap< LLTransferSource * >::reprioritize().
std::map<LLPQMKey<DATA_TYPE>, DATA_TYPE> LLPriQueueMap< DATA_TYPE >::mMap |
Definition at line 144 of file llpriqueuemap.h.
Referenced by LLTransferSourceChannel::deleteTransfer(), LLTransferSourceChannel::findTransferSource(), LLPriQueueMap< LLTransferSource * >::getLength(), LLPriQueueMap< LLTransferSource * >::pop(), LLPriQueueMap< LLTransferSource * >::push(), LLPriQueueMap< LLTransferSource * >::reprioritize(), LLTransferSourceChannel::updateTransfers(), and LLTransferSourceChannel::~LLTransferSourceChannel().
void(* LLPriQueueMap< DATA_TYPE >::mSetPriority)(DATA_TYPE &data, const F32 priority) [protected] |
Referenced by LLPriQueueMap< LLTransferSource * >::reprioritize().