VCF::ClassProcedure2< P1, P2, ClassType > Class Template Reference
#include <Delegates.h>
Inheritance diagram for VCF::ClassProcedure2< P1, P2, ClassType >:
List of all members.
|
Public Types |
| typedef void(ClassType::* | ClassFuncPtr )(P1, P2) |
Public Member Functions |
| | ClassProcedure2 () |
| | ClassProcedure2 (ClassType *src, ClassFuncPtr funcPtr) |
| | ClassProcedure2 (ClassType *src, ClassFuncPtr funcPtr, const String &s) |
| virtual Object * | getSource () |
| | A callback may, or may not, have a source.
|
| virtual void | invoke (P1 p1, P2 p2) |
| virtual void | beginInvoke (P1 p1, P2 p2, AsyncResult *initialResult, AsyncCallback *callback, AsyncReturns *returnObject) |
Public Attributes |
| ClassFuncPtr | classFuncPtr |
| ClassType * | funcSrc |
Protected Member Functions |
| virtual | ~ClassProcedure2 () |
template<typename P1, typename P2, typename ClassType>
class VCF::ClassProcedure2< P1, P2, ClassType >
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
|
template<typename P1, typename P2, typename ClassType> |
| virtual Object* VCF::ClassProcedure2< P1, P2, 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 ClassType> |
| virtual void VCF::ClassProcedure2< P1, P2, ClassType >::invoke |
( |
P1 |
p1, |
|
|
P2 |
p2 |
|
) |
[inline, virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file: