Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ritardando.h
Go to the documentation of this file.
1 
8 #ifndef RITARDANDO_H_
9 #define RITARDANDO_H_
10 
11 #include "core/mark.h"
12 
13 class CAPlayable;
14 
15 class CARitardando: public CAMark {
16 public:
20  };
21 
23  virtual ~CARitardando();
24 
26  int compare( CAMusElement* );
27 
28  inline const int finalTempo() { return _finalTempo; }
29  inline void setFinalTempo( const int t ) { _finalTempo = t; }
30  inline const CARitardandoType ritardandoType() { return _ritardandoType; }
32 
33  static const QString ritardandoTypeToString( CARitardandoType t );
34  static CARitardandoType ritardandoTypeFromString( const QString r );
35 
36 private:
37  int _finalTempo; // tempo bpm at the end
39 };
40 
41 #endif /* RITARDANDO_H_ */