Castor3D
..
|
Platform independant window handle implementation. More...
Public Member Functions | |
C3D_API | WindowHandle () |
Constructor. More... | |
C3D_API | WindowHandle (IWindowHandleSPtr p_pHandle) |
Constructor. More... | |
C3D_API | WindowHandle (WindowHandle const &p_copy) |
Copy constructor. More... | |
C3D_API | WindowHandle (WindowHandle &&p_copy) |
Move constructor. More... | |
C3D_API WindowHandle & | operator= (WindowHandle const &p_copy) |
Copy assignment operator. More... | |
C3D_API WindowHandle & | operator= (WindowHandle &&p_copy) |
Move assignment operator. More... | |
virtual C3D_API | ~WindowHandle () |
Destructor. More... | |
C3D_API | operator bool () |
bool cast operator More... | |
template<class T > | |
std::shared_ptr< T > | GetInternal () const |
Retrieves the window handle, casted in the wanted format (HWND, GLXDrawable, ...) More... | |
Platform independant window handle implementation.
Implémentation d'un handle de fenêtre, indépendant de l'OS
C3D_API Castor3D::WindowHandle::WindowHandle | ( | ) |
Constructor.
C3D_API Castor3D::WindowHandle::WindowHandle | ( | IWindowHandleSPtr | p_pHandle | ) |
Constructor.
[in] | p_pHandle | The allocated handle |
C3D_API Castor3D::WindowHandle::WindowHandle | ( | WindowHandle const & | p_copy | ) |
Copy constructor.
[in] | p_copy | The object to copy |
C3D_API Castor3D::WindowHandle::WindowHandle | ( | WindowHandle && | p_copy | ) |
Move constructor.
[in] | p_copy | The object to move |
|
virtual |
Destructor.
|
inline |
Retrieves the window handle, casted in the wanted format (HWND, GLXDrawable, ...)
C3D_API Castor3D::WindowHandle::operator bool | ( | ) |
bool cast operator
C3D_API WindowHandle& Castor3D::WindowHandle::operator= | ( | WindowHandle const & | p_copy | ) |
Copy assignment operator.
[in] | p_copy | The object to copy |
C3D_API WindowHandle& Castor3D::WindowHandle::operator= | ( | WindowHandle && | p_copy | ) |
Move assignment operator.
[in] | p_copy | The object to move |