Panda3D
Public Member Functions | Static Public Member Functions | Protected Member Functions

WindowHandle::OSHandle Class Reference

Inheritance diagram for WindowHandle::OSHandle:
TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

virtual TypeHandle force_init_type ()
virtual size_t get_int_handle () const
 Returns the OS-specific handle converted to an integer, if this is possible for the particular representation.
virtual TypeHandle get_type () const
virtual void output (ostream &out) const

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.

Protected Member Functions

 OSHandle ()
 The base class of OSHandle doesn't have a usable constructor.

Detailed Description

Definition at line 69 of file windowHandle.h.


Constructor & Destructor Documentation

WindowHandle::OSHandle::OSHandle ( ) [inline, protected]

The base class of OSHandle doesn't have a usable constructor.

Always construct an instance of some specialized type, that stores the appropriate kind of window handle for each OS.

Definition at line 66 of file windowHandle.I.


Member Function Documentation

size_t WindowHandle::OSHandle::get_int_handle ( ) const [virtual]

Returns the OS-specific handle converted to an integer, if this is possible for the particular representation.

Returns 0 if it is not.

Definition at line 136 of file windowHandle.cxx.

static void WindowHandle::OSHandle::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 TypedReferenceCount.

Definition at line 82 of file windowHandle.h.

References TypedReferenceCount::init_type().


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