203 |
InstrumentScriptVM* m_vm; |
InstrumentScriptVM* m_vm; |
204 |
}; |
}; |
205 |
|
|
206 |
|
// overrides core wait() implementation |
207 |
|
class InstrumentScriptVMFunction_wait : public CoreVMFunction_wait { |
208 |
|
public: |
209 |
|
InstrumentScriptVMFunction_wait(InstrumentScriptVM* parent); |
210 |
|
VMFnResult* exec(VMFnArgs* args); |
211 |
|
}; |
212 |
|
|
213 |
|
class InstrumentScriptVMFunction_stop_wait : public VMEmptyResultFunction { |
214 |
|
public: |
215 |
|
InstrumentScriptVMFunction_stop_wait(InstrumentScriptVM* parent); |
216 |
|
int minRequiredArgs() const { return 1; } |
217 |
|
int maxAllowedArgs() const { return 2; } |
218 |
|
bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;} |
219 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
220 |
|
VMFnResult* exec(VMFnArgs* args); |
221 |
|
protected: |
222 |
|
InstrumentScriptVM* m_vm; |
223 |
|
}; |
224 |
|
|
225 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |
226 |
|
|
227 |
#endif // LS_INSTRSCRIPTVMFUNCTIONS_H |
#endif // LS_INSTRSCRIPTVMFUNCTIONS_H |