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

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

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

revision 3689 by schoenebeck, Tue Sep 3 11:06:33 2019 UTC revision 3690 by schoenebeck, Fri Jan 3 10:18:21 2020 UTC
# Line 688  public: Line 688  public:
688  };  };
689  typedef Ref<OnController,Node> OnControllerRef;  typedef Ref<OnController,Node> OnControllerRef;
690    
691    class OnRpn FINAL : public EventHandler {
692    public:
693        OnRpn(StatementsRef statements) : EventHandler(statements) {}
694        VMEventHandlerType_t eventHandlerType() const OVERRIDE { return VM_EVENT_HANDLER_RPN; }
695        String eventHandlerName() const OVERRIDE { return "rpn"; }
696    };
697    typedef Ref<OnRpn,Node> OnRpnRef;
698    
699    class OnNrpn FINAL : public EventHandler {
700    public:
701        OnNrpn(StatementsRef statements) : EventHandler(statements) {}
702        VMEventHandlerType_t eventHandlerType() const OVERRIDE { return VM_EVENT_HANDLER_NRPN; }
703        String eventHandlerName() const OVERRIDE { return "nrpn"; }
704    };
705    typedef Ref<OnNrpn,Node> OnNrpnRef;
706    
707  class EventHandlers FINAL : virtual public Node {  class EventHandlers FINAL : virtual public Node {
708      std::vector<EventHandlerRef> args;      std::vector<EventHandlerRef> args;
709  public:  public:
# Line 937  public: Line 953  public:
953      OnNoteRef onNote;      OnNoteRef onNote;
954      OnReleaseRef onRelease;      OnReleaseRef onRelease;
955      OnControllerRef onController;      OnControllerRef onController;
956        OnRpnRef onRpn;
957        OnNrpnRef onNrpn;
958    
959      ArrayList<vmint>* globalIntMemory;      ArrayList<vmint>* globalIntMemory;
960      ArrayList<vmfloat>* globalRealMemory;      ArrayList<vmfloat>* globalRealMemory;

Legend:
Removed from v.3689  
changed lines
  Added in v.3690

  ViewVC Help
Powered by ViewVC