Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

tm_queue_mapping * tmTransactionService::GetQueueMap ( PRUint32  aQueueID  )  [protected]

the tm_queue_mapping object that contains the ID passed in.

nsnull if the ID is not found.

Definition at line 471 of file tmTransactionService.cpp.

References tmVector::Size().

Referenced by OnDetachReply().


  PRUint32 size = mQueueMaps.Size();
  tm_queue_mapping *qmap = nsnull;
  for (PRUint32 index = 0; index < size; index++) {
    qmap = (tm_queue_mapping*) mQueueMaps[index];
    if (qmap && qmap->queueID == aQueueID)
      return qmap;
  return nsnull;

Generated by  Doxygen 1.6.0   Back to index