PropertyEvent: Base event class.
Definition at line 398 of file fbproperties.h.
#include <fbproperties.h>
Public Member Functions |
|
FBPropertyEvent () | |
Constructor. |
|
FBPropertyEvent * | Init (FBComponent *pComponent, HIRegister pParent, char *pName, int pType, int pSubType=K_INT_MAX) |
Property initialization function. |
|
FBPropertyEvent * | InitGlobal (char *pName, char *pGlobalEventName) |
Property initialization function, for global
events. |
|
virtual | ~FBPropertyEvent () |
Destructor. |
|
virtual void | InvalidateParent () |
Invalidate parent, removing internal
register parent. |
|
virtual FBPropertyType | GetPropertyType () override |
Get the property's type. |
|
virtual void | Add (HICallback pOwner, kICallbackHandler pHandler) |
Add/Remove a callback. |
|
virtual void | Remove (HICallback pOwner, kICallbackHandler pHandler) |
Protected Attributes |
|
HIRegister | mParentRegister |
Internal callback register. |
|
int | mType |
Type of event. |
|
int | mSubType |
SubType of event. |
FBPropertyEvent | ( | ) |
Constructor.
virtual ~FBPropertyEvent | ( | ) | [virtual] |
Destructor.
FBPropertyEvent* Init | ( | FBComponent * | pComponent, |
HIRegister | pParent, | ||
char * | pName, | ||
int | pType, | ||
int | pSubType =
K_INT_MAX |
||
) |
Property initialization function.
pComponent | Owner component. |
pParent | Internal register interface of object owner. |
pName | Name of FBPropertyEvent |
pType | Type of event. |
pSubType | SubType of event(default=K_INT_MAX). |
FBPropertyEvent* InitGlobal | ( | char * | pName, |
char * | pGlobalEventName | ||
) |
Property initialization function, for global events.
pName | Name of FBPropertyEvent |
pGlobalEventName | Name of global event. |
virtual void Add | ( | HICallback | pOwner, |
kICallbackHandler | pHandler | ||
) | [virtual] |
Add/Remove a callback.
pOwner | Callback owner. |
pHandler | Callback handler. |
Reimplemented in FBPropertyEventAnimationNode, FBPropertyEventUIIdle, FBPropertyEventConnectionNotify, FBPropertyEventConnectionDataNotify, and FBPropertyEventConnectionStateNotify.
virtual void Remove | ( | HICallback | pOwner, |
kICallbackHandler | pHandler | ||
) | [virtual] |
virtual void InvalidateParent | ( | ) | [virtual] |
Invalidate parent, removing internal register parent.
virtual FBPropertyType GetPropertyType | ( | ) | [inline, override, virtual] |
Get the property's type.
Reimplemented from FBProperty.
Definition at line 448 of file fbproperties.h.
{ return kFBPT_event; }
HIRegister mParentRegister
[protected] |
Internal callback register.
Definition at line 403 of file fbproperties.h.
int mType
[protected] |
int mSubType
[protected] |