151 |
class ScriptEvent { |
class ScriptEvent { |
152 |
public: |
public: |
153 |
Event cause; ///< Original external event that triggered this script event (i.e. MIDI note on event, MIDI CC event, etc.). |
Event cause; ///< Original external event that triggered this script event (i.e. MIDI note on event, MIDI CC event, etc.). |
154 |
|
int id; ///< Unique ID of the external event that triggered this cript event. |
155 |
VMEventHandler** handlers; ///< The script's event handlers (callbacks) to be processed (NULL terminated list). |
VMEventHandler** handlers; ///< The script's event handlers (callbacks) to be processed (NULL terminated list). |
156 |
VMExecContext* execCtx; ///< Script's current execution state (polyphonic variables and execution stack). |
VMExecContext* execCtx; ///< Script's current execution state (polyphonic variables and execution stack). |
157 |
int currentHandler; ///< Current index in 'handlers' list above. |
int currentHandler; ///< Current index in 'handlers' list above. |