/[svn]/linuxsampler/trunk/src/scriptvm/ScriptVM.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/ScriptVM.h

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

revision 3573 by schoenebeck, Tue Aug 27 21:36:53 2019 UTC revision 3590 by schoenebeck, Mon Sep 2 09:03:31 2019 UTC
# Line 230  namespace LinuxSampler { Line 230  namespace LinuxSampler {
230          std::map<String,vmint> builtInConstIntVariables() OVERRIDE;          std::map<String,vmint> builtInConstIntVariables() OVERRIDE;
231    
232          /**          /**
233             * Returns all built-in constant real number (floating point) script
234             * variables, which are constant and their final data is already
235             * available at parser time and won't change during runtime. Providing
236             * your built-in constants this way may lead to performance benefits
237             * compared to using other ways of providing built-in variables, because
238             * the script parser can perform optimizations when the script is
239             * refering to such constants.
240             *
241             * This type of built-in variable can only be read, but not be altered
242             * by scripts. This method returns a STL map, where the map's key is
243             * the variable name and the map's value is the final constant data.
244             *
245             * This method is re-implemented by deriving classes to add more use
246             * case specific built-in constant real numbers.
247             */
248            std::map<String,vmfloat> builtInConstRealVariables() OVERRIDE;
249    
250            /**
251           * Returns all built-in dynamic variables. This method returns a STL           * Returns all built-in dynamic variables. This method returns a STL
252           * map, where the map's key is the dynamic variable's name and the           * map, where the map's key is the dynamic variable's name and the
253           * map's value is the pointer to the actual object implementing the           * map's value is the pointer to the actual object implementing the
# Line 317  namespace LinuxSampler { Line 335  namespace LinuxSampler {
335          class CoreVMFunction_sort* m_fnSort;          class CoreVMFunction_sort* m_fnSort;
336          class CoreVMFunction_int_to_real* m_fnIntToReal;          class CoreVMFunction_int_to_real* m_fnIntToReal;
337          class CoreVMFunction_real_to_int* m_fnRealToInt;          class CoreVMFunction_real_to_int* m_fnRealToInt;
338            class CoreVMFunction_round* m_fnRound;
339            class CoreVMFunction_ceil* m_fnCeil;
340            class CoreVMFunction_floor* m_fnFloor;
341            class CoreVMFunction_sqrt* m_fnSqrt;
342            class CoreVMFunction_log* m_fnLog;
343            class CoreVMFunction_log2* m_fnLog2;
344            class CoreVMFunction_log10* m_fnLog10;
345            class CoreVMFunction_exp* m_fnExp;
346            class CoreVMFunction_pow* m_fnPow;
347            class CoreVMFunction_sin* m_fnSin;
348            class CoreVMFunction_cos* m_fnCos;
349            class CoreVMFunction_tan* m_fnTan;
350            class CoreVMFunction_asin* m_fnAsin;
351            class CoreVMFunction_acos* m_fnAcos;
352            class CoreVMFunction_atan* m_fnAtan;
353          class CoreVMDynVar_NKSP_REAL_TIMER* m_varRealTimer;          class CoreVMDynVar_NKSP_REAL_TIMER* m_varRealTimer;
354          class CoreVMDynVar_NKSP_PERF_TIMER* m_varPerfTimer;          class CoreVMDynVar_NKSP_PERF_TIMER* m_varPerfTimer;
355      };      };

Legend:
Removed from v.3573  
changed lines
  Added in v.3590

  ViewVC Help
Powered by ViewVC