IAction.h File Reference

#include "ICrystalObject.h"
#include "Collections/ICrystalSmartArray.h"

Go to the source code of this file.

Classes

class  IAction
class  CActionCallback< T >

Defines

#define DEFINE_ACTION_CALLBACK(Type, Method)
#define ACTION_CALLBACK(Type, Instance, Method)   CAction##Type##Method##CallBack(Instance)

Typedefs

typedef Var< IAction, 1411 > VAction
typedef VCrystalSmartTypedArray<
VAction
VActions


Define Documentation

#define ACTION_CALLBACK Type,
Instance,
Method   )     CAction##Type##Method##CallBack(Instance)
 

Definition at line 47 of file IAction.h.

#define DEFINE_ACTION_CALLBACK Type,
Method   ) 
 

Value:

class CAction##Type##Method##CallBack : implements(IAction)                             \
{                                                                                       \
protected:                                                                              \
    Type *m_pInstance;                                                                  \
public:                                                                                 \
    CAction##Type##Method##CallBack(Type *pInstance) { m_pInstance = pInstance; }       \
    XRESULT CCT Execute(ICrystalEvent *pEvent) { return m_pInstance->Method(pEvent); }  \
};

Definition at line 37 of file IAction.h.


Typedef Documentation

typedef Var<IAction , 1411 > VAction
 

Definition at line 10 of file IAction.h.

typedef VCrystalSmartTypedArray<VAction> VActions
 

Definition at line 16 of file IAction.h.


Generated on Wed Dec 21 18:10:14 2005 for Crystal2 Platform by  doxygen 1.4.5