Public Types | |
typedef sbBaseDevice::TransferRequest | TransferRequest |
Static Public Member Functions | |
static bool | CompareItems (sbIMediaItem *aLeft, sbIMediaItem *aRight) |
static bool | CompareRequestItems (sbBaseDevice::TransferRequest *aRequest1, sbBaseDevice::TransferRequest *aRequest2) |
static bool | DupeCheck (sbBaseDevice::TransferRequest *aQueueRequest, sbBaseDevice::TransferRequest *aNewRequest, bool &aIsDupe) |
Static helper class for convenience
Definition at line 83 of file sbDeviceRequestThreadQueue.cpp.
Definition at line 86 of file sbDeviceRequestThreadQueue.cpp.
|
inlinestatic |
This compares two items, handling null values, returning true if they are equal
Definition at line 92 of file sbDeviceRequestThreadQueue.cpp.
|
inlinestatic |
This compares both the list and item of aRequest and mRequest
aRequest | the other request to be compared |
Definition at line 106 of file sbDeviceRequestThreadQueue.cpp.
|
static |
This is the primary function that does the work. It compares the two requests and if they are a dupe returns true in aIsDupe. The return value is whether the caller should continue through the queue or not.
aQueueRequest | the request that is on the queue |
aNewRequest | The request that is about to be added to the queue |
aIsDupe | out parameter denoting whether the new request is a dupe of the request on the queue |
Definition at line 135 of file sbDeviceRequestThreadQueue.cpp.