Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

WorldStatePool::Request Class Reference

Inheritance diagram for WorldStatePool::Request:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 44 of file WorldStatePool.h.

Public Attributes

unsigned int bufUsed
 the entry index used
WorldState *& tgt
 reference to pointer, which is set to an element of the pool when the request goes through
WorldStateprev
 stores previous value at tgt so it can be restored upon release (needed to support recursive usage)
bool bl
 whether to block if a write is in progress, or use most recent "complete" entry
unsigned int depth
 supports recursive read requests
bool isRead
 true if instance is a read request

Protected Member Functions

 Request (WorldState *&target, bool block, bool wantRead)
 constructor, sets the WorldState point to be assigned, whether to block, and whether is an instance of ReadRequest
 Request (const Request &r)
 shallow copy constructor supported
Requestoperator= (const Request &r)
 shallow assignment supported


Constructor & Destructor Documentation

WorldStatePool::Request::Request ( WorldState *&  target,
bool  block,
bool  wantRead 
) [inline, protected]

constructor, sets the WorldState point to be assigned, whether to block, and whether is an instance of ReadRequest

wantRead is because we can't trust RTTI (i.e. dynamic_cast) to work correctly on Aperios :(

Definition at line 48 of file WorldStatePool.h.


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

Tekkotsu v3.0
Generated Fri May 11 20:09:03 2007 by Doxygen 1.4.7