Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
gte::WindowSystem Class Reference

#include <GteWindowSystem.h>

Inheritance diagram for gte::WindowSystem:
Inheritance graph
[legend]

Public Types

enum  { DEFAULT_ACTION = 0, NO_IDLE_LOOP = 1 }
 
- Public Types inherited from gte::MSWWindowSystem
enum  { DEFAULT_ACTION = 0, NO_IDLE_LOOP = 1 }
 

Public Member Functions

template<typename WindowType >
std::shared_ptr< WindowType > Create (typename WindowType::Parameters &parameters)
 
bool Create (_XDisplay *&display, __GLXcontextRec *&context, unsigned long &window)
 
template<typename WindowType >
void Destroy (std::shared_ptr< WindowType > &window)
 
template<typename WindowType >
void MessagePump (std::shared_ptr< WindowType > const &window, unsigned int flags)
 
 WindowSystem ()
 
 WindowSystem ()
 
 WindowSystem ()
 
virtual ~WindowSystem ()
 
virtual ~WindowSystem ()
 
 ~WindowSystem ()
 
- Public Member Functions inherited from gte::MSWWindowSystem
template<typename WindowType >
std::shared_ptr< WindowType > Create (typename WindowType::Parameters &parameters)
 
template<typename WindowType >
void Destroy (std::shared_ptr< WindowType > &window)
 
template<typename WindowType >
void MessagePump (std::shared_ptr< WindowType > const &window, unsigned int flags)
 
virtual ~MSWWindowSystem ()
 

Private Member Functions

virtual void CreateEngineAndProgramFactory (MSWWindow::Parameters &parameters) override
 
virtual void CreateEngineAndProgramFactory (MSWWindow::Parameters &parameters) override
 
void CreateFrom (Window::Parameters &parameters)
 

Private Attributes

_XDisplay * mDisplay
 
char const * mDisplayName
 
std::map< unsigned long, std::shared_ptr< Window > > mWindowMap
 

Additional Inherited Members

- Protected Member Functions inherited from gte::MSWWindowSystem
void CreateFrom (MSWWindow::Parameters &parameters)
 
 MSWWindowSystem ()
 
- Static Protected Member Functions inherited from gte::MSWWindowSystem
static void Extract (LPARAM lParam, int &x, int &y)
 
static void Extract (WPARAM wParam, int &x, int &y)
 
static bool GetWindowRectangle (int xClientSize, int yClientSize, DWORD style, RECT &windowRectangle)
 
static LRESULT CALLBACK WindowProcedure (HWND handle, UINT message, WPARAM wParam, LPARAM lParam)
 
- Protected Attributes inherited from gte::MSWWindowSystem
ATOM mAtom
 
std::map< HWND, std::shared_ptr< MSWWindow > > mHandleMap
 
wchar_t const * mWindowClassName
 

Detailed Description

Definition at line 20 of file GLX/GteWindowSystem.h.

Member Enumeration Documentation

anonymous enum
Enumerator
DEFAULT_ACTION 
NO_IDLE_LOOP 

Definition at line 38 of file GLX/GteWindowSystem.h.

Constructor & Destructor Documentation

WindowSystem::~WindowSystem ( )

Definition at line 19 of file GLX/GteWindowSystem.cpp.

WindowSystem::WindowSystem ( )

Definition at line 24 of file GLX/GteWindowSystem.cpp.

virtual gte::WindowSystem::~WindowSystem ( )
virtual
gte::WindowSystem::WindowSystem ( )
virtual gte::WindowSystem::~WindowSystem ( )
virtual
gte::WindowSystem::WindowSystem ( )

Member Function Documentation

template<typename WindowType >
std::shared_ptr< WindowType > gte::WindowSystem::Create ( typename WindowType::Parameters &  parameters)

Definition at line 59 of file GLX/GteWindowSystem.h.

bool WindowSystem::Create ( _XDisplay *&  display,
__GLXcontextRec *&  context,
unsigned long &  window 
)

Definition at line 51 of file GLX/GteWindowSystem.cpp.

virtual void gte::WindowSystem::CreateEngineAndProgramFactory ( MSWWindow::Parameters parameters)
overrideprivatevirtual

Implements gte::MSWWindowSystem.

void WindowSystem::CreateEngineAndProgramFactory ( MSWWindow::Parameters parameters)
overrideprivatevirtual

Implements gte::MSWWindowSystem.

Definition at line 25 of file MSW/DX11/GteWindowSystem.cpp.

void WindowSystem::CreateFrom ( Window::Parameters parameters)
private

Definition at line 156 of file GLX/GteWindowSystem.cpp.

template<typename WindowType >
void gte::WindowSystem::Destroy ( std::shared_ptr< WindowType > &  window)

Definition at line 77 of file GLX/GteWindowSystem.h.

template<typename WindowType >
void gte::WindowSystem::MessagePump ( std::shared_ptr< WindowType > const &  window,
unsigned int  flags 
)

Definition at line 88 of file GLX/GteWindowSystem.h.

Member Data Documentation

_XDisplay* gte::WindowSystem::mDisplay
private

Definition at line 52 of file GLX/GteWindowSystem.h.

char const* gte::WindowSystem::mDisplayName
private

Definition at line 51 of file GLX/GteWindowSystem.h.

std::map<unsigned long, std::shared_ptr<Window> > gte::WindowSystem::mWindowMap
private

Definition at line 53 of file GLX/GteWindowSystem.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:07