All Frameworks Class Hierarchy This Framework Indexes
VPMInterfaces Macro EVENT_FIRE
Macro EVENT_FIRE (EVENT_TYPE,EVENT_ITF_NAME,EVT_FIRE_MOD,oStream,ioRc)
Macro to raise events in object methods
- Parameters:
-
- 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