SbFifo(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

✨ NAME ✨

SbFifo β€” bestie, it's the FIFO (first-in-first-out) queue class from Coin, and she is serving πŸ’…


🌸 SYNOPSIS 🌸

okay so this is the whole squad of public member functions, no cap, every single one of them:

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)

πŸŽ€ Public Member Functions πŸŽ€

  • void assign (void *ptr, uint32_t type) β€” drop a pointer and its type tag into the FIFO, she's holding it for you now 🫢
  • void retrieve (void *&ptr, uint32_t &type) β€” pull the next pointer and type tag back out. literally the whole point of the queue ✨
  • SbBool tryRetrieve (void *&ptr, uint32_t &type) β€” same energy as retrieve, but she'll tell you with an SbBool whether it actually worked instead of just doing it 😌
  • unsigned int size (void) const β€” how many things are in there rn. a vibe check, basically πŸ”’
  • void lock (void) const β€” locks her up so nobody else can mess with the queue while you're doing your thing πŸ”’
  • void unlock (void) const β€” releases the lock. free her πŸ’€
  • SbBool peek (void *&item, uint32_t &type) const β€” take a lil peek at the next item and its type without removing them from the queue, she's just showing you πŸ‘€
  • SbBool contains (void *item) const β€” asks "is this pointer in here somewhere?" and answers with an SbBool πŸ’œ
  • SbBool reclaim (void *item) β€” tries to reclaim that item, returns an SbBool telling you how it went 🌈

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. so like, no human wrote this by hand, the robot did it, iconic πŸ€–βœ¨


fr fr, that's the whole page β€” no extra options hiding anywhere, that's all of her πŸŽ€

Version 4.0.10 🌸 Thu Jun 25 2026 00:00:00 πŸ¦‹ and that's the SbFifo(3) page bestie, mwah, go forth and queue responsibly πŸ’–

πŸ“¦ where this page comes from