|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
The matched and validated registries: what every read is answered from. More...
#include <effects.hpp>
Public Member Functions | |
| std::optional< std::vector< Effect > > | effectsOf (std::string_view actionId) const |
| See morph::effects::effectsOf. | |
| std::vector< ActionRecord > | recordsOf (std::string_view actionId) const |
| See morph::effects::recordsOf. | |
| record::RecordInfo const * | recordNamed (std::string_view name) const |
| See morph::effects::recordNamed. | |
| std::vector< std::string > | actionsHolding (std::string_view record) const |
| See morph::effects::actionsHolding. | |
Public Attributes | |
| std::vector< record::RecordInfo > | records |
| The records, one entry per registered type, in registration order. | |
| std::map< std::string, std::vector< Effect >, std::less<> > | effects |
| Each action's effects, by action id; actions that declared none are absent. | |
| std::map< std::string, std::vector< ActionRecord >, std::less<> > | actionRecords |
| Each action's records, by action id; actions whose result holds none are absent. | |
| std::map< std::string, std::vector< std::string >, std::less<> > | holding |
| The ids of the actions holding each record, by record name, in id order. | |
The matched and validated registries: what every read is answered from.
Definition at line 232 of file effects.hpp.
|
inlinenodiscard |
See morph::effects::effectsOf.
| actionId | The action's id. |
Definition at line 245 of file effects.hpp.
|
inlinenodiscard |
See morph::effects::recordsOf.
| actionId | The action's id. |
Definition at line 255 of file effects.hpp.
|
inlinenodiscard |
See morph::effects::recordNamed.
| name | A record's wire name. |
Definition at line 265 of file effects.hpp.
|
inlinenodiscard |
See morph::effects::actionsHolding.
| record | A record's wire name. |
Definition at line 273 of file effects.hpp.
| std::vector<record::RecordInfo> morph::effects::detail::Resolved::records |
The records, one entry per registered type, in registration order.
Definition at line 234 of file effects.hpp.
| std::map<std::string, std::vector<Effect>, std::less<> > morph::effects::detail::Resolved::effects |
Each action's effects, by action id; actions that declared none are absent.
Definition at line 236 of file effects.hpp.
| std::map<std::string, std::vector<ActionRecord>, std::less<> > morph::effects::detail::Resolved::actionRecords |
Each action's records, by action id; actions whose result holds none are absent.
Definition at line 238 of file effects.hpp.
| std::map<std::string, std::vector<std::string>, std::less<> > morph::effects::detail::Resolved::holding |
The ids of the actions holding each record, by record name, in id order.
Definition at line 240 of file effects.hpp.