Jive reference manual
List of all members | Public Types | Public Member Functions | Protected Member Functions
jem::gl::GfxContext Class Referenceabstract

#include <jem/gl/GfxContext.h>

Inheritance diagram for jem::gl::GfxContext:
Inheritance graph

Public Types

typedef void(* Callback) (GfxContext &gtx, const Ref< Object > &obj)
 

Public Member Functions

void postRedraw (const Ref< GfxNode > &node)
 
void postFastRedraw (const Ref< GfxNode > &node)
 
virtual void postCallback (Callback cb, const Ref< Object > &obj, const Time &tm)=0
 
virtual void repostCallback (Callback cb, const Ref< Object > &obj, const Time &tm)=0
 
virtual void cancelCallback (Callback cb, const Ref< Object > &obj)=0
 
virtual void cancelCallbacks (Callback cb)=0
 
virtual GLuint getTexture (const void *addr) const =0
 
virtual GLuint newTexture (const void *addr, const Ref< Object > &owner=NIL)=0
 
virtual void delTexture (const void *addr)=0
 
virtual void swapBuffers ()=0
 
virtual Vertex2i getMousePos () const =0
 
virtual Size2i getWindowSize () const =0
 
virtual int getActionID () const =0
 

Protected Member Functions

 GfxContext ()
 
virtual ~GfxContext ()
 
virtual void postRedraw_ (const Ref< GfxNode > &root)=0
 
virtual void postFastRedraw_ (const Ref< GfxNode > &root)=0
 

Member Typedef Documentation

typedef void(* jem::gl::GfxContext::Callback) (GfxContext &gtx, const Ref< Object > &obj)

Constructor & Destructor Documentation

jem::gl::GfxContext::GfxContext ( )
protected
virtual jem::gl::GfxContext::~GfxContext ( )
protectedvirtual

Member Function Documentation

void jem::gl::GfxContext::postRedraw ( const Ref< GfxNode > &  node)
void jem::gl::GfxContext::postFastRedraw ( const Ref< GfxNode > &  node)
virtual void jem::gl::GfxContext::postCallback ( Callback  cb,
const Ref< Object > &  obj,
const Time tm 
)
pure virtual

Implemented in jem::gl::OSContext.

virtual void jem::gl::GfxContext::repostCallback ( Callback  cb,
const Ref< Object > &  obj,
const Time tm 
)
pure virtual

Implemented in jem::gl::OSContext.

virtual void jem::gl::GfxContext::cancelCallback ( Callback  cb,
const Ref< Object > &  obj 
)
pure virtual

Implemented in jem::gl::OSContext.

virtual void jem::gl::GfxContext::cancelCallbacks ( Callback  cb)
pure virtual

Implemented in jem::gl::OSContext.

virtual GLuint jem::gl::GfxContext::getTexture ( const void *  addr) const
pure virtual
virtual GLuint jem::gl::GfxContext::newTexture ( const void *  addr,
const Ref< Object > &  owner = NIL 
)
pure virtual
virtual void jem::gl::GfxContext::delTexture ( const void *  addr)
pure virtual
virtual void jem::gl::GfxContext::swapBuffers ( )
pure virtual

Implemented in jem::gl::OSContext.

virtual Vertex2i jem::gl::GfxContext::getMousePos ( ) const
pure virtual
virtual Size2i jem::gl::GfxContext::getWindowSize ( ) const
pure virtual

Implemented in jem::gl::OSContext.

virtual int jem::gl::GfxContext::getActionID ( ) const
pure virtual

Implemented in jem::gl::OSContext.

virtual void jem::gl::GfxContext::postRedraw_ ( const Ref< GfxNode > &  root)
protectedpure virtual

Implemented in jem::gl::OSContext.

virtual void jem::gl::GfxContext::postFastRedraw_ ( const Ref< GfxNode > &  root)
protectedpure virtual

Implemented in jem::gl::OSContext.