PS2GL
OpenGL*-like API for the PS2
Loading...
Searching...
No Matches
CDListCmdBlock Class Reference
+ Collaboration diagram for CDListCmdBlock:

Public Member Functions

template<class CmdType >
bool CanFit (CmdType cmd)
 
template<class CmdType >
void operator+= (CmdType cmd)
 
CDListCmdGetFirstCmd ()
 
void SetNextBlock (CDListCmdBlock *next)
 
CDListCmdBlockGetNextBlock () const
 

Private Attributes

char Memory [ByteSize]
 
char * MemCursor
 
int BytesLeft
 
CDListCmdBlockNextBlock
 

Static Private Attributes

static const int ByteSize = 2048
 

Detailed Description

Definition at line 103 of file dlist.h.

Constructor & Destructor Documentation

◆ CDListCmdBlock()

CDListCmdBlock::CDListCmdBlock ( )
inline

Definition at line 111 of file dlist.h.

◆ ~CDListCmdBlock()

CDListCmdBlock::~CDListCmdBlock ( )
inline

Definition at line 119 of file dlist.h.

Member Function Documentation

◆ CanFit()

template<class CmdType >
bool CDListCmdBlock::CanFit ( CmdType  cmd)
inline

Definition at line 126 of file dlist.h.

◆ operator+=()

template<class CmdType >
void CDListCmdBlock::operator+= ( CmdType  cmd)
inline

Definition at line 133 of file dlist.h.

◆ GetFirstCmd()

CDListCmd * CDListCmdBlock::GetFirstCmd ( )
inline

Definition at line 140 of file dlist.h.

◆ SetNextBlock()

void CDListCmdBlock::SetNextBlock ( CDListCmdBlock next)
inline

Definition at line 142 of file dlist.h.

◆ GetNextBlock()

CDListCmdBlock * CDListCmdBlock::GetNextBlock ( ) const
inline

Definition at line 143 of file dlist.h.

Field Documentation

◆ ByteSize

const int CDListCmdBlock::ByteSize = 2048
staticprivate

Definition at line 104 of file dlist.h.

◆ Memory

char CDListCmdBlock::Memory[ByteSize]
private

Definition at line 105 of file dlist.h.

◆ MemCursor

char* CDListCmdBlock::MemCursor
private

Definition at line 106 of file dlist.h.

◆ BytesLeft

int CDListCmdBlock::BytesLeft
private

Definition at line 107 of file dlist.h.

◆ NextBlock

CDListCmdBlock* CDListCmdBlock::NextBlock
private

Definition at line 108 of file dlist.h.


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