GUIDOLib  1.7.7
Guido Engine Internal Documentation
ARSegno.h
1 #ifndef __ARSegno__
2 #define __ARSegno__
3 
4 /*
5  GUIDO Library
6  Copyright (C) 2004 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 "ARJump.h"
18 #include "TimeUnwrap.h"
19 
20 /*@mkdoc
21 
22 @group:Repeat Signs
23 
24 @tagname:\segno
25 @tagalias:
26 @tagtype:P
27 @tagnotation:Segno
28 @tagdesc
29 See the [Repeat Signs](@EXAMPLES/repeats/) example.
30 @tagend
31 
32 */
33 
36 class ARSegno : public ARJump
37 {
38  public:
39  ARSegno() : ARJump ("[segno]") {}
40  virtual ~ARSegno() {}
41 
42  virtual const char* getParamsStr() const { return ""; };
43  virtual const char* getTagName() const { return "ARSegno"; };
44  virtual std::string getGMNName() const { return "\\segno"; };
45  ARMusicalObject *isARSegno() { return this; }
46 
47  virtual void browse(TimeUnwrap& mapper) const
48  { mapper.AtPos (this, TimeUnwrap::kSegno); }
49 };
50 
51 #endif
TimeUnwrap::AtPos
virtual void AtPos(const ARMusicalObject *ev, EventType type)
ARSegno
Signa.
Definition: ARSegno.h:36
TimeUnwrap::kSegno
Definition: TimeUnwrap.h:52
ARSegno::getGMNName
virtual std::string getGMNName() const
Definition: ARSegno.h:44
ARSegno::getParamsStr
virtual const char * getParamsStr() const
Definition: ARSegno.h:42
ARSegno::browse
virtual void browse(TimeUnwrap &mapper) const
Definition: ARSegno.h:47
ARSegno::getTagName
virtual const char * getTagName() const
Definition: ARSegno.h:43
ARSegno::ARSegno
ARSegno()
Definition: ARSegno.h:39
ARSegno::isARSegno
ARMusicalObject * isARSegno()
Definition: ARSegno.h:45
ARSegno::~ARSegno
virtual ~ARSegno()
Definition: ARSegno.h:40
ARMusicalObject
The base class for all AR objects. It contains all musical information : duration and time position.
Definition: ARMusicalObject.h:33
ARJump
common implementation for \coda, \segno, \toCoda etc...
Definition: ARJump.h:25
TimeUnwrap
Definition: TimeUnwrap.h:29

Guido Project Copyright © 2019 Grame-CNCM