mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-23 13:47:24 +01:00
add commentary and clean up blank lines
This commit is contained in:
parent
217b2c7753
commit
6ca3a1593e
1 changed files with 12 additions and 2 deletions
|
|
@ -37,6 +37,18 @@ class XMLNode;
|
|||
|
||||
namespace PBD {
|
||||
|
||||
/* This is a pure virtual class to represent a scalar control.
|
||||
*
|
||||
* Note that it contains no storage/state for the controllable thing that it
|
||||
* represents. Derived classes must provide set_value()/get_value() methods,
|
||||
* which will involve (somehow) an actual location to store the value.
|
||||
*
|
||||
* In essence, this is an interface, not a class.
|
||||
*
|
||||
* Without overriding upper() and lower(), a derived class will function
|
||||
* as a control whose value can range between 0 and 1.0.
|
||||
*/
|
||||
|
||||
class LIBPBD_API Controllable : public PBD::StatefulDestructible {
|
||||
public:
|
||||
enum Flag {
|
||||
|
|
@ -116,9 +128,7 @@ class LIBPBD_API Controllable : public PBD::StatefulDestructible {
|
|||
static const std::string xml_node_name;
|
||||
private:
|
||||
std::string _name;
|
||||
|
||||
std::string _units;
|
||||
|
||||
Flag _flags;
|
||||
bool _touching;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue