|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Everything one view job reads. Immutable once the job starts. More...
#include <engine.hpp>
Public Attributes | |
| std::shared_ptr< RowSnapshot const > | snapshot |
| The rows. | |
| std::vector< ColumnInfo > | columns |
| The columns. | |
| Services | services |
| Services for this job alone (Services::forTask). | |
| std::vector< std::shared_ptr< KeyColumn const > > | keys |
| Key columns by column index; null when not built. | |
| std::vector< std::size_t > | needed |
| Columns whose keys the job needs. | |
| SortChain | sort |
| The sort chain. | |
| std::shared_ptr< CompiledFilter const > | filter |
| The compiled filter, or null. | |
| std::shared_ptr< std::vector< std::uint32_t > const > | cachedSorted |
| The full source's order for sort on snapshot, or null. | |
| std::vector< std::uint32_t > | previousView |
| The displayed view the change is computed against. | |
| std::shared_ptr< RowSnapshot const > | previousSnapshot |
| The snapshot previousView's rows index. | |
| bool | indicesStable = true |
| previousView's rows index snapshot directly. | |
| std::vector< std::uint32_t > | dirty |
| Rows whose cells changed since keys were built: their keys are rebuilt on copies, a repair merges them back, and the change reports those in both views as Changed. | |
| std::vector< std::uint32_t > | previousTrueView |
| Repair: the sorted, filtered order, without holds, that the dirty rows merge into. | |
| bool | repair = false |
| The job repairs updated rows rather than recomputing. | |
| bool | allChanged = false |
| Every surviving row may have new content (a reset). | |
| std::size_t | resetThreshold = 5000 |
| More operations than this make the change a reset. | |
Everything one view job reads. Immutable once the job starts.
Definition at line 220 of file engine.hpp.
| std::shared_ptr<RowSnapshot const> morph::table::detail::JobInput::snapshot |
The rows.
Definition at line 222 of file engine.hpp.
| std::vector<ColumnInfo> morph::table::detail::JobInput::columns |
The columns.
Definition at line 224 of file engine.hpp.
| Services morph::table::detail::JobInput::services |
Services for this job alone (Services::forTask).
Definition at line 226 of file engine.hpp.
| std::vector<std::shared_ptr<KeyColumn const> > morph::table::detail::JobInput::keys |
Key columns by column index; null when not built.
Definition at line 228 of file engine.hpp.
| std::vector<std::size_t> morph::table::detail::JobInput::needed |
Columns whose keys the job needs.
Definition at line 230 of file engine.hpp.
| SortChain morph::table::detail::JobInput::sort |
The sort chain.
Definition at line 232 of file engine.hpp.
| std::shared_ptr<CompiledFilter const> morph::table::detail::JobInput::filter |
The compiled filter, or null.
Definition at line 234 of file engine.hpp.
| std::shared_ptr<std::vector<std::uint32_t> const> morph::table::detail::JobInput::cachedSorted |
The full source's order for sort on snapshot, or null.
Definition at line 236 of file engine.hpp.
| std::vector<std::uint32_t> morph::table::detail::JobInput::previousView |
The displayed view the change is computed against.
Definition at line 238 of file engine.hpp.
| std::shared_ptr<RowSnapshot const> morph::table::detail::JobInput::previousSnapshot |
The snapshot previousView's rows index.
Definition at line 240 of file engine.hpp.
| bool morph::table::detail::JobInput::indicesStable = true |
previousView's rows index snapshot directly.
Definition at line 242 of file engine.hpp.
| std::vector<std::uint32_t> morph::table::detail::JobInput::dirty |
Rows whose cells changed since keys were built: their keys are rebuilt on copies, a repair merges them back, and the change reports those in both views as Changed.
Definition at line 246 of file engine.hpp.
| std::vector<std::uint32_t> morph::table::detail::JobInput::previousTrueView |
Repair: the sorted, filtered order, without holds, that the dirty rows merge into.
Definition at line 248 of file engine.hpp.
| bool morph::table::detail::JobInput::repair = false |
The job repairs updated rows rather than recomputing.
Definition at line 250 of file engine.hpp.
| bool morph::table::detail::JobInput::allChanged = false |
Every surviving row may have new content (a reset).
Definition at line 252 of file engine.hpp.
| std::size_t morph::table::detail::JobInput::resetThreshold = 5000 |
More operations than this make the change a reset.
Definition at line 254 of file engine.hpp.