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

VCF::ClassProcedure3< P1, P2, P3, ClassType > Class Template Reference

#include <Delegates.h>

Inheritance diagram for VCF::ClassProcedure3< P1, P2, P3, ClassType >:

VCF::Procedure3< P1, P2, P3 > VCF::CallBack VCF::Object VCF::FunctionTypeInfo List of all members.

Public Types

typedef void(ClassType::* ClassFuncPtr )(P1, P2, P3)

Public Member Functions

 ClassProcedure3 ()
 ClassProcedure3 (ClassType *src, ClassFuncPtr funcPtr)
 ClassProcedure3 (ClassType *src, ClassFuncPtr funcPtr, const String &s)
virtual ObjectgetSource ()
 A callback may, or may not, have a source.
virtual void invoke (P1 p1, P2 p2, P3 p3)
virtual void beginInvoke (P1 p1, P2 p2, P3 p3, AsyncResult *initialResult, AsyncCallback *callback, AsyncReturns *returnObject)

Public Attributes

ClassFuncPtr classFuncPtr
ClassType * funcSrc

Protected Member Functions

virtual ~ClassProcedure3 ()

template<typename P1, typename P2, typename P3, typename ClassType>
class VCF::ClassProcedure3< P1, P2, P3, ClassType >


Member Typedef Documentation

template<typename P1, typename P2, typename P3, typename ClassType>
typedef void(ClassType::* VCF::ClassProcedure3< P1, P2, P3, ClassType >::ClassFuncPtr)(P1, P2, P3)
 


Constructor & Destructor Documentation

template<typename P1, typename P2, typename P3, typename ClassType>
VCF::ClassProcedure3< P1, P2, P3, ClassType >::ClassProcedure3  )  [inline]
 

template<typename P1, typename P2, typename P3, typename ClassType>
VCF::ClassProcedure3< P1, P2, P3, ClassType >::ClassProcedure3 ClassType *  src,
ClassFuncPtr  funcPtr
[inline]
 

template<typename P1, typename P2, typename P3, typename ClassType>
VCF::ClassProcedure3< P1, P2, P3, ClassType >::ClassProcedure3 ClassType *  src,
ClassFuncPtr  funcPtr,
const String s
[inline]
 

template<typename P1, typename P2, typename P3, typename ClassType>
virtual VCF::ClassProcedure3< P1, P2, P3, ClassType >::~ClassProcedure3  )  [inline, protected, virtual]
 


Member Function Documentation

template<typename P1, typename P2, typename P3, typename ClassType>
void VCF::ClassProcedure3< P1, P2, P3, ClassType >::beginInvoke P1  p1,
P2  p2,
P3  p3,
AsyncResult initialResult,
AsyncCallback callback,
AsyncReturns returnObject
[inline, virtual]
 

Reimplemented from VCF::Procedure3< P1, P2, P3 >.

template<typename P1, typename P2, typename P3, typename ClassType>
virtual Object* VCF::ClassProcedure3< P1, P2, P3, ClassType >::getSource  )  [inline, virtual]
 

A callback may, or may not, have a source.

In addition, it's possible that the source is *not* an Object based type. For this reason this function is made virtual so that derived classes can properly implement it and return a valid source point if possible.

Returns:
Object the object that "owns" the callback and will delete it when the object is deleted. This means that the callback;s lifetime is that of it's owning object unless it's explicitly removed from the object and deleted.

Reimplemented from VCF::CallBack.

template<typename P1, typename P2, typename P3, typename ClassType>
virtual void VCF::ClassProcedure3< P1, P2, P3, ClassType >::invoke P1  p1,
P2  p2,
P3  p3
[inline, virtual]
 

Reimplemented from VCF::Procedure3< P1, P2, P3 >.


Member Data Documentation

template<typename P1, typename P2, typename P3, typename ClassType>
ClassFuncPtr VCF::ClassProcedure3< P1, P2, P3, ClassType >::classFuncPtr
 

template<typename P1, typename P2, typename P3, typename ClassType>
ClassType* VCF::ClassProcedure3< P1, P2, P3, ClassType >::funcSrc
 


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