1 |
/* |
/* |
2 |
* Copyright (c) 2014 - 2017 Christian Schoenebeck |
* Copyright (c) 2014 - 2019 Christian Schoenebeck |
3 |
* |
* |
4 |
* http://www.linuxsampler.org |
* http://www.linuxsampler.org |
5 |
* |
* |
489 |
class InstrumentScriptVMFunction_abort : public VMEmptyResultFunction { |
class InstrumentScriptVMFunction_abort : public VMEmptyResultFunction { |
490 |
public: |
public: |
491 |
InstrumentScriptVMFunction_abort(InstrumentScriptVM* parent); |
InstrumentScriptVMFunction_abort(InstrumentScriptVM* parent); |
492 |
int minRequiredArgs() const { return 1; } |
int minRequiredArgs() const OVERRIDE { return 1; } |
493 |
int maxAllowedArgs() const { return 1; } |
int maxAllowedArgs() const OVERRIDE { return 1; } |
494 |
bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR; } |
bool acceptsArgType(int iArg, ExprType_t type) const OVERRIDE { return type == INT_EXPR; } |
495 |
ExprType_t argType(int iArg) const { return INT_EXPR; } |
ExprType_t argType(int iArg) const OVERRIDE { return INT_EXPR; } |
496 |
VMFnResult* exec(VMFnArgs* args) OVERRIDE; |
VMFnResult* exec(VMFnArgs* args) OVERRIDE; |
497 |
protected: |
protected: |
498 |
InstrumentScriptVM* m_vm; |
InstrumentScriptVM* m_vm; |