All Frameworks Class Hierarchy This Framework Indexes
VPMInterfaces Macro OBJECT_EVENT_FIRE
Macro OBJECT_EVENT_FIRE (iObject,EVENT_TYPE,EVENT_ITF_NAME,EVT_FIRE_MOD,oStream,ioRc)
Macro to raise events.
To be used in cases where the event method code is put outside the firing object implementation.
Implies that an appropriate object instance is valid in the scope of that code.
- Parameters:
-
- iObject
- the object that actually fires the event
- EVENT_TYPE
- the Event name : must be written as a symbol, not a string
- EVENT_ITF_NAME
- The associated callback interface, clients can subscribe with.
Must be written as a symbol, not a string
- EVT_FIRE_MOD
- The step of the event ; must be
Before for the macro inserted at the beginning of the method
After for the macro inserted at the end of the method
- oStream
- The client stream returned after the subscribers are called back.
Must be null if no client stream was declared in the .event file related with the event.
- ioRc
- code returned after subscribers were called. if E_ACCESSDENIED, the method is vetoed.
This object is included in the file: ENOVEventFireMacro.h