Maze Builder Docs 8.2.1
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_sv) noexcept override
 Applies the given unformatted string view to the runtime application.
 
const grid_interfaceget_last_grid () const noexcept
 Returns the last generated grid used by apply(), if available.
 
- Public Member Functions inherited from mazes::app_contract
- Public Member Functions inherited from mazes::singleton_base< runtime_app >
 singleton_base (const singleton_base &)=delete
 
 singleton_base (singleton_base &&)=delete
 
singleton_baseoperator= (const singleton_base &)=delete
 
singleton_baseoperator= (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
 
- Protected Member Functions inherited from mazes::singleton_base< runtime_app >

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_sv)
nodiscardoverridevirtualnoexcept

Applies the given unformatted string view to the runtime application.

Parameters
unformatted_svThe 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: