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

vcf/FoundationKit/Delegates.h File Reference


Namespaces

namespace  VCF

Classes

class  VCF::FunctionTypeInfo
 Base class for storing function information for a delegate. More...
class  VCF::CallBack
 Base class for a function callback. More...
class  VCF::ObjectWithCallbacks
 ObjectWithCallbacks is an object that may have 0 or more CallBacks associated with it, and will automatically clean up these CallBacks when it is destroyed. More...
class  VCF::Delegate
 A delegate can be thought of as a function pointer on steroids. More...
class  VCF::AsyncReturns
 Interface class used for async delegate execution. More...
class  VCF::Procedure1< P1 >
 Represents a callback for a static function with one function argument of type P1 and no return type. More...
class  VCF::AsyncResult
 This class is used to manage invoking a delegate's callbacks asynchronously. More...
class  VCF::AsyncResult::AsyncTask
class  VCF::AsyncResult::Task
class  VCF::ClassProcedure1< P1, ClassType >
 A class member function. More...
class  VCF::Delegate1< P1 >
 A delegate that takes one argument of type P1. More...
class  VCF::Procedure
 A callback that takes no arguments. More...
class  VCF::ClassProcedure< ClassType >
 A class method that takes no arguments. More...
class  VCF::Delegate0
 A delegate that takes no arguments. More...
class  VCF::Procedure2< P1, P2 >
class  VCF::ClassProcedure2< P1, P2, ClassType >
class  VCF::Delegate2< P1, P2 >
class  VCF::Procedure3< P1, P2, P3 >
class  VCF::ClassProcedure3< P1, P2, P3, ClassType >
class  VCF::Delegate3< P1, P2, P3 >
class  VCF::Procedure4< P1, P2, P3, P4 >
class  VCF::ClassProcedure4< P1, P2, P3, P4, ClassType >
class  VCF::Delegate4< P1, P2, P3, P4 >
class  VCF::Procedure5< P1, P2, P3, P4, P5 >
class  VCF::ClassProcedure5< P1, P2, P3, P4, P5, ClassType >
class  VCF::Delegate5< P1, P2, P3, P4, P5 >
class  VCF::Procedure6< P1, P2, P3, P4, P5, P6 >
class  VCF::ClassProcedure6< P1, P2, P3, P4, P5, P6, ClassType >
class  VCF::Delegate6< P1, P2, P3, P4, P5, P6 >
class  VCF::Procedure7< P1, P2, P3, P4, P5, P6, P7 >
class  VCF::ClassProcedure7< P1, P2, P3, P4, P5, P6, P7, ClassType >
class  VCF::Delegate7< P1, P2, P3, P4, P5, P6, P7 >
class  VCF::Procedure8< P1, P2, P3, P4, P5, P6, P7, P8 >
class  VCF::ClassProcedure8< P1, P2, P3, P4, P5, P6, P7, P8, ClassType >
class  VCF::Delegate8< P1, P2, P3, P4, P5, P6, P7, P8 >
class  VCF::ResultsCache< ReturnType >
 A class that is uses to cache the results of callbacks that return values. More...
class  VCF::Function< ReturnType >
class  VCF::ClassFunction< ReturnType, ClassType >
class  VCF::DelegateR< ReturnType >
 The base calss for delegates that return a value from a function. More...
class  VCF::Function1< ReturnType, P1 >
class  VCF::ClassFunction1< ReturnType, P1, ClassType >
class  VCF::Delegate1R< ReturnType, P1 >
class  VCF::Function2< ReturnType, P1, P2 >
class  VCF::ClassFunction2< ReturnType, P1, P2, ClassType >
class  VCF::Delegate2R< ReturnType, P1, P2 >
class  VCF::Function3< ReturnType, P1, P2, P3 >
class  VCF::ClassFunction3< ReturnType, P1, P2, P3, ClassType >
class  VCF::Delegate3R< ReturnType, P1, P2, P3 >
class  VCF::Function4< ReturnType, P1, P2, P3, P4 >
class  VCF::ClassFunction4< ReturnType, P1, P2, P3, P4, ClassType >
class  VCF::Delegate4R< ReturnType, P1, P2, P3, P4 >
class  VCF::Function5< ReturnType, P1, P2, P3, P4, P5 >
class  VCF::ClassFunction5< ReturnType, P1, P2, P3, P4, P5, ClassType >
class  VCF::Delegate5R< ReturnType, P1, P2, P3, P4, P5 >
class  VCF::Function6< ReturnType, P1, P2, P3, P4, P5, P6 >
class  VCF::ClassFunction6< ReturnType, P1, P2, P3, P4, P5, P6, ClassType >
class  VCF::Delegate6R< ReturnType, P1, P2, P3, P4, P5, P6 >

Defines

#define DELEGATE(type, name)
 Use this macro to make sure you define a delegate named "name", and an accessor function called get<name>, which will return a reference to the delegate.
#define OBJECTWITHCALLBACKS_CLASSID   "2d386e10-4b81-4c71-801f-d38d2fdb8e88"

Typedefs

typedef Procedure1< AsyncResult * > VCF::AsyncCallback

Define Documentation

#define DELEGATE type,
name   ) 
 

Value:

type name;\
    type& get##name() {\
        return name;\
    }\
    \
Use this macro to make sure you define a delegate named "name", and an accessor function called get<name>, which will return a reference to the delegate.

#define OBJECTWITHCALLBACKS_CLASSID   "2d386e10-4b81-4c71-801f-d38d2fdb8e88"
 

   Comments or Suggestions?    License Information