Manages the initialization and termination of the GLFW window system. More...
#include <window.hpp>
Public Member Functions | |
~WindowSystem () noexcept | |
Destructor that terminates the GLFW library if necessary. | |
WindowSystem & | operator= (WindowSystem &) |
WindowSystem (WindowSystem &&other) noexcept | |
Move constructor for WindowSystem . | |
WindowSystem () | |
Default constructor for WindowSystem . | |
Static Public Member Functions | |
static std::unique_ptr< WindowSystem > | make () |
Creates and initializes the WindowSystem. | |
Manages the initialization and termination of the GLFW window system.
The WindowSystem
class is responsible for setting up the GLFW library, and terminating it when no longer needed. It ensures the proper management of the global windowing system.
Definition at line 42 of file window.hpp.
|
noexcept |
Move constructor for WindowSystem
.
This constructor transfers ownership of resources from another WindowSystem
object.
other | The object to move from. |
|
static |
Creates and initializes the WindowSystem.
WindowSystem
object, or nullptr
if initialization fails.
|
inline |
Definition at line 54 of file window.hpp.