|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
An application the client links and runs in-process. More...
#include <source.hpp>
Public Attributes | |
| std::string | name |
| The name --app selects it by. | |
| std::function< std::expected< std::shared_ptr< ui::ServedBundle const >, ui::Refusal >()> | bundle |
| Builds its bundle: the same function its server calls. | |
| std::function< void(LocalSetup const &)> | setUp |
| Run once before the first model call, with the client's options; empty for none. | |
| std::function< std::shared_ptr< session::IAuthorizer >()> | serverAuthorizer |
| The authorizer the application's own server checks requests with, for an in-process server to check them the same way; empty for one that lets every request through. Only a test's simulated server calls it. | |
An application the client links and runs in-process.
Definition at line 46 of file source.hpp.
| std::string morph::client::LocalApp::name |
The name --app selects it by.
Definition at line 48 of file source.hpp.
| std::function<std::expected<std::shared_ptr<ui::ServedBundle const>, ui::Refusal>()> morph::client::LocalApp::bundle |
Builds its bundle: the same function its server calls.
Definition at line 50 of file source.hpp.
| std::function<void(LocalSetup const&)> morph::client::LocalApp::setUp |
Run once before the first model call, with the client's options; empty for none.
Definition at line 52 of file source.hpp.
| std::function<std::shared_ptr<session::IAuthorizer>()> morph::client::LocalApp::serverAuthorizer |
The authorizer the application's own server checks requests with, for an in-process server to check them the same way; empty for one that lets every request through. Only a test's simulated server calls it.
Definition at line 56 of file source.hpp.