Faro Engine 0.0.0.b519570 (main)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Faro::Window Class Referenceabstract

#include <Window.hpp>

Inheritance diagram for Faro::Window:
Faro::IObject

Public Member Functions

virtual ~Window ()=default
 
virtual void SetTitle (String title)=0
 
virtual void SetWindowState (WindowState info)=0
 
virtual WindowState GetWindowState ()=0
 
virtual void Init ()
 Run the initialization logic of this object. Should be overriden by deriving classes.
 
virtual void Destroy ()
 Run the destruction logic of this class. This also frees its memory.
 

Public Attributes

Broadcast< WindowStateonWindowStateChanged
 
Broadcast onWindowClose
 
Broadcast< bool & > onWindowCloseRequest
 

Constructor & Destructor Documentation

◆ ~Window()

virtual Faro::Window::~Window ( )
virtualdefault

Member Function Documentation

◆ Destroy()

void Faro::IObject::Destroy ( )
virtualinherited

Run the destruction logic of this class. This also frees its memory.

Warning
When overriding, the super call must be performed last

Reimplemented in Faro::DataStream, Faro::DataStreamCopy, Faro::GraphicsBufferContainer, Faro::GraphicsSwapchain, Faro::GraphicsBufferVK, Faro::GraphicsCommandListVK, Faro::GraphicsFenceVK, Faro::GraphicsPipelineVK, Faro::GraphicsSemaphoreVK, and Faro::GraphicsSwapchainVK.

◆ GetWindowState()

virtual WindowState Faro::Window::GetWindowState ( )
pure virtual

◆ Init()

void Faro::IObject::Init ( )
virtualinherited

◆ SetTitle()

virtual void Faro::Window::SetTitle ( String  title)
pure virtual

◆ SetWindowState()

virtual void Faro::Window::SetWindowState ( WindowState  info)
pure virtual

Member Data Documentation

◆ onWindowClose

Broadcast Faro::Window::onWindowClose

◆ onWindowCloseRequest

Broadcast<bool&> Faro::Window::onWindowCloseRequest

◆ onWindowStateChanged

Broadcast<WindowState> Faro::Window::onWindowStateChanged

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