#include <mem_push.H>
Inheritance diagram for STDmem_queue:
Public Member Functions | |
STDmem_queue (size_t datasize=sizeof(UGAgeneric)) | |
void | put (const char *data, size_t count=1) |
size_t | get (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 85 of file mem_push.H.
|
Definition at line 87 of file mem_push.H. |
|
Reimplemented from mem_push. Definition at line 92 of file mem_push.H. References mem_push::count(). Referenced by STDdstream::eof(), STDdstream::flush(), NetStream::flush_data(), get(), NetStream::interpret(), peek(), put(), and STDdstream::read(). |
|
Definition at line 90 of file mem_push.H. References count(), and mem_push::remove_top(). Referenced by STDdstream::flush(), STDdstream::read(), and STDdstream::recv(). |
|
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 STDmem_dequeue::put(), and 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 STDmem_dequeue::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 91 of file mem_push.H. References count(), and mem_push::peek_top(). Referenced by STDdstream::flush(), and STDdstream::read(). |
|
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 STDmem_dequeue::peek(), STDmem_stack::peek(), peek(), and mem_push::remove_top(). |
|
Definition at line 89 of file mem_push.H. References count(), and mem_push::insert_bottom(). Referenced by STDdstream::read(), NetStream::read_stuff(), STDdstream::send(), and STDdstream::write(). |
|
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 get(), STDmem_dequeue::pop(), STDmem_stack::pop(), and mem_push::remove_all(). |