-class Fader : public Control
-{
-public:
- Fader( int id, int ordinal, std::string name, Group & group )
- : Control( id, ordinal, name, group )
- {
- }
-
- virtual type_t type() const { return type_fader; }
-};
-
-class Led : public Control
-{
-public:
- Led( int id, int ordinal, std::string name, Group & group )
- : Control( id, ordinal, name, group )
- {
- }
-
- virtual const Led & led() const { return *this; }
-
- virtual type_t type() const { return type_led; }
-};
-
-class Button : public Control
-{
-public:
- Button( int id, int ordinal, std::string name, Group & group )
- : Control( id, ordinal, name, group )
- , _led( id, ordinal, name + "_led", group )
- {
- }
-
- virtual const Led & led() const
- {
- return _led;
- }
-
- virtual type_t type() const { return type_button; };
-
-private:
- Led _led;
-};
-
-class LedRing : public Led
-{
-public:
- LedRing( int id, int ordinal, std::string name, Group & group )
- : Led( id, ordinal, name, group )
- {
- }
-
- virtual type_t type() const { return type_led_ring; }
-};
-
-class Pot : public Control
-{
-public:
- Pot( int id, int ordinal, std::string name, Group & group )
- : Control( id, ordinal, name, group )
- , _led_ring( id, ordinal, name + "_ring", group )
- {
- }