Callbacks: Difference between revisions

Jump to navigation Jump to search
45 bytes added ,  20 February 2016
No edit summary
Line 5: Line 5:
== Listeners ==
== Listeners ==


'''Listeners''' are a way to register event handlers to be executed once a property is modified/written to (updated). This is accomplished using the SGProeprtyChangeListener API (link) in SimGear.
'''Listeners''' are a way to register event handlers (functions processing/dealing with ann event) to be executed once a property is modified/written to (updated). This is accomplished using the SGProeprtyChangeListener API (link) in SimGear.
Listeners are the most common method for running custom Nasal callbacks (functions), the other being [[Timers]].
Listeners are the most common method for running custom Nasal callbacks (functions), the other being [[Timers]].


Navigation menu