Public Member Functions | |
CircularBuffer (UPInt size) | |
bool | IsEmpty () const |
UByte * | ReadBegin () |
void | ReadEnd (UPInt size) |
UByte * | Write (UPInt size) |
~CircularBuffer () | |
Private Types | |
enum | { AlignSize = 16, AlignMask = AlignSize - 1 } |
Private Member Functions | |
UPInt | roundUpSize (UPInt size) |
Private Attributes | |
UPInt | End |
UPInt | Head |
UByte * | pBuffer |
UPInt | Size |
UPInt | Tail |
Definition at line 28 of file OVR_ThreadCommandQueue.cpp.
anonymous enum [private] |
Definition at line 30 of file OVR_ThreadCommandQueue.cpp.
OVR::CircularBuffer::CircularBuffer | ( | UPInt | size | ) | [inline] |
Definition at line 46 of file OVR_ThreadCommandQueue.cpp.
OVR::CircularBuffer::~CircularBuffer | ( | ) | [inline] |
Definition at line 51 of file OVR_ThreadCommandQueue.cpp.
bool OVR::CircularBuffer::IsEmpty | ( | ) | const [inline] |
Definition at line 58 of file OVR_ThreadCommandQueue.cpp.
UByte* OVR::CircularBuffer::ReadBegin | ( | ) | [inline] |
Definition at line 65 of file OVR_ThreadCommandQueue.cpp.
void OVR::CircularBuffer::ReadEnd | ( | UPInt | size | ) |
Definition at line 114 of file OVR_ThreadCommandQueue.cpp.
UPInt OVR::CircularBuffer::roundUpSize | ( | UPInt | size | ) | [inline, private] |
Definition at line 41 of file OVR_ThreadCommandQueue.cpp.
UByte * OVR::CircularBuffer::Write | ( | UPInt | size | ) |
Definition at line 74 of file OVR_ThreadCommandQueue.cpp.
UPInt OVR::CircularBuffer::End [private] |
Definition at line 39 of file OVR_ThreadCommandQueue.cpp.
UPInt OVR::CircularBuffer::Head [private] |
Definition at line 38 of file OVR_ThreadCommandQueue.cpp.
UByte* OVR::CircularBuffer::pBuffer [private] |
Definition at line 35 of file OVR_ThreadCommandQueue.cpp.
UPInt OVR::CircularBuffer::Size [private] |
Definition at line 36 of file OVR_ThreadCommandQueue.cpp.
UPInt OVR::CircularBuffer::Tail [private] |
Definition at line 37 of file OVR_ThreadCommandQueue.cpp.