#include
<kaydara.h>
Go to the source code of this
file.
Classes
|
class
|
IObject |
Defines
|
#define |
IObjectID 0 |
|
Basic includes.
|
#define |
IObjectDerived public
IObject |
#define |
FncDefine(PFNC,
ISPURE) virtual PFNC##ISPURE |
|
MACRO Base definitions.
|
#define |
Pure abstract; |
#define |
Implementation ; |
#define |
Override override; |
#define |
IObjectImplement(ClassName,
IObjectOwner) |
#define |
IObjectEnd return
NULL; } |
#define |
ILOCAL 1 |
#define |
IQUERY(Object,
Interface) ((H##Interface)((Object)->IQuery(Interface##ID,0))) |
#define |
IQUERYLOCAL(Object,
Interface) (
(H##Interface)((Object)->IQuery(Interface##ID,ILOCAL))) |
#define |
IQ(Object,
Interface) IQUERY(Object,Interface) |
#define |
IQT(Object,
Interface) ((Object) ?
IQUERY(Object,Interface):NULL) |
#define |
IQL(Object,
Interface) IQUERYLOCAL(Object,Interface) |
#define |
IObject_Declare(IsPure) |
#define |
IQuery_Declare(IsPure) |
#define |
K_INTERFACE_SPECIAL |
#define |
NO_DLL |
#define |
K_INTERFACE(Name,
Id) |
Typedefs
|
typedef unsigned
long |
kInterfaceID |
|
other types
|
typedef
HIObject(* |
kObjectCreatorFnc
)(HIObject pOwner, char *pName, void *pData) |
Functions
|
|
K_FORWARD
(IObject) |
|
forwarding
|
Define Documentation
Basic includes.
Definition at line 42 of file iobject.h.
#define IObjectDerived public
IObject |
#define FncDefine |
( |
|
PFNC, |
|
|
|
ISPURE |
|
) |
|
virtual PFNC##ISPURE |
MACRO Base definitions.
Definition at line 52 of file iobject.h.
#define
Override override; |
#define IObjectImplement |
( |
|
ClassName, |
|
|
|
IObjectOwner |
|
) |
|
|
Value:
HIObject ClassName##::IQuery(kInterfaceID pInterfaceID,int IsLocal) {\
if ((IObjectOwner!=NULL) && (!IsLocal)) {\
return IObjectOwner->IQuery(pInterfaceID);\
}\
switch (pInterfaceID)
Definition at line 56 of file iobject.h.
#define IObjectEnd return
NULL; } |
#define IQUERY |
( |
|
Object, |
|
|
|
Interface |
|
) |
|
((H##Interface)((Object)->IQuery(Interface##ID,0))) |
#define IQUERYLOCAL |
( |
|
Object, |
|
|
|
Interface |
|
) |
|
(
(H##Interface)((Object)->IQuery(Interface##ID,ILOCAL))) |
#define IQ |
( |
|
Object, |
|
|
|
Interface |
|
) |
|
IQUERY(Object,Interface) |
#define IQT |
( |
|
Object, |
|
|
|
Interface |
|
) |
|
((Object) ?
IQUERY(Object,Interface):NULL) |
#define IQL |
( |
|
Object, |
|
|
|
Interface |
|
) |
|
IQUERYLOCAL(Object,Interface) |
#define IObject_Declare |
( |
|
IsPure |
) |
|
Value:
public:\
virtual HIObject IQuery(kInterfaceID pInterfaceID, int IsLocal=0)IsPure\
virtual void Destroy(int IsLocal=0)IsPure\
Definition at line 77 of file iobject.h.
#define IQuery_Declare |
( |
|
IsPure |
) |
|
Value:
public:\
virtual HIObject IQuery (kInterfaceID pInterfaceID, int IsLocal=0)IsPure\
Definition at line 82 of file iobject.h.
#define K_INTERFACE_SPECIAL |
#define K_INTERFACE |
( |
|
Name, |
|
|
|
Id |
|
) |
|
|
Typedef Documentation
Function Documentation