#include <mem_push.H>
Inheritance diagram for STDmem_dequeue:
Public Member Functions | |
STDmem_dequeue (size_t datasize=sizeof(UGAgeneric)) | |
void | push (UGAptr data, size_t count=1) |
void | put (UGAptr data, size_t count=1) |
size_t | pop (UGAptr data=NULL, size_t count=1) |
size_t | peek (UGAptr data=NULL, size_t count=1) const |
size_t | count () const |
STDbool | is_empty () const |
void | remove_all () |
Protected Member Functions | |
void | insert_top (UGAptr, size_t count=1) |
void | insert_bottom (const char *, size_t count=1) |
size_t | remove_top (UGAptr=NULL, size_t count=1) |
size_t | peek_top (UGAptr=NULL, size_t count=1) const |
Definition at line 113 of file mem_push.H.
|
Definition at line 115 of file mem_push.H. |
|
Reimplemented from mem_push. Definition at line 121 of file mem_push.H. References mem_push::count(). |
|
Definition at line 184 of file mem_push.C. References mem_push::block_addr(), mem_push::block_left(), mem_push::bottom, mem_push::increase_mem(), MIN, mem_push::num_objects, and mem_push::obj_size. Referenced by put(), and STDmem_queue::put(). |
|
Definition at line 142 of file mem_push.C. References mem_push::block_addr(), mem_push::block_offset(), mem_push::block_size, mem_push::increase_mem(), MIN, mem_push::num_blocks, mem_push::num_objects, mem_push::obj_size, and mem_push::top. Referenced by push(), and STDmem_stack::push(). |
|
Definition at line 43 of file mem_push.H. References mem_push::num_objects, STD_FALSE, and STD_TRUE. |
|
Definition at line 120 of file mem_push.H. References count(), and mem_push::peek_top(). |
|
Definition at line 252 of file mem_push.C. References mem_push::block_addr(), mem_push::block_left(), MIN, mem_push::num_objects, mem_push::obj_size, and mem_push::top. Referenced by peek(), STDmem_stack::peek(), STDmem_queue::peek(), and mem_push::remove_top(). |
|
Definition at line 119 of file mem_push.H. References count(), and mem_push::remove_top(). |
|
Definition at line 117 of file mem_push.H. References count(), and mem_push::insert_top(). |
|
Definition at line 118 of file mem_push.H. References count(), and mem_push::insert_bottom(). |
|
Definition at line 45 of file mem_push.H. References mem_push::count(), and mem_push::remove_top(). Referenced by NetStream::interpret(). |
|
Definition at line 221 of file mem_push.C. References mem_push::decrease_mem(), MIN, mem_push::num_objects, mem_push::obj_size, mem_push::peek_top(), and mem_push::top. Referenced by STDmem_queue::get(), pop(), STDmem_stack::pop(), and mem_push::remove_all(). |