142 |
VMParserContext* parserContext; ///< VM represenation of the currently loaded script or NULL if not script was loaded. Note that it is also not NULL if parser errors occurred! |
VMParserContext* parserContext; ///< VM represenation of the currently loaded script or NULL if not script was loaded. Note that it is also not NULL if parser errors occurred! |
143 |
bool bHasValidScript; ///< True in case there is a valid script currently loaded, false if script processing shall be skipped. |
bool bHasValidScript; ///< True in case there is a valid script currently loaded, false if script processing shall be skipped. |
144 |
VMEventHandler* handlerInit; ///< VM representation of script's initilization callback or NULL if current script did not define such an init handler. |
VMEventHandler* handlerInit; ///< VM representation of script's initilization callback or NULL if current script did not define such an init handler. |
145 |
VMEventHandler* handlerNote; ///< VM representation of script's MIDI note callback or NULL if current script did not define such an event handler. |
VMEventHandler* handlerNote; ///< VM representation of script's MIDI note on callback or NULL if current script did not define such an event handler. |
146 |
|
VMEventHandler* handlerRelease; ///< VM representation of script's MIDI note off callback or NULL if current script did not define such an event handler. |
147 |
VMEventHandler* handlerController; ///< VM representation of script's MIDI controller callback or NULL if current script did not define such an event handler. |
VMEventHandler* handlerController; ///< VM representation of script's MIDI controller callback or NULL if current script did not define such an event handler. |
148 |
_Script() { |
_Script() { |
149 |
parserContext = NULL; |
parserContext = NULL; |
150 |
bHasValidScript = false; |
bHasValidScript = false; |
151 |
handlerNote = handlerController = NULL; |
handlerInit = NULL; |
152 |
|
handlerNote = NULL; |
153 |
|
handlerRelease = NULL; |
154 |
|
handlerController = NULL; |
155 |
} |
} |
156 |
} script; |
} script; |
157 |
|
|
182 |
virtual void RemoveAllFxSends(); |
virtual void RemoveAllFxSends(); |
183 |
|
|
184 |
void ImportEvents(uint Samples); |
void ImportEvents(uint Samples); |
185 |
|
void ScheduleEvent(const Event* pEvent, int delay); //TODO: delay not implemented yet |
186 |
|
|
187 |
void AddGroup(uint group); |
void AddGroup(uint group); |
188 |
void HandleKeyGroupConflicts(uint KeyGroup, Pool<Event>::Iterator& itNoteOnEvent); |
void HandleKeyGroupConflicts(uint KeyGroup, Pool<Event>::Iterator& itNoteOnEvent); |