|
TrueReality
v0.1.1912
|
A functor. More...
#include <Functor.h>


Classes | |
| struct | ByValue |
| struct | FunctorImpl |
| struct | FunImplBase |
| struct | FunStorageImpl |
| struct | MemberFnImpl |
| struct | NewAlloc |
| struct | SelectStored |
| struct | Stored |
| struct | Typeless |
Public Types | |
| using | ResultType = R |
| using | TypeListType = TList |
| using | ParmsListType = typename CallParms< TList >::ParmsListType |
| using | Parm1 = typename trUtil::TypeAtNonStrict< TList, 0, trUtil::NullType >::Result |
| using | Parm2 = typename trUtil::TypeAtNonStrict< TList, 1, trUtil::NullType >::Result |
| using | Parm3 = typename trUtil::TypeAtNonStrict< TList, 2, trUtil::NullType >::Result |
| using | Parm4 = typename trUtil::TypeAtNonStrict< TList, 3, trUtil::NullType >::Result |
| using | Parm5 = typename trUtil::TypeAtNonStrict< TList, 4, trUtil::NullType >::Result |
| using | Parm6 = typename trUtil::TypeAtNonStrict< TList, 5, trUtil::NullType >::Result |
| using | Parm7 = typename trUtil::TypeAtNonStrict< TList, 6, trUtil::NullType >::Result |
Public Member Functions | |
| Functor () | |
| default construction, assignment and destruction. More... | |
| ~Functor () | |
| Destructor. More... | |
| Functor (Functor const &src) | |
| Copy constructor. More... | |
| Functor & | operator= (Functor const &src) |
| Assignment operator. More... | |
| bool | operator! () const |
| is-empty selector. More... | |
| bool | valid () const |
| Valids this object. More... | |
| template<typename F > | |
| Functor (F const &fun) | |
| ctor for static fns and arbitrary functors. More... | |
| template<class P , typename MF > | |
| Functor (P const &pobj, MF memfun) | |
| ctor for member fns (note: raw ptrs and smart ptrs are equally welcome in pobj) More... | |
| R | operator() (ParmsListType const &parms) const |
| R | operator() () const |
| R | operator() (Parm1 p1) const |
| R | operator() (Parm1 p1, Parm2 p2) const |
| R | operator() (Parm1 p1, Parm2 p2, Parm3 p3) const |
| R | operator() (Parm1 p1, Parm2 p2, Parm3 p3, Parm4 p4) const |
| R | operator() (Parm1 p1, Parm2 p2, Parm3 p3, Parm4 p4, Parm5 p5) const |
| R | operator() (Parm1 p1, Parm2 p2, Parm3 p3, Parm4 p4, Parm5 p5, Parm6 p6) const |
| R | operator() (Parm1 p1, Parm2 p2, Parm3 p3, Parm4 p4, Parm5 p5, Parm6 p6, Parm7 p7) const |
Private Member Functions | |
| template<class T , class V > | |
| FunImplBase::VTable * | _init (V const &v) |
Private Attributes | |
| Stored | val_ |
| FunImplBase::VTable * | vptr_ |
A functor.
| using trUtil::Functor< R, TList, size >::Parm1 = typename trUtil::TypeAtNonStrict<TList, 0, trUtil::NullType>::Result |
| using trUtil::Functor< R, TList, size >::Parm2 = typename trUtil::TypeAtNonStrict<TList, 1, trUtil::NullType>::Result |
| using trUtil::Functor< R, TList, size >::Parm3 = typename trUtil::TypeAtNonStrict<TList, 2, trUtil::NullType>::Result |
| using trUtil::Functor< R, TList, size >::Parm4 = typename trUtil::TypeAtNonStrict<TList, 3, trUtil::NullType>::Result |
| using trUtil::Functor< R, TList, size >::Parm5 = typename trUtil::TypeAtNonStrict<TList, 4, trUtil::NullType>::Result |
| using trUtil::Functor< R, TList, size >::Parm6 = typename trUtil::TypeAtNonStrict<TList, 5, trUtil::NullType>::Result |
| using trUtil::Functor< R, TList, size >::Parm7 = typename trUtil::TypeAtNonStrict<TList, 6, trUtil::NullType>::Result |
| using trUtil::Functor< R, TList, size >::ParmsListType = typename CallParms<TList>::ParmsListType |
| using trUtil::Functor< R, TList, size >::ResultType = R |
| using trUtil::Functor< R, TList, size >::TypeListType = TList |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inlineprivate |
Definition at line 219 of file Functor.h.
Referenced by trUtil::Functor< R, TList, size >::FunStorageImpl< T, FunctorImpl< T > >::Clone().

|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 272 of file Functor.h.
Referenced by trUtil::Functor< void, TYPELIST_1(const Message_T &)>::_init(), trUtil::Functor< R, TList, size >::FunctorImpl< T >::Call(), trUtil::Functor< R, TList, size >::MemberFnImpl< P, T >::Call(), trUtil::Functor< R, TList, size >::FunStorageImpl< T, FunctorImpl< T > >::Clone(), trUtil::Functor< R, TList, size >::FunStorageImpl< T, FunctorImpl< T > >::Destroy(), trUtil::Functor< R, TList, size >::Stored::destroy(), trUtil::Functor< R, TList, size >::Stored::get(), and trUtil::Functor< R, TList, size >::Stored::init().
|
private |
Definition at line 273 of file Functor.h.
Referenced by trUtil::Functor< void, TYPELIST_1(const Message_T &)>::Functor(), trUtil::Functor< void, TYPELIST_1(const Message_T &)>::operator!(), trUtil::Functor< void, TYPELIST_1(const Message_T &)>::operator=(), trUtil::Functor< void, TYPELIST_1(const Message_T &)>::valid(), and trUtil::Functor< void, TYPELIST_1(const Message_T &)>::~Functor().