template<typename ColT, typename IndexT, typename BaseProxyT>
vt::vrt::collection::Invokable struct

Constructors, destructors, conversion operators

Invokable() defaulted
Invokable(typename BaseProxyT::ProxyType const& in_proxy, typename BaseProxyT::ElementProxyType const& in_elm)

Public functions

template<typename MsgT, ActiveColMemberTypedFnType<MsgT, ColT> f, typename... Args>
void invoke(Args && ... args) const
Invoke member message handler on a collection element The function will be invoked inline without going through scheduler.
template<typename MsgT, ActiveColTypedFnType<MsgT, typename MsgT::CollectionType>* f, typename... Args>
void invoke(Args && ... args) const
Invoke message handler on a collection element The function will be invoked inline without going through scheduler.
template<auto f, typename... Args>
auto invoke(Args && ... args) const -> decltype(auto)
Invoke function 'f' on a collection element The function will be invoked inline without going through scheduler.

Function documentation

template<typename ColT, typename IndexT, typename BaseProxyT> template<typename MsgT, ActiveColMemberTypedFnType<MsgT, ColT> f, typename... Args>
void vt::vrt::collection::Invokable<ColT, IndexT, BaseProxyT>::invoke(Args && ... args) const

Invoke member message handler on a collection element The function will be invoked inline without going through scheduler.

Parameters
args in arguments for creating the message

template<typename ColT, typename IndexT, typename BaseProxyT> template<typename MsgT, ActiveColTypedFnType<MsgT, typename MsgT::CollectionType>* f, typename... Args>
void vt::vrt::collection::Invokable<ColT, IndexT, BaseProxyT>::invoke(Args && ... args) const

Invoke message handler on a collection element The function will be invoked inline without going through scheduler.

Parameters
args in arguments for creating the message

template<typename ColT, typename IndexT, typename BaseProxyT> template<auto f, typename... Args>
decltype(auto) vt::vrt::collection::Invokable<ColT, IndexT, BaseProxyT>::invoke(Args && ... args) const

Invoke function 'f' on a collection element The function will be invoked inline without going through scheduler.

Parameters
args in function arguments