![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "vault/gear/special-job-fun.hpp"
Front-end to configure a special job functor for one-time use.
Definition at line 81 of file special-job-fun.hpp.
Classes | |
| class | SpecialExecutor |
Public Member Functions | |
| SpecialJobFun ()=default | |
| template<class FUN , typename = disable_if_self<SpecialJobFun, FUN>> | |
| SpecialJobFun (FUN &&someFun) | |
| Establish a new SpecialJobFun variation directly by wrapping a given functor. | |
| operator bool () const | |
| operator JobClosure & () const | |
| uint | remainingInvocations () const |
| long | use_count () const |
Private Types | |
| using | _Handle = lib::Handle< SpecialFunPrototype > |
Additional Inherited Members | |
Protected Types inherited from Handle< SpecialFunPrototype > | |
| typedef std::shared_ptr< SpecialFunPrototype > | SmPtr |
Protected Member Functions inherited from Handle< SpecialFunPrototype > | |
| SpecialFunPrototype & | impl () const |
| Handle ()=default | |
| by default create an Null handle. | |
| Handle (SpecialFunPrototype *imp) | |
| directly establish handle from an implementation, which typically way just heap allocated beforehand. | |
| Handle (Handle const &r)=default | |
| Handle (Handle &&rr)=default | |
| Handle (shared_ptr< Y > const &r) | |
| Handle (shared_ptr< Y > &&srr) | |
| Handle (weak_ptr< Y > const &wr) | |
| Handle (unique_ptr< Y > &&urr) | |
| Handle & | operator= (Handle const &r)=default |
| Handle & | operator= (Handle &&rr)=default |
| Handle & | operator= (shared_ptr< Y > const &sr) |
| Handle & | operator= (shared_ptr< Y > &&srr) |
| Handle & | operator= (unique_ptr< Y > &&urr) |
| operator bool () const | |
| bool | isValid () const |
| Handle & | activate (SpecialFunPrototype *impl, DEL whenDead) |
| Activation of the handle by the managing service. | |
| Handle & | activate (shared_ptr< SpecialFunPrototype > const &impl) |
| another way of activating a handle by sharing ownership with an existing smart-ptr | |
| Handle & | activate (shared_ptr< SpecialFunPrototype > &&impl) |
| void | close () |
| deactivate this handle, so it isn't tied any longer to the associated implementation or service object. | |
Protected Attributes inherited from Handle< SpecialFunPrototype > | |
| SmPtr | smPtr_ |
|
default |
|
inlineexplicit |
Establish a new SpecialJobFun variation directly by wrapping a given functor.
The JobFunctor instance itself will be heap allocated.
Definition at line 160 of file special-job-fun.hpp.
|
private |
Definition at line 84 of file special-job-fun.hpp.
|
inlineexplicit |
Definition at line 167 of file special-job-fun.hpp.
References SpecialJobFun::remainingInvocations().
Here is the call graph for this function:
|
inline |
Definition at line 172 of file special-job-fun.hpp.
References Handle< SpecialFunPrototype >::impl().
Here is the call graph for this function:
|
inline |
Definition at line 179 of file special-job-fun.hpp.
References Handle< SpecialFunPrototype >::impl(), and Handle< SpecialFunPrototype >::isValid().
Referenced by SpecialJobFun::operator bool().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 186 of file special-job-fun.hpp.
References Handle< SpecialFunPrototype >::smPtr_.
Inheritance diagram for SpecialJobFun:
Collaboration diagram for SpecialJobFun: