Panda3D
Public Member Functions | Static Public Member Functions | Friends

WinGraphicsPipe Class Reference

This is an abstract base class for wglGraphicsPipe and wdxGraphicsPipe; that is, those graphics pipes that are specialized for working with Microsoft Windows. More...

#include "winGraphicsPipe.h"

Inheritance diagram for WinGraphicsPipe:
GraphicsPipe TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase wdxGraphicsPipe8 wdxGraphicsPipe9 wglGraphicsPipe

List of all members.

Public Member Functions

virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
virtual void lookup_cpu_data ()
 Looks up the detailed CPU information and stores it in _display_information, if supported by the OS.

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.

Friends

class WinGraphicsWindow

Detailed Description

This is an abstract base class for wglGraphicsPipe and wdxGraphicsPipe; that is, those graphics pipes that are specialized for working with Microsoft Windows.

There isn't much code here, since most of the fancy stuff is handled in WinGraphicsWindow. You could make a case that we don't even need a WinGraphicsPipe class at all, but it is provided mainly for completeness.

Definition at line 35 of file winGraphicsPipe.h.


Member Function Documentation

static void WinGraphicsPipe::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from GraphicsPipe.

Reimplemented in wdxGraphicsPipe8, wdxGraphicsPipe9, and wglGraphicsPipe.

Definition at line 51 of file winGraphicsPipe.h.

References GraphicsPipe::init_type().

Referenced by wglGraphicsPipe::init_type(), wdxGraphicsPipe9::init_type(), and wdxGraphicsPipe8::init_type().

void WinGraphicsPipe::lookup_cpu_data ( ) [virtual]

Looks up the detailed CPU information and stores it in _display_information, if supported by the OS.

This may take a second or two.

Reimplemented from GraphicsPipe.

Definition at line 894 of file winGraphicsPipe.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations