Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::ThreadCommand::PopBuffer Class Reference

#include "OVR_ThreadCommandQueue.h"

Collaboration diagram for OVR::ThreadCommand::PopBuffer:
Collaboration graph

Public Member Functions

 PopBuffer ()
 
 ~PopBuffer ()
 
void InitFromBuffer (void *data)
 
bool HasCommand () const
 
UPInt GetSize () const
 
bool NeedsWait () const
 
NotifyEventGetEvent () const
 
void Execute ()
 

Private Types

enum  { MaxSize = 256 }
 

Private Member Functions

ThreadCommandtoCommand () const
 

Private Attributes

UPInt Size
 
union {
UByte Buffer [MaxSize]
 
UPInt Align
 
}; 
 

Detailed Description

Definition at line 64 of file OVR_ThreadCommandQueue.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
MaxSize 

Definition at line 66 of file OVR_ThreadCommandQueue.h.

Constructor & Destructor Documentation

OVR::ThreadCommand::PopBuffer::PopBuffer ( )
inline

Definition at line 77 of file OVR_ThreadCommandQueue.h.

OVR::ThreadCommand::PopBuffer::~PopBuffer ( )

Definition at line 146 of file OVR_ThreadCommandQueue.cpp.

Member Function Documentation

void OVR::ThreadCommand::PopBuffer::Execute ( )

Definition at line 163 of file OVR_ThreadCommandQueue.cpp.

NotifyEvent* OVR::ThreadCommand::PopBuffer::GetEvent ( ) const
inline

Definition at line 85 of file OVR_ThreadCommandQueue.h.

UPInt OVR::ThreadCommand::PopBuffer::GetSize ( void  ) const
inline

Definition at line 83 of file OVR_ThreadCommandQueue.h.

bool OVR::ThreadCommand::PopBuffer::HasCommand ( ) const
inline

Definition at line 82 of file OVR_ThreadCommandQueue.h.

void OVR::ThreadCommand::PopBuffer::InitFromBuffer ( void *  data)

Definition at line 152 of file OVR_ThreadCommandQueue.cpp.

bool OVR::ThreadCommand::PopBuffer::NeedsWait ( ) const
inline

Definition at line 84 of file OVR_ThreadCommandQueue.h.

ThreadCommand* OVR::ThreadCommand::PopBuffer::toCommand ( ) const
inlineprivate

Definition at line 74 of file OVR_ThreadCommandQueue.h.

Field Documentation

union { ... }
UPInt OVR::ThreadCommand::PopBuffer::Size
private

Definition at line 68 of file OVR_ThreadCommandQueue.h.


The documentation for this class was generated from the following files: