237 |
ExprType_t argType(int iArg) const { return INT_EXPR; } |
ExprType_t argType(int iArg) const { return INT_EXPR; } |
238 |
|
|
239 |
template<float NoteBase::_Override::*T_noteParam, int T_synthParam, |
template<float NoteBase::_Override::*T_noteParam, int T_synthParam, |
240 |
bool T_isNormalizedParam, int T_maxValue = 1000000, |
bool T_isNormalizedParam, int T_maxValue, int T_minValue> |
|
int T_minValue = 0> |
|
241 |
VMFnResult* execTemplate(VMFnArgs* args, const char* functionName); |
VMFnResult* execTemplate(VMFnArgs* args, const char* functionName); |
242 |
protected: |
protected: |
243 |
InstrumentScriptVM* m_vm; |
InstrumentScriptVM* m_vm; |
300 |
ExprType_t argType(int iArg) const { return INT_EXPR; } |
ExprType_t argType(int iArg) const { return INT_EXPR; } |
301 |
VMFnResult* exec(VMFnArgs* args); |
VMFnResult* exec(VMFnArgs* args); |
302 |
protected: |
protected: |
303 |
|
InstrumentScriptVM* m_vm; |
304 |
|
}; |
305 |
|
|
306 |
|
class InstrumentScriptVMFunction_get_event_par : public VMIntResultFunction { |
307 |
|
public: |
308 |
|
InstrumentScriptVMFunction_get_event_par(InstrumentScriptVM* parent); |
309 |
|
int minRequiredArgs() const { return 2; } |
310 |
|
int maxAllowedArgs() const { return 2; } |
311 |
|
bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;} |
312 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
313 |
|
VMFnResult* exec(VMFnArgs* args); |
314 |
|
protected: |
315 |
|
InstrumentScriptVM* m_vm; |
316 |
|
}; |
317 |
|
|
318 |
|
class InstrumentScriptVMFunction_set_event_par : public VMEmptyResultFunction { |
319 |
|
public: |
320 |
|
InstrumentScriptVMFunction_set_event_par(InstrumentScriptVM* parent); |
321 |
|
int minRequiredArgs() const { return 3; } |
322 |
|
int maxAllowedArgs() const { return 3; } |
323 |
|
bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;} |
324 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
325 |
|
VMFnResult* exec(VMFnArgs* args); |
326 |
|
protected: |
327 |
InstrumentScriptVM* m_vm; |
InstrumentScriptVM* m_vm; |
328 |
}; |
}; |
329 |
|
|