stellarlib 0.1.0
Loading...
Searching...
No Matches
stellarlib::app Namespace Reference

Application runtime. More...

Classes

class  clock
 Clock subsystem. More...
class  context
 Application context. More...
 Metadata subsystem. More...
class  scene
 Application scene interface. More...
class  window
 Window subsystem. More...

Typedefs

using info = context::info
 Main initialization descriptor.

Functions

auto init (const std::vector< std::string > &args) -> std::optional< info >
 External entry point (implement this for interactive applications).

Detailed Description

Application runtime.

Function Documentation

◆ init()

auto stellarlib::app::init ( const std::vector< std::string > & args) -> std::optional< info >
nodiscard

External entry point (implement this for interactive applications).

Returns
Initialization descriptor or std::nullopt to terminate the application
Examples
examples/healthcheck.cpp, and examples/scenes.cpp.