EventLink :: EventLink - Constructor
The constructor creates an event link that defines a link to an event handler.
Implementation details
This constructor creates an event link. Instead of using the constructor directly the macro
ELINK ( instptr, clsname, funcname )
should be used. This allows easily defining an event link passing the instance pointer, the class name and the handler function name.
The calling conventions for the linked function are as
logical vcls :: handler ( CSA_Events event, long loid , PropertyHandle & ph )
- vclsptr
- Virtual class pointer
The virtual class pointer refers to any type of class derived from the virtual class.
- evtptri
- Event handler pointer
The event handler pointer is a function pointer as:
logical vcls :: EVTP ( CSA_Events , long, PropertyHandle &).