401 |
InstrumentScriptVM* m_vm; |
InstrumentScriptVM* m_vm; |
402 |
}; |
}; |
403 |
|
|
404 |
|
class InstrumentScriptVMFunction_callback_status : public VMIntResultFunction { |
405 |
|
public: |
406 |
|
InstrumentScriptVMFunction_callback_status(InstrumentScriptVM* parent); |
407 |
|
int minRequiredArgs() const { return 1; } |
408 |
|
int maxAllowedArgs() const { return 1; } |
409 |
|
bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;} |
410 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
411 |
|
VMFnResult* exec(VMFnArgs* args); |
412 |
|
protected: |
413 |
|
InstrumentScriptVM* m_vm; |
414 |
|
}; |
415 |
|
|
416 |
// overrides core wait() implementation |
// overrides core wait() implementation |
417 |
class InstrumentScriptVMFunction_wait : public CoreVMFunction_wait { |
class InstrumentScriptVMFunction_wait : public CoreVMFunction_wait { |
418 |
public: |
public: |