![]() |
http://www.sim.no http://www.coin3d.org |
#include <Inventor/threads/SbFifo.h>
Public Member Functions | |
void | assign (void *ptr, uint32_t type) |
void | retrieve (void *&ptr, uint32_t &type) |
SbBool | tryRetrieve (void *&ptr, uint32_t &type) |
unsigned int | size (void) const |
void | lock (void) const |
void | unlock (void) const |
SbBool | peek (void *&item, uint32_t &type) const |
SbBool | contains (void *item) const |
SbBool | reclaim (void *item) |
|
Puts pointer ptr of type type into the fifo. The type argument is just meant as a user data tag, and a 0 value can be given as the type argument if type data is uninteresting. |
|
Reads a pointer from the queue. Blocks until a pointer is available for reading. |
|
Tries to read a pointer from the queue. If no data can be read, |
|
Returns number of pointers currently in the queue. |
|
Blocks until the queue can be locked. |
|
Unlocks the queue. |
|
Peeks at the head item of the queue without removing it. In the case where the fifo is empty, The queue must be locked with SbFifo::lock() before using this function, then unlocked. |
|
Returns The queue must be locked with SbFifo::lock() before using this function, then unlocked. |
|
This function removes the given item from the queue. Returns The queue must be locked with SbFifo::lock() before using this function, then unlocked. |
Copyright © 1998-2004 by Systems in Motion AS. All rights reserved.
Generated on Tue Jul 13 06:57:36 2004 for Coin by Doxygen. 1.3.6