Helper struct which holds lambda function for processing particular message types. More...
#include <handler.h>
Public Types | |
| using | message_t = M |
| alias type for message type for lambda | |
| using | payload_t = typename M::payload_t |
| alias type for message payload | |
Public Member Functions | |
| lambda_holder_t (F &&fn_) | |
| constructs lambda by forwarding arguments | |
Public Attributes | |
| F | fn |
| lambda function itself | |
Helper struct which holds lambda function for processing particular message types.
The whole purpose of the structure is to allow to deduce the lambda argument, i.e. message type.