/[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 2948 by schoenebeck, Fri Jul 15 15:29:04 2016 UTC revision 2953 by schoenebeck, Sat Jul 16 11:24:39 2016 UTC
# Line 190  namespace LinuxSampler { Line 190  namespace LinuxSampler {
190      protected:      protected:
191          InstrumentScriptVM* m_vm;          InstrumentScriptVM* m_vm;
192      };      };
193        
194        class InstrumentScriptVMFunction_change_attack : public VMEmptyResultFunction {
195        public:
196            InstrumentScriptVMFunction_change_attack(InstrumentScriptVM* parent);
197            int minRequiredArgs() const { return 2; }
198            int maxAllowedArgs() const { return 2; }
199            bool acceptsArgType(int iArg, ExprType_t type) const;
200            ExprType_t argType(int iArg) const { return INT_EXPR; }
201            VMFnResult* exec(VMFnArgs* args);
202        protected:
203            InstrumentScriptVM* m_vm;
204        };
205    
206        class InstrumentScriptVMFunction_change_decay : public VMEmptyResultFunction {
207        public:
208            InstrumentScriptVMFunction_change_decay(InstrumentScriptVM* parent);
209            int minRequiredArgs() const { return 2; }
210            int maxAllowedArgs() const { return 2; }
211            bool acceptsArgType(int iArg, ExprType_t type) const;
212            ExprType_t argType(int iArg) const { return INT_EXPR; }
213            VMFnResult* exec(VMFnArgs* args);
214        protected:
215            InstrumentScriptVM* m_vm;
216        };
217        
218        class InstrumentScriptVMFunction_change_release : public VMEmptyResultFunction {
219        public:
220            InstrumentScriptVMFunction_change_release(InstrumentScriptVM* parent);
221            int minRequiredArgs() const { return 2; }
222            int maxAllowedArgs() const { return 2; }
223            bool acceptsArgType(int iArg, ExprType_t type) const;
224            ExprType_t argType(int iArg) const { return INT_EXPR; }
225            VMFnResult* exec(VMFnArgs* args);
226        protected:
227            InstrumentScriptVM* m_vm;
228        };
229    
230      class InstrumentScriptVMFunction_event_status : public VMIntResultFunction {      class InstrumentScriptVMFunction_event_status : public VMIntResultFunction {
231      public:      public:

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

  ViewVC Help
Powered by ViewVC