Method | Description |
CTQUE_Clear | Clears the queue of all its items. |
CTQUE_Constructor | Creates a queue (an instance of type CTQUE). |
CTQUE_Count | Returns the nimber of items in the queue. |
CTQUE_Destructor | Releases the queue and its resources. |
CTQUE_Get | Returns the next available queue item in first-in-first-out fashion. |
CTQUE_GetMax | Returns the maximum number of items that can be inserted in the queue. |
CTQUE_ItemSize | Returns the size of the next available item in the queue. |
CTQUE_IterNext | Returns the value of the next available item in the queue within an iteration loop; the item is not removed from the queue. |
CTQUE_IterNextSize | Returns the size of the next item to be retrieved within an iteration loop. |
CTQUE_IterStart | Starts an iteration loop. |
CTQUE_Put | Inserts an item in the queue. |
CTQUE_SetMax | Sets the maximum number of items in the queue. |
/INCLUDE QINCSRC,CTBASE DRc S 10I 0 DpQueue S * /Free pQueue = CTQUE_Constructor(); // Use CTQUE instance via methods by using the pQueue pointer // // ... // We are done and need to gargabe collect CTQUE resources CTQUE_Destructor(pQueue); *InLR = *On; Return; /End-Free