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

VCF::Delegate1R< ReturnType, P1 > Class Template Reference

#include <Delegates.h>

Inheritance diagram for VCF::Delegate1R< ReturnType, P1 >:

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

Public Types

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

Public Member Functions

 Delegate1R ()
virtual ~Delegate1R ()
Delegate1R< ReturnType, P1 > & operator+= (FuncPtr rhs)
Delegate1R< ReturnType, P1 > & operator+= (CallBack *rhs)
virtual const std::type_info & getReturnType () const
virtual TypeArray getArgumentTypes () const
ReturnType operator() (P1 p1)
ReturnType invoke (P1 p1)
AsyncResultbeginInvoke (P1 p1, 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>
class VCF::Delegate1R< ReturnType, P1 >


Member Typedef Documentation

template<typename ReturnType, typename P1>
typedef Function1<ReturnType,P1> VCF::Delegate1R< ReturnType, P1 >::CallbackType
 

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

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


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

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

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

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

Implements VCF::AsyncReturns.

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

Reimplemented from VCF::FunctionTypeInfo.

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

Reimplemented from VCF::FunctionTypeInfo.

template<typename ReturnType, typename P1>
ReturnType VCF::Delegate1R< ReturnType, P1 >::invoke P1  p1  )  [inline]
 

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

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

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


Member Data Documentation

template<typename ReturnType, typename P1>
Results VCF::Delegate1R< ReturnType, P1 >::results
 

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


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