Public Member Functions | Static Public Member Functions

glut::RenderQueue Class Reference

queue of requests More...

#include <renderable.h>

Inheritance diagram for glut::RenderQueue:
Inheritance graph

List of all members.

Public Member Functions

virtual ~RenderQueue (void) throw ()
virtual poly_request_tgrabRequestSlot (void)=0 throw ()
 grabs the next available request slot.
virtual poly_request_tpopRequest (void)=0 throw ()
 pops a request off the queue.

Static Public Member Functions

static smart_ptr< RenderQueuecreate (int nSlots)

Detailed Description

queue of requests

Definition at line 98 of file renderable.h.

Constructor & Destructor Documentation

glut::RenderQueue::~RenderQueue ( void   )  throw () [virtual]

Definition at line 40 of file renderable.cpp.

Member Function Documentation

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 ( int  nSlots  )  [static]

Definition at line 233 of file renderable.cpp.

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