Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

WorldStatePool::ReadRequest Class Reference

#include <WorldStatePool.h>

Inheritance diagram for WorldStatePool::ReadRequest:

Inheritance graph
[legend]
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 65 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 68 of file WorldStatePool.h.

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

shallow copy constructor supported

Definition at line 70 of file WorldStatePool.h.


Member Function Documentation

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

shallow assignment supported

Definition at line 72 of file WorldStatePool.h.


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

Tekkotsu v3.0
Generated Wed Oct 4 00:05:20 2006 by Doxygen 1.4.7