ICELib  1
iceEvent Class Reference

Callback registration structure. More...

List of all members.

Related Functions

(Note that these are not member functions.)

Reference Counting
void iceEventAddReference (iceEvent *pEvent)
 Add reference.
void iceEventRelease (iceEvent *pEvent)
 Dec reference.
Event Registration
iceDWord iceEventRegisterHandler (iceEvent *pEvent, iceEventHandler eventHandler, void *userContext)
 Register a callback with the event object.
IceCoreResult iceEventRegisterHandlerUnregisterHandlerByCookie (iceEvent *pEvent, iceDWord cookie)
 Unregister a registered callback function This function will unregister only the callback that matches the given cookie. If the callback was register multiple times then only the matching instance is unregistered.
IceCoreResult iceEventRegisterHandlerUnregisterHandlerByPointer (iceEvent *pEvent, iceEventHandler eventHandler)
 Unregister a registered callback function This function will unregister all instances of the given callback regardless of cookie value or context.
Event Properties
const char * iceEventGetName (const iceEvent *pEvent)
 get (possibly) helpful string saying what the Event is called May return NULL
iceEventId iceEventGetId (const iceEvent *pEvent)
 Get the application defined Event Id.
iceDWord iceEventGetCategoryFlags (const iceEvent *pEvent)
 Get the application defined Event Category flags.

Detailed Description

Callback registration structure.

 All Classes Functions