Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

WorldStatePool::ReadRequest Class Reference

#include <WorldStatePool.h>

Inheritance diagram for WorldStatePool::ReadRequest:

List of all members.


Detailed Description

retrieves the current WorldState entry, and through it's destructor, marks the entry available again when it goes out of scope

Definition at line 66 of file WorldStatePool.h.


Public Member Functions

 ReadRequest (WorldState *&target, bool block)
 stores the current completed WorldState into tgt, optionally blocking if an update is in progress (otherwise it returns the previous completed entry)
 ReadRequest (const ReadRequest &r)
 shallow copy constructor supported
ReadRequestoperator= (const ReadRequest &r)
 shallow assignment supported

Constructor & Destructor Documentation

WorldStatePool::ReadRequest::ReadRequest ( WorldState *&  target,
bool  block 
) [inline]

stores the current completed WorldState into tgt, optionally blocking if an update is in progress (otherwise it returns the previous completed entry)

Definition at line 69 of file WorldStatePool.h.

WorldStatePool::ReadRequest::ReadRequest ( const ReadRequest r  )  [inline]

shallow copy constructor supported

Definition at line 71 of file WorldStatePool.h.


Member Function Documentation

ReadRequest& WorldStatePool::ReadRequest::operator= ( const ReadRequest r  )  [inline]

shallow assignment supported

Definition at line 73 of file WorldStatePool.h.


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:49 2007 by Doxygen 1.5.4