C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::detail::init_fun_factory_helper< Base, F, Tuple, ReturnsBehavior, HasSelfPtr > Class Template Referencefinal

Wraps a user-defined function and gives it a uniform signature. More...

#include <init_fun_factory.hpp>

Inherits caf::detail::init_fun_factory_helper_base.

Public Types

using args_pointer = std::shared_ptr<Tuple>
 

Public Member Functions

 init_fun_factory_helper (F fun, args_pointer args)
 
 init_fun_factory_helper (init_fun_factory_helper &&)=default
 
init_fun_factory_helperoperator= (init_fun_factory_helper &&)=default
 
behavior operator() (local_actor *self) final
 

Public Attributes

fun_
 
args_pointer args_
 

Static Public Attributes

static constexpr bool args_empty = std::tuple_size_v<Tuple> == 0
 

Detailed Description

template<class Base, class F, class Tuple, bool ReturnsBehavior, bool HasSelfPtr>
class caf::detail::init_fun_factory_helper< Base, F, Tuple, ReturnsBehavior, HasSelfPtr >

Wraps a user-defined function and gives it a uniform signature.


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