Castor3D  ..
Public Member Functions | List of all members
Castor3D::WindowHandle Class Reference

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 WindowHandleoperator= (WindowHandle const &p_copy)
 Copy assignment operator. More...
 
C3D_API WindowHandleoperator= (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...
 

Detailed Description

Platform independant window handle implementation.

Author
Sylvain DOREMUS
Version
0.1
Date
09/01/2012

Implémentation d'un handle de fenêtre, indépendant de l'OS

Constructor & Destructor Documentation

◆ WindowHandle() [1/4]

C3D_API Castor3D::WindowHandle::WindowHandle ( )

Constructor.

◆ WindowHandle() [2/4]

C3D_API Castor3D::WindowHandle::WindowHandle ( IWindowHandleSPtr  p_pHandle)

Constructor.

Parameters
[in]p_pHandleThe allocated handle

◆ WindowHandle() [3/4]

C3D_API Castor3D::WindowHandle::WindowHandle ( WindowHandle const &  p_copy)

Copy constructor.

Parameters
[in]p_copyThe object to copy

◆ WindowHandle() [4/4]

C3D_API Castor3D::WindowHandle::WindowHandle ( WindowHandle &&  p_copy)

Move constructor.

Parameters
[in]p_copyThe object to move

◆ ~WindowHandle()

virtual C3D_API Castor3D::WindowHandle::~WindowHandle ( )
virtual

Destructor.

Member Function Documentation

◆ GetInternal()

template<class T >
std::shared_ptr< T > Castor3D::WindowHandle::GetInternal ( ) const
inline

Retrieves the window handle, casted in the wanted format (HWND, GLXDrawable, ...)

Returns
The window handle

◆ operator bool()

C3D_API Castor3D::WindowHandle::operator bool ( )

bool cast operator

◆ operator=() [1/2]

C3D_API WindowHandle& Castor3D::WindowHandle::operator= ( WindowHandle const &  p_copy)

Copy assignment operator.

Parameters
[in]p_copyThe object to copy
Returns
A reference to this object

◆ operator=() [2/2]

C3D_API WindowHandle& Castor3D::WindowHandle::operator= ( WindowHandle &&  p_copy)

Move assignment operator.

Parameters
[in]p_copyThe object to move
Returns
A reference to this object

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