HDK
|
#include <WindowWrapper.h>
Public Member Functions | |
virtual | ~WindowWrapper () |
ExternalWindowHandle | externalHandle () const |
Return "external" handle. More... | |
InternalWindowHandle | internalHandle () const |
Return "internal" handle. More... | |
bool | isValid () const |
void | release () |
Release resources stored in wrapper. More... | |
Static Public Member Functions | |
static WindowWrapperPtr | create (ExternalWindowHandle externalHandle={}, InternalWindowHandle internalHandle={}, DisplayHandle display={}) |
Create a new WindowWrapper. More... | |
Protected Member Functions | |
WindowWrapper (ExternalWindowHandle externalHandle, InternalWindowHandle internalHandle, DisplayHandle display) | |
Protected Attributes | |
ExternalWindowHandle | _externalHandle |
InternalWindowHandle | _internalHandle |
Generic wrapper for encapsulating a "window" construct
Each supported platform will have specific storage and management logic.
Definition at line 61 of file WindowWrapper.h.
|
virtual |
|
protected |
|
static |
Create a new WindowWrapper.
|
inline |
Return "external" handle.
Definition at line 73 of file WindowWrapper.h.
|
inline |
Return "internal" handle.
Definition at line 79 of file WindowWrapper.h.
|
inline |
Check that there is a valid OS handle set. It is sufficient to just check the internal handle.
Definition at line 86 of file WindowWrapper.h.
void WindowWrapper::release | ( | ) |
Release resources stored in wrapper.
|
protected |
Definition at line 108 of file WindowWrapper.h.
|
protected |
Definition at line 109 of file WindowWrapper.h.