morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::client::Source::Transport Struct Reference

What a concrete source opens with: the bridge's backend and the exchange the UI service is reached by. More...

#include <source.hpp>

Public Attributes

std::unique_ptr< backend::detail::IBackend > backend
 The backend; owned by the bridge from here on.
ui::Exchange exchange
 The exchange; it may borrow the backend, which the source guards.
bool serverEvents = false
 Whether the server behind the transport sends events and handles watch: true for a server, false in process.

Detailed Description

What a concrete source opens with: the bridge's backend and the exchange the UI service is reached by.

Definition at line 180 of file source.hpp.

Member Data Documentation

◆ backend

std::unique_ptr<backend::detail::IBackend> morph::client::Source::Transport::backend

The backend; owned by the bridge from here on.

Definition at line 182 of file source.hpp.

◆ exchange

ui::Exchange morph::client::Source::Transport::exchange

The exchange; it may borrow the backend, which the source guards.

Definition at line 184 of file source.hpp.

◆ serverEvents

bool morph::client::Source::Transport::serverEvents = false

Whether the server behind the transport sends events and handles watch: true for a server, false in process.

Definition at line 187 of file source.hpp.


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