Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::Delegate2R< ReturnType, P1, P2 > Class Template Reference

#include <Delegates.h>

Inheritance diagram for VCF::Delegate2R< ReturnType, P1, P2 >:

VCF::Delegate VCF::AsyncReturns VCF::FunctionTypeInfo List of all members.

Public Types

typedef Function2< ReturnType,
P1, P2 > 
CallbackType
typedef _typename_ CallbackType::FuncPtr FuncPtr
typedef std::vector< ReturnType > Results

Public Member Functions

 Delegate2R ()
virtual ~Delegate2R ()
Delegate2R< ReturnType, P1,
P2 > & 
operator+= (FuncPtr rhs)
Delegate2R< ReturnType, P1,
P2 > & 
operator+= (CallBack *rhs)
virtual const std::type_info & getReturnType () const
virtual TypeArray getArgumentTypes () const
ReturnType operator() (P1 p1, P2 p2)
ReturnType invoke (P1 p1, P2 p2)
AsyncResultbeginInvoke (P1 p1, P2 p2, AsyncCallback *callback)
ReturnType endInvoke (AsyncResult *asyncResult)
Results endInvokeWithResults (AsyncResult *asyncResult)

Public Attributes

Results results

Protected Member Functions

virtual void functionFinished (AsyncResult *, Runnable *runnable)

Protected Attributes

ResultsCache< ReturnType > resultsCache_

template<typename ReturnType, typename P1, typename P2>
class VCF::Delegate2R< ReturnType, P1, P2 >


Member Typedef Documentation

template<typename ReturnType, typename P1, typename P2>
typedef Function2<ReturnType,P1,P2> VCF::Delegate2R< ReturnType, P1, P2 >::CallbackType
 

template<typename ReturnType, typename P1, typename P2>
typedef _typename_ CallbackType::FuncPtr VCF::Delegate2R< ReturnType, P1, P2 >::FuncPtr
 

template<typename ReturnType, typename P1, typename P2>
typedef std::vector<ReturnType> VCF::Delegate2R< ReturnType, P1, P2 >::Results
 


Constructor & Destructor Documentation

template<typename ReturnType, typename P1, typename P2>
VCF::Delegate2R< ReturnType, P1, P2 >::Delegate2R  )  [inline]
 

template<typename ReturnType, typename P1, typename P2>
virtual VCF::Delegate2R< ReturnType, P1, P2 >::~Delegate2R  )  [inline, virtual]
 


Member Function Documentation

template<typename ReturnType, typename P1, typename P2>
AsyncResult* VCF::Delegate2R< ReturnType, P1, P2 >::beginInvoke P1  p1,
P2  p2,
AsyncCallback callback
[inline]
 

template<typename ReturnType, typename P1, typename P2>
ReturnType VCF::Delegate2R< ReturnType, P1, P2 >::endInvoke AsyncResult asyncResult  )  [inline]
 

template<typename ReturnType, typename P1, typename P2>
Delegate2R< ReturnType, P1, P2 >::Results VCF::Delegate2R< ReturnType, P1, P2 >::endInvokeWithResults AsyncResult asyncResult  )  [inline]
 

template<typename ReturnType, typename P1, typename P2>
void VCF::Delegate2R< ReturnType, P1, P2 >::functionFinished AsyncResult ,
Runnable runnable
[inline, protected, virtual]
 

Implements VCF::AsyncReturns.

template<typename ReturnType, typename P1, typename P2>
virtual TypeArray VCF::Delegate2R< ReturnType, P1, P2 >::getArgumentTypes  )  const [inline, virtual]
 

Reimplemented from VCF::FunctionTypeInfo.

template<typename ReturnType, typename P1, typename P2>
virtual const std::type_info& VCF::Delegate2R< ReturnType, P1, P2 >::getReturnType  )  const [inline, virtual]
 

Reimplemented from VCF::FunctionTypeInfo.

template<typename ReturnType, typename P1, typename P2>
ReturnType VCF::Delegate2R< ReturnType, P1, P2 >::invoke P1  p1,
P2  p2
[inline]
 

template<typename ReturnType, typename P1, typename P2>
ReturnType VCF::Delegate2R< ReturnType, P1, P2 >::operator() P1  p1,
P2  p2
[inline]
 

template<typename ReturnType, typename P1, typename P2>
Delegate2R<ReturnType,P1,P2>& VCF::Delegate2R< ReturnType, P1, P2 >::operator+= CallBack rhs  )  [inline]
 

template<typename ReturnType, typename P1, typename P2>
Delegate2R<ReturnType,P1,P2>& VCF::Delegate2R< ReturnType, P1, P2 >::operator+= FuncPtr  rhs  )  [inline]
 


Member Data Documentation

template<typename ReturnType, typename P1, typename P2>
Results VCF::Delegate2R< ReturnType, P1, P2 >::results
 

template<typename ReturnType, typename P1, typename P2>
ResultsCache<ReturnType> VCF::Delegate2R< ReturnType, P1, P2 >::resultsCache_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information