SbFifo - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 3.1.3
Note : Coin
NAMESbFifo − A class for managing a pointer first-in, first-out queue.
SYNOPSIS
#include <Inventor/threads/SbFifo.h>
Public Member Functionsvoid 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)
Detailed DescriptionA class for managing a pointer first-in, first-out queue.
Member Function Documentation
void SbFifo::assign (void * ptr, uint32_t type) [inline]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.
void SbFifo::retrieve (void *& ptr, uint32_t & type) [inline]Reads a pointer from the queue. Blocks until a pointer is available for reading.
SbBool SbFifo::tryRetrieve (void *& ptr, uint32_t & type) [inline]Tries to read a pointer from the queue. If no data can be read, FALSE is returned, and TRUE otherwise. The function does not block.
unsigned int SbFifo::size (void) const [inline]Returns number of pointers currently in the queue.
void SbFifo::lock (void) const [inline]Blocks until the queue can be locked.
void SbFifo::unlock (void) const [inline]Unlocks the queue.
SbBool SbFifo::peek (void *& item, uint32_t & type) const [inline]Peeks at the head item of the queue without removing it. In the case where the fifo is empty, FALSE is returned. The queue must be locked with SbFifo::lock() before using this function, then unlocked.
SbBool SbFifo::contains (void * item) const [inline]Returns TRUE or FALSE depending on whether the item is in the queue. The queue must be locked with SbFifo::lock() before using this function, then unlocked.
SbBool SbFifo::reclaim (void * item) [inline]This function removes the given item from the queue. Returns TRUE or FALSE depending on whether the item was in the queue in the first place. The queue must be locked with SbFifo::lock() before using this function, then unlocked.
AuthorGenerated automatically by Doxygen for Coin from the source code. 0
Johanes Gumabo
Data Size : 12,565 byte
man-SbFifo.3coin3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 198,020
Visitor ID : :
Visitor IP : 3.144.21.237 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.