NRE::Event::WindowCloseEvent Class Reference

Manage a window close event. More...

#include <NRE_WindowCloseEvent.hpp>

Public Member Functions

 WindowCloseEvent ()=delete
 
 WindowCloseEvent (Graphics::Id id)
 
 WindowCloseEvent (WindowCloseEvent const &e)=default
 
 WindowCloseEvent (WindowCloseEvent &&e)=default
 
 ~WindowCloseEvent ()=default
 
Graphics::WindowgetWindow ()
 
WindowCloseEventoperator= (WindowCloseEvent const &e)=default
 
WindowCloseEventoperator= (WindowCloseEvent &&e)=default
 

Detailed Description

Manage a window close event.

Constructor & Destructor Documentation

NRE::Event::WindowCloseEvent::WindowCloseEvent ( )
delete

Default constructor

NRE::Event::WindowCloseEvent::WindowCloseEvent ( Graphics::Id  id)

Construct the event from the if of the closing window

Parameters
idthe closing window
NRE::Event::WindowCloseEvent::WindowCloseEvent ( WindowCloseEvent const &  e)
default

Copy e into this

Parameters
ethe window close event to copy
NRE::Event::WindowCloseEvent::WindowCloseEvent ( WindowCloseEvent &&  e)
default

Move e into this

Parameters
ethe window close event to move
NRE::Event::WindowCloseEvent::~WindowCloseEvent ( )
default

WindowCloseEvent Deconstructor

Member Function Documentation

Graphics::Window& NRE::Event::WindowCloseEvent::getWindow ( )
Returns
the closing window
WindowCloseEvent& NRE::Event::WindowCloseEvent::operator= ( WindowCloseEvent const &  e)
default

Copy e into this

Parameters
ethe object to copy into this
Returns
the reference of himself
WindowCloseEvent& NRE::Event::WindowCloseEvent::operator= ( WindowCloseEvent &&  e)
default

Copy e into this

Parameters
ethe object to copy into this
Returns
the reference of himself

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