CHROMA
Public Types | Public Member Functions | Private Attributes | List of all members
Chroma::ObjectFunctor< R, TList > Class Template Reference

#include <objfunctor.h>

Public Types

typedef FunctorImpl< R, TList > Impl
 
typedef R ResultType
 
typedef TList ParmList
 
typedef Impl::Parm1 Parm1
 
typedef Impl::Parm2 Parm2
 
typedef Impl::Parm3 Parm3
 
typedef Impl::Parm4 Parm4
 
typedef Impl::Parm5 Parm5
 

Public Member Functions

 ObjectFunctor ()
 
 ObjectFunctor (const ObjectFunctor &rhs)
 
 ObjectFunctor (std::auto_ptr< Impl > spImpl)
 
template<typename Fun >
 ObjectFunctor (Fun fun)
 
template<class PtrObj , typename MemFn >
 ObjectFunctor (const PtrObj &p, MemFn memFn)
 
ObjectFunctoroperator= (const ObjectFunctor &rhs)
 
ResultType operator() ()
 
ResultType operator() (Parm1 p1)
 
ResultType operator() (Parm1 p1, Parm2 p2)
 
ResultType operator() (Parm1 p1, Parm2 p2, Parm3 p3)
 
ResultType operator() (Parm1 p1, Parm2 p2, Parm3 p3, Parm4 p4)
 
ResultType operator() (Parm1 p1, Parm2 p2, Parm3 p3, Parm4 p4, Parm5 p5)
 

Private Attributes

std::auto_ptr< ImplspImpl_
 

Detailed Description

template<typename R, class TList = NullType>
class Chroma::ObjectFunctor< R, TList >

Definition at line 267 of file objfunctor.h.

Member Typedef Documentation

◆ Impl

template<typename R , class TList = NullType>
typedef FunctorImpl<R, TList> Chroma::ObjectFunctor< R, TList >::Impl

Definition at line 271 of file objfunctor.h.

◆ Parm1

template<typename R , class TList = NullType>
typedef Impl::Parm1 Chroma::ObjectFunctor< R, TList >::Parm1

Definition at line 274 of file objfunctor.h.

◆ Parm2

template<typename R , class TList = NullType>
typedef Impl::Parm2 Chroma::ObjectFunctor< R, TList >::Parm2

Definition at line 275 of file objfunctor.h.

◆ Parm3

template<typename R , class TList = NullType>
typedef Impl::Parm3 Chroma::ObjectFunctor< R, TList >::Parm3

Definition at line 276 of file objfunctor.h.

◆ Parm4

template<typename R , class TList = NullType>
typedef Impl::Parm4 Chroma::ObjectFunctor< R, TList >::Parm4

Definition at line 277 of file objfunctor.h.

◆ Parm5

template<typename R , class TList = NullType>
typedef Impl::Parm5 Chroma::ObjectFunctor< R, TList >::Parm5

Definition at line 278 of file objfunctor.h.

◆ ParmList

template<typename R , class TList = NullType>
typedef TList Chroma::ObjectFunctor< R, TList >::ParmList

Definition at line 273 of file objfunctor.h.

◆ ResultType

template<typename R , class TList = NullType>
typedef R Chroma::ObjectFunctor< R, TList >::ResultType

Definition at line 272 of file objfunctor.h.

Constructor & Destructor Documentation

◆ ObjectFunctor() [1/5]

template<typename R , class TList = NullType>
Chroma::ObjectFunctor< R, TList >::ObjectFunctor ( )
inline

Definition at line 282 of file objfunctor.h.

◆ ObjectFunctor() [2/5]

template<typename R , class TList = NullType>
Chroma::ObjectFunctor< R, TList >::ObjectFunctor ( const ObjectFunctor< R, TList > &  rhs)
inline

Definition at line 285 of file objfunctor.h.

◆ ObjectFunctor() [3/5]

template<typename R , class TList = NullType>
Chroma::ObjectFunctor< R, TList >::ObjectFunctor ( std::auto_ptr< Impl spImpl)
inline

Definition at line 288 of file objfunctor.h.

◆ ObjectFunctor() [4/5]

template<typename R , class TList = NullType>
template<typename Fun >
Chroma::ObjectFunctor< R, TList >::ObjectFunctor ( Fun  fun)
inline

Definition at line 292 of file objfunctor.h.

◆ ObjectFunctor() [5/5]

template<typename R , class TList = NullType>
template<class PtrObj , typename MemFn >
Chroma::ObjectFunctor< R, TList >::ObjectFunctor ( const PtrObj &  p,
MemFn  memFn 
)
inline

Definition at line 297 of file objfunctor.h.

Member Function Documentation

◆ operator()() [1/6]

template<typename R , class TList = NullType>
ResultType Chroma::ObjectFunctor< R, TList >::operator() ( )
inline

Definition at line 311 of file objfunctor.h.

References Chroma::ObjectFunctor< R, TList >::spImpl_.

◆ operator()() [2/6]

template<typename R , class TList = NullType>
ResultType Chroma::ObjectFunctor< R, TList >::operator() ( Parm1  p1)
inline

Definition at line 314 of file objfunctor.h.

References Chroma::ObjectFunctor< R, TList >::spImpl_.

◆ operator()() [3/6]

template<typename R , class TList = NullType>
ResultType Chroma::ObjectFunctor< R, TList >::operator() ( Parm1  p1,
Parm2  p2 
)
inline

Definition at line 317 of file objfunctor.h.

References Chroma::ObjectFunctor< R, TList >::spImpl_.

◆ operator()() [4/6]

template<typename R , class TList = NullType>
ResultType Chroma::ObjectFunctor< R, TList >::operator() ( Parm1  p1,
Parm2  p2,
Parm3  p3 
)
inline

Definition at line 320 of file objfunctor.h.

References Chroma::ObjectFunctor< R, TList >::spImpl_.

◆ operator()() [5/6]

template<typename R , class TList = NullType>
ResultType Chroma::ObjectFunctor< R, TList >::operator() ( Parm1  p1,
Parm2  p2,
Parm3  p3,
Parm4  p4 
)
inline

Definition at line 323 of file objfunctor.h.

References Chroma::ObjectFunctor< R, TList >::spImpl_.

◆ operator()() [6/6]

template<typename R , class TList = NullType>
ResultType Chroma::ObjectFunctor< R, TList >::operator() ( Parm1  p1,
Parm2  p2,
Parm3  p3,
Parm4  p4,
Parm5  p5 
)
inline

Definition at line 326 of file objfunctor.h.

References Chroma::ObjectFunctor< R, TList >::spImpl_.

◆ operator=()

template<typename R , class TList = NullType>
ObjectFunctor& Chroma::ObjectFunctor< R, TList >::operator= ( const ObjectFunctor< R, TList > &  rhs)
inline

Definition at line 301 of file objfunctor.h.

References Chroma::p, and Chroma::ObjectFunctor< R, TList >::spImpl_.

Member Data Documentation

◆ spImpl_

template<typename R , class TList = NullType>
std::auto_ptr<Impl> Chroma::ObjectFunctor< R, TList >::spImpl_
private

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