Application context.
More...
#include <context.hpp>
|
|
constexpr | context (const context &) noexcept=delete |
| | Deleted copy constructor.
|
|
constexpr | context (context &&) noexcept=delete |
| | Deleted move constructor.
|
|
constexpr auto | operator= (const context &) noexcept -> context &=delete |
| | Deleted copy assignment operator.
|
|
constexpr auto | operator= (context &&) noexcept -> context &=delete |
| | Deleted move assignment operator.
|
|
| ~context () |
| | Destructor.
|
| auto | metadata () const -> const app::metadata & |
| | Returns a reference to the metadata subsystem.
|
| auto | metadata () -> app::metadata & |
| | Returns a reference to the metadata subsystem.
|
| auto | clock () const -> const app::clock & |
| | Returns a reference to the clock subsystem.
|
| auto | clock () -> app::clock & |
| | Returns a reference to the clock subsystem.
|
| auto | window () const -> const app::window & |
| | Returns a reference to the window subsystem.
|
| auto | window () -> app::window & |
| | Returns a reference to the window subsystem.
|
| auto | world () const -> const ecs::world & |
| | Returns a reference to the ECS subsystem.
|
| auto | world () -> ecs::world & |
| | Returns a reference to the ECS subsystem.
|
◆ metadata() [1/2]
| auto stellarlib::app::context::metadata |
( |
| ) |
const -> const app::metadata & |
|
nodiscard |
Returns a reference to the metadata subsystem.
- Returns
- Reference to the metadata subsystem
- Examples
- examples/healthcheck.cpp.
◆ metadata() [2/2]
Returns a reference to the metadata subsystem.
- Returns
- Reference to the metadata subsystem
◆ clock() [1/2]
| auto stellarlib::app::context::clock |
( |
| ) |
const -> const app::clock & |
|
nodiscard |
◆ clock() [2/2]
| auto stellarlib::app::context::clock |
( |
| ) |
-> app::clock & |
|
nodiscard |
Returns a reference to the clock subsystem.
- Returns
- Reference to the clock subsystem
◆ window() [1/2]
| auto stellarlib::app::context::window |
( |
| ) |
const -> const app::window & |
|
nodiscard |
◆ window() [2/2]
| auto stellarlib::app::context::window |
( |
| ) |
-> app::window & |
|
nodiscard |
Returns a reference to the window subsystem.
- Returns
- Reference to the window subsystem
◆ world() [1/2]
| auto stellarlib::app::context::world |
( |
| ) |
const -> const ecs::world & |
|
nodiscard |
Returns a reference to the ECS subsystem.
- Returns
- Reference to the ECS subsystem
◆ world() [2/2]
| auto stellarlib::app::context::world |
( |
| ) |
-> ecs::world & |
|
nodiscard |
Returns a reference to the ECS subsystem.
- Returns
- Reference to the ECS subsystem
The documentation for this class was generated from the following file: