GUIDOLib  1.7.7
Guido Engine Internal Documentation
GRFixVisitor.h
1 /*
2  GUIDO Library
3  Copyright (C) 2020 Grame
4 
5  This Source Code Form is subject to the terms of the Mozilla Public
6  License, v. 2.0. If a copy of the MPL was not distributed with this
7  file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
10  research@grame.fr
11 
12 */
13 
14 #pragma once
15 
16 #include "GRVisitor.h"
17 
18 class GRSingleNote;
19 class GRSlur;
20 
21 /*
22  A visitor intended to fix tellPosition order issues
23  */
24 class GRFixVisitor : public GRVisitor
25 {
26  public:
28  virtual ~GRFixVisitor() {}
29 
30  virtual bool voiceMode () { return true; }
31  virtual void visitStart (GRSingleNote* note);
32  virtual void visitStart (GRSlur* slur);
33 };
GRVisitor
Definition: GRVisitor.h:39
GRSingleNote
Graphical representation of a note event.
Definition: GRSingleNote.h:38
GRFixVisitor::visitStart
virtual void visitStart(GRSingleNote *note)
GRFixVisitor::~GRFixVisitor
virtual ~GRFixVisitor()
Definition: GRFixVisitor.h:28
GRFixVisitor::voiceMode
virtual bool voiceMode()
Definition: GRFixVisitor.h:30
GRSlur
Graphical representation of a slur.
Definition: GRSlur.h:24
GRFixVisitor::GRFixVisitor
GRFixVisitor()
Definition: GRFixVisitor.h:27
GRFixVisitor
Definition: GRFixVisitor.h:24

Guido Project Copyright © 2019 Grame-CNCM