queue of requests More...
#include <renderable.h>
Public Member Functions | |
virtual | ~RenderQueue (void) throw () |
virtual poly_request_t * | grabRequestSlot (void)=0 throw () |
grabs the next available request slot. | |
virtual poly_request_t * | popRequest (void)=0 throw () |
pops a request off the queue. | |
Static Public Member Functions | |
static smart_ptr< RenderQueue > | create (IN int nSlots) |
queue of requests
Definition at line 98 of file renderable.h.
glut::RenderQueue::~RenderQueue | ( | void | ) | throw () [virtual] |
Definition at line 40 of file renderable.cpp.
virtual poly_request_t* glut::RenderQueue::grabRequestSlot | ( | void | ) | throw () [pure virtual] |
grabs the next available request slot.
Returns NULL if there are no more slots available. This effectively pushes a new request slot on the queue, and the client can fill it in using the poly_request_t pointer.
virtual poly_request_t* glut::RenderQueue::popRequest | ( | void | ) | throw () [pure virtual] |
pops a request off the queue.
Returns NULL if there are no more requests (slots) in the queue.
smart_ptr< RenderQueue > glut::RenderQueue::create | ( | IN int | nSlots | ) | [static] |
Definition at line 233 of file renderable.cpp.