![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
elaborate setup used for integration test
Definition at line 312 of file lazy-init-test.cpp.
Public Types | |
| using | Fun = std::function< int(int)> |
Public Attributes | |
| int | seed {0} |
| Fun | fun |
Public Member Functions | |
| template<typename FUN > | |
| auto | buildInit (FUN &&fun2install) |
| LazyDemo () | |
| template<typename FUN , typename = disable_if_self<LazyDemo, FUN>> | |
| LazyDemo (FUN &&someFun) | |
| template<typename FUN > | |
| LazyDemo && | attach (FUN &&someFun) |
Public Member Functions inherited from LazyInit< PAR > | |
| template<class SIG , class INI , typename... ARGS> | |
| LazyInit (std::function< SIG > &targetFunctor, INI &&initialiser, ARGS &&...parentCtorArgs) | |
| prepare an initialiser to be activated on first use | |
| LazyInit (LazyInit const &ref) | |
| LazyInit (LazyInit &&rref) | |
| LazyInit & | operator= (LazyInit const &ref) |
| LazyInit & | operator= (LazyInit &&rref) |
| bool | isInit () const |
| template<class SIG > | |
| void | installEmptyInitialiser () |
| template<class SIG , class INI > | |
| void | installInitialiser (std::function< SIG > &targetFunctor, INI &&initialiser) |
Additional Inherited Members | |
Protected Member Functions inherited from LazyInit< PAR > | |
| template<typename... ARGS> | |
| LazyInit (MarkDisabled, ARGS &&...parentCtorArgs) | |
|
inline |
Definition at line 346 of file lazy-init-test.cpp.
References LazyInit_test::LazyDemo::buildInit(), LazyInit_test::LazyDemo::fun, and LazyInit< PAR >::installInitialiser().
Here is the call graph for this function:
|
inline |
Definition at line 354 of file lazy-init-test.cpp.
References LazyInit_test::LazyDemo::buildInit(), LazyInit_test::LazyDemo::fun, and LazyInit< PAR >::installInitialiser().
Here is the call graph for this function:| using Fun = std::function<int(int)> |
Definition at line 315 of file lazy-init-test.cpp.
|
inline |
Definition at line 322 of file lazy-init-test.cpp.
Referenced by LazyInit_test::LazyDemo::LazyDemo(), LazyInit_test::LazyDemo::LazyDemo(), and LazyInit_test::LazyDemo::attach().
Here is the caller graph for this function:
|
inline |
Definition at line 363 of file lazy-init-test.cpp.
References LazyInit_test::LazyDemo::buildInit(), LazyInit_test::LazyDemo::fun, and LazyInit< PAR >::installInitialiser().
Referenced by LazyInit_test::verify_complexUsageWithCopy().
Here is the call graph for this function:
Here is the caller graph for this function:| int seed {0} |
Definition at line 317 of file lazy-init-test.cpp.
Referenced by LazyInit_test::verify_complexUsageWithCopy().
| Fun fun |
Definition at line 318 of file lazy-init-test.cpp.
Referenced by LazyInit_test::LazyDemo::LazyDemo(), LazyInit_test::LazyDemo::LazyDemo(), LazyInit_test::LazyDemo::attach(), and LazyInit_test::verify_complexUsageWithCopy().
Inheritance diagram for LazyInit_test::LazyDemo:
Collaboration diagram for LazyInit_test::LazyDemo: