DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
Helper struct to allow accessing elements within ArgTupleType
.
More...
Public Types | |
using | EventFuncPtrType = void(ReceiverType::*)(ModuleInstance *, std::tuple_element_t< Indices, ArgTupleType >...) const |
Signature of an event function. Pointer to ModuleInstance to be passed as parameter instead of reference to render function pointers storable in Util::CallableMemberWrapper (with nullptr as default argument) More... | |
using | EventFuncType = Util::CallableMemberWrapper< const ReceiverType, EventFuncPtrType > |
Type of a Util::CallableMemberWrapper to store the event. More... | |
Public Member Functions | |
constexpr | EventFuncTraits ()=default |
Helper struct to allow accessing elements within ArgTupleType
.
...Indices | Index sequence [0, number of elements within ArgTupleType ). |
using DynExp::DefaultEvent< ReceiverType, ArgTupleType >::EventFuncTraits< Indices >::EventFuncPtrType = void (ReceiverType::*)(ModuleInstance*, std::tuple_element_t<Indices, ArgTupleType>...) const |
Signature of an event function. Pointer to ModuleInstance
to be passed as parameter instead of reference to render function pointers storable in Util::CallableMemberWrapper (with nullptr as default argument)
using DynExp::DefaultEvent< ReceiverType, ArgTupleType >::EventFuncTraits< Indices >::EventFuncType = Util::CallableMemberWrapper<const ReceiverType, EventFuncPtrType> |
Type of a Util::CallableMemberWrapper to store the event.
|
constexprdefault |