/[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 3212 by schoenebeck, Thu May 25 13:17:47 2017 UTC revision 3214 by schoenebeck, Thu May 25 14:46:47 2017 UTC
# Line 327  namespace LinuxSampler { Line 327  namespace LinuxSampler {
327          InstrumentScriptVM* m_vm;          InstrumentScriptVM* m_vm;
328      };      };
329    
330        class InstrumentScriptVMFunction_change_note : public VMEmptyResultFunction {
331        public:
332            InstrumentScriptVMFunction_change_note(InstrumentScriptVM* parent);
333            int minRequiredArgs() const { return 2; }
334            int maxAllowedArgs() const { return 2; }
335            bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;}
336            ExprType_t argType(int iArg) const { return INT_EXPR; }
337            VMFnResult* exec(VMFnArgs* args);
338        protected:
339            InstrumentScriptVM* m_vm;
340        };
341    
342        class InstrumentScriptVMFunction_change_velo : public VMEmptyResultFunction {
343        public:
344            InstrumentScriptVMFunction_change_velo(InstrumentScriptVM* parent);
345            int minRequiredArgs() const { return 2; }
346            int maxAllowedArgs() const { return 2; }
347            bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;}
348            ExprType_t argType(int iArg) const { return INT_EXPR; }
349            VMFnResult* exec(VMFnArgs* args);
350        protected:
351            InstrumentScriptVM* m_vm;
352        };
353    
354      class InstrumentScriptVMFunction_event_status : public VMIntResultFunction {      class InstrumentScriptVMFunction_event_status : public VMIntResultFunction {
355      public:      public:
356          InstrumentScriptVMFunction_event_status(InstrumentScriptVM* parent);          InstrumentScriptVMFunction_event_status(InstrumentScriptVM* parent);

Legend:
Removed from v.3212  
changed lines
  Added in v.3214

  ViewVC Help
Powered by ViewVC