GUIDOLib  1.7.7
Guido Engine Internal Documentation
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
TempoChange.h
1 
2 #pragma once
3 
4 /*
5  GUIDO Library
6  Copyright (C) 2019 Grame
7 
8  This Source Code Form is subject to the terms of the Mozilla Public
9  License, v. 2.0. If a copy of the MPL was not distributed with this
10  file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 
12  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
13  research@grame.fr
14 
15 */
16 
17 #include "ARFontAble.h"
18 #include "ARPositionTag.h"
19 #include "FormatStringParser.h"
20 #include "TagParameterString.h"
21 
25 class TempoChange : public ARFontAble, public ARPositionTag
26 {
27  public:
29  virtual ~TempoChange() {}
30 
31  virtual void setTagParameters (const TagParameterMap& params);
32 
33  const FormatStringParserResult& getBefore() const { return fBefore; }
34  const FormatStringParserResult& getAfter() const { return fAfter;}
35  float getDx2() const { return fDx2;}
36 
37  private:
38  FormatStringParserResult fBefore;
39  FormatStringParserResult fAfter;
40  float fDx2 = 0;
41 };
TempoChange::~TempoChange
virtual ~TempoChange()
Definition: TempoChange.h:29
TempoChange::getAfter
const FormatStringParserResult & getAfter() const
Definition: TempoChange.h:34
ARFontAble
Definition: ARFontAble.h:21
TempoChange::getDx2
float getDx2() const
Definition: TempoChange.h:35
TempoChange
the base class for accelerando and ritardando
Definition: TempoChange.h:25
ARPositionTag
The base class for all range tags.
Definition: ARPositionTag.h:26
TagParameterMap
A list of tag parameters represented as a map.
Definition: TagParameterMap.h:31
TempoChange::getBefore
const FormatStringParserResult & getBefore() const
Definition: TempoChange.h:33
TempoChange::setTagParameters
virtual void setTagParameters(const TagParameterMap &params)
TempoChange::TempoChange
TempoChange()
Definition: TempoChange.h:28

Guido Project Copyright © 2019 Grame-CNCM