Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

wglGraphicsStateGuardian Class Reference

#include <wglGraphicsStateGuardian.h>

Inheritance diagram for wglGraphicsStateGuardian:

GLGraphicsStateGuardian GraphicsStateGuardian GraphicsStateGuardianBase TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

 wglGraphicsStateGuardian (const FrameBufferProperties &properties, int pfnum)
virtual ~wglGraphicsStateGuardian ()
INLINE int get_pfnum () const
INLINE HGLRC get_context (HDC hdc)
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Private Member Functions

void make_context (HDC hdc)

Private Attributes

bool _made_context
int _pfnum
HGLRC _context

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

wglGraphicsStateGuardian::wglGraphicsStateGuardian const FrameBufferProperties properties,
int  pfnum
 

Definition at line 30 of file wglGraphicsStateGuardian.cxx.

References _context, _made_context, and NULL.

wglGraphicsStateGuardian::~wglGraphicsStateGuardian  )  [virtual]
 

Definition at line 45 of file wglGraphicsStateGuardian.cxx.

References _context, and NULL.


Member Function Documentation

virtual TypeHandle wglGraphicsStateGuardian::force_init_type void   )  [inline, virtual]
 

Reimplemented from GLGraphicsStateGuardian.

Definition at line 58 of file wglGraphicsStateGuardian.h.

References get_class_type(), and init_type().

TypeHandle wglGraphicsStateGuardian::get_class_type void   )  [inline, static]
 

Reimplemented from GLGraphicsStateGuardian.

Definition at line 47 of file wglGraphicsStateGuardian.h.

References _type_handle.

Referenced by force_init_type(), and get_type().

INLINE HGLRC wglGraphicsStateGuardian::get_context HDC  hdc  ) 
 

Referenced by wglGraphicsWindow::make_current().

INLINE int wglGraphicsStateGuardian::get_pfnum  )  const
 

Referenced by wglGraphicsWindow::open_window().

virtual TypeHandle wglGraphicsStateGuardian::get_type void   )  const [inline, virtual]
 

Reimplemented from GLGraphicsStateGuardian.

Definition at line 55 of file wglGraphicsStateGuardian.h.

References get_class_type().

void wglGraphicsStateGuardian::init_type void   )  [inline, static]
 

Reimplemented from GLGraphicsStateGuardian.

Definition at line 50 of file wglGraphicsStateGuardian.h.

References _type_handle, GLGraphicsStateGuardian::get_class_type(), GLGraphicsStateGuardian::init_type(), and register_type().

Referenced by force_init_type(), and init_libwgldisplay().

void wglGraphicsStateGuardian::make_context HDC  hdc  )  [private]
 

Definition at line 60 of file wglGraphicsStateGuardian.cxx.

References _context, _made_context, and NULL.


Member Data Documentation

HGLRC wglGraphicsStateGuardian::_context [private]
 

Definition at line 44 of file wglGraphicsStateGuardian.h.

Referenced by make_context(), wglGraphicsStateGuardian(), and ~wglGraphicsStateGuardian().

bool wglGraphicsStateGuardian::_made_context [private]
 

Definition at line 42 of file wglGraphicsStateGuardian.h.

Referenced by make_context(), and wglGraphicsStateGuardian().

int wglGraphicsStateGuardian::_pfnum [private]
 

Definition at line 43 of file wglGraphicsStateGuardian.h.

TypeHandle wglGraphicsStateGuardian::_type_handle [static, private]
 

Reimplemented from GLGraphicsStateGuardian.

Definition at line 22 of file wglGraphicsStateGuardian.cxx.

Referenced by get_class_type(), and init_type().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:14:04 2003 for Panda by doxygen1.3