Maze Builder Docs 8.10.23
Loading...
Searching...
No Matches
mazes::runtime_app Class Referencefinal

The main application class for the maze builder, responsible for managing the runtime stack and resources. More...

#include <runtime_app.h>

Inheritance diagram for mazes::runtime_app:
[legend]
Collaboration diagram for mazes::runtime_app:
[legend]

Classes

struct  context
 struct representing the context passed to states in the runtime_app stack More...

Public Member Functions

std::string_view apply (std::string_view unformatted_args) noexcept override
 Applies the given unformatted string view to the runtime application.
std::string get_finished_text () noexcept
 Returns the last generated grid used by apply(), if available.
void dump_logs () noexcept
Public Member Functions inherited from mazes::singleton_base< runtime_app >
 singleton_base (const singleton_base &)=delete
singleton_base & operator= (const singleton_base &)=delete

Friends

class singleton_base< runtime_app >

Additional Inherited Members

Static Public Member Functions inherited from mazes::singleton_base< runtime_app >
static std::shared_ptr< runtime_app > & instance (Args &&...args) noexcept

Detailed Description

The main application class for the maze builder, responsible for managing the runtime stack and resources.

Member Function Documentation

◆ apply()

std::string_view mazes::runtime_app::apply ( std::string_view unformatted_args)
nodiscardoverridevirtualnoexcept

Applies the given unformatted string view to the runtime application.

Parameters
unformatted_argsThe unformatted string view to be processed
Returns
A string view representing the result of the application

Implements mazes::app_contract.


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