/[svn]/linuxsampler/trunk/src/engines/common/InstrumentScriptVMFunctions.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/InstrumentScriptVMFunctions.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2945 by schoenebeck, Thu Jul 14 00:22:26 2016 UTC revision 2948 by schoenebeck, Fri Jul 15 15:29:04 2016 UTC
# Line 203  namespace LinuxSampler { Line 203  namespace LinuxSampler {
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

Legend:
Removed from v.2945  
changed lines
  Added in v.2948

  ViewVC Help
Powered by ViewVC