Constructs a reactor object that notifies your application every time an ObjectARX application is loaded or unloaded
Supported Platforms: Windows only
(vlr-linker-reactor data callbacks)
Type: Integer, Real, String, List, VLA-object, Safearray, Variant, T, or nil
Any AutoLISP data to be associated with the reactor object.
Type: List
A list of pairs of the following form:
(event-name . callback_function)
event-name is one of the following Linker reactor events:
Linker reactor events |
|
---|---|
Name |
Event |
:vlr-rxAppLoaded |
The dynamic linker has loaded a new ObjectARX program. The program has finished its initialization. |
:vlr-rxAppUnLoaded |
The dynamic linker has unloaded an ObjectARX program. The program already has done its clean-up. |
callback_function is a symbol representing a function to be called when the event fires. Each callback function accepts two arguments:
reactor_object -- The VLR object that called the callback function.
list -- A list containing the name of the ObjectARX program that was loaded or unloaded (a string).
Type: VLR object
The reactor_object argument from the callback_function.
(vlr-linker-reactor nil '((:vlr-rxAppLoaded . my-vlr-trace-reaction))) #<VLR-Linker-Reactor>