Mercurial > hg > sonic-visualiser
comparison transform/TransformFactory.h @ 108:58f21cf235c7
* Further fixes for Vamp API change, and update to support API versioning
* Add plugin, output and parameter descriptions to GUI
* Avoid squished panner in heads-up-display on pane when time-value or note
layer is on top
author | Chris Cannam |
---|---|
date | Tue, 27 Feb 2007 12:51:38 +0000 |
parents | dd11619b73ba |
children | b4110b17bca8 |
comparison
equal
deleted
inserted
replaced
107:dd11619b73ba | 108:58f21cf235c7 |
---|---|
45 struct TransformDesc { | 45 struct TransformDesc { |
46 | 46 |
47 TransformDesc() { } | 47 TransformDesc() { } |
48 TransformDesc(QString _type, QString _category, | 48 TransformDesc(QString _type, QString _category, |
49 TransformId _identifier, QString _name, | 49 TransformId _identifier, QString _name, |
50 QString _friendlyName, QString _maker, | 50 QString _friendlyName, QString _description, |
51 QString _units, bool _configurable) : | 51 QString _maker, QString _units, bool _configurable) : |
52 type(_type), category(_category), | 52 type(_type), category(_category), |
53 identifier(_identifier), name(_name), | 53 identifier(_identifier), name(_name), |
54 friendlyName(_friendlyName), | 54 friendlyName(_friendlyName), description(_description), |
55 maker(_maker), units(_units), configurable(_configurable) { } | 55 maker(_maker), units(_units), configurable(_configurable) { } |
56 | 56 |
57 QString type; // e.g. feature extraction plugin | 57 QString type; // e.g. feature extraction plugin |
58 QString category; // e.g. time > onsets | 58 QString category; // e.g. time > onsets |
59 TransformId identifier; // e.g. vamp:vamp-aubio:aubioonset | 59 TransformId identifier; // e.g. vamp:vamp-aubio:aubioonset |
60 QString name; // plugin's name if 1 output, else "name: output" | 60 QString name; // plugin's name if 1 output, else "name: output" |
61 QString friendlyName; // short text for layer name | 61 QString friendlyName; // short text for layer name |
62 QString description; // sentence describing transform | |
62 QString maker; | 63 QString maker; |
63 QString units; | 64 QString units; |
64 bool configurable; | 65 bool configurable; |
65 | 66 |
66 bool operator<(const TransformDesc &od) const { | 67 bool operator<(const TransformDesc &od) const { |