morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::model::ActionTraits< Action > Struct Template Reference

Traits specialisation that maps an action type to its id, JSON codec, and result type. More...

Detailed Description

template<typename Action>
struct morph::model::ActionTraits< Action >

Traits specialisation that maps an action type to its id, JSON codec, and result type.

Users must specialise this (or use BRIDGE_REGISTER_ACTION).

Template Parameters
ActionConcrete action type.

Definition at line 48 of file registry.hpp.


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