/[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 3187 by schoenebeck, Fri Apr 21 13:33:03 2017 UTC revision 3188 by schoenebeck, Fri May 19 14:23:12 2017 UTC
# Line 236  namespace LinuxSampler { Line 236  namespace LinuxSampler {
236          bool acceptsArgType(int iArg, ExprType_t type) const;          bool acceptsArgType(int iArg, ExprType_t type) const;
237          ExprType_t argType(int iArg) const { return INT_EXPR; }          ExprType_t argType(int iArg) const { return INT_EXPR; }
238    
239          template<float NoteBase::_Override::*T_noteParam, int T_synthParam>          template<float NoteBase::_Override::*T_noteParam, int T_synthParam,
240                     bool T_isNormalizedParam, int T_maxValue = 1000000,
241                     int T_minValue = 0>
242          VMFnResult* execTemplate(VMFnArgs* args, const char* functionName);          VMFnResult* execTemplate(VMFnArgs* args, const char* functionName);
243      protected:      protected:
244          InstrumentScriptVM* m_vm;          InstrumentScriptVM* m_vm;
# Line 266  namespace LinuxSampler { Line 268  namespace LinuxSampler {
268          VMFnResult* exec(VMFnArgs* args);          VMFnResult* exec(VMFnArgs* args);
269      };      };
270    
271        class InstrumentScriptVMFunction_change_vol_time : public VMChangeSynthParamFunction {
272        public:
273            InstrumentScriptVMFunction_change_vol_time(InstrumentScriptVM* parent) : VMChangeSynthParamFunction(parent) {}
274            VMFnResult* exec(VMFnArgs* args);
275        };
276    
277        class InstrumentScriptVMFunction_change_tune_time : public VMChangeSynthParamFunction {
278        public:
279            InstrumentScriptVMFunction_change_tune_time(InstrumentScriptVM* parent) : VMChangeSynthParamFunction(parent) {}
280            VMFnResult* exec(VMFnArgs* args);
281        };
282    
283        class InstrumentScriptVMFunction_fade_in : public VMEmptyResultFunction {
284        public:
285            InstrumentScriptVMFunction_fade_in(InstrumentScriptVM* parent);
286            int minRequiredArgs() const { return 2; }
287            int maxAllowedArgs() const { return 2; }
288            bool acceptsArgType(int iArg, ExprType_t type) const;
289            ExprType_t argType(int iArg) const { return INT_EXPR; }
290            VMFnResult* exec(VMFnArgs* args);
291        protected:
292            InstrumentScriptVM* m_vm;
293        };
294    
295        class InstrumentScriptVMFunction_fade_out : public VMEmptyResultFunction {
296        public:
297            InstrumentScriptVMFunction_fade_out(InstrumentScriptVM* parent);
298            int minRequiredArgs() const { return 2; }
299            int maxAllowedArgs() const { return 3; }
300            bool acceptsArgType(int iArg, ExprType_t type) const;
301            ExprType_t argType(int iArg) const { return INT_EXPR; }
302            VMFnResult* exec(VMFnArgs* args);
303        protected:
304            InstrumentScriptVM* m_vm;
305        };
306    
307      class InstrumentScriptVMFunction_event_status : public VMIntResultFunction {      class InstrumentScriptVMFunction_event_status : public VMIntResultFunction {
308      public:      public:
309          InstrumentScriptVMFunction_event_status(InstrumentScriptVM* parent);          InstrumentScriptVMFunction_event_status(InstrumentScriptVM* parent);

Legend:
Removed from v.3187  
changed lines
  Added in v.3188

  ViewVC Help
Powered by ViewVC