Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::Meter Class Reference

#include <c1_control.h>

Inheritance diagram for ArdourSurface::Meter:
[legend]

Public Member Functions

 Meter (Console1 *console1, ControllerID id, std::function< void()> action, std::function< void()> shift_action=0)
 
ControllerType get_type ()
 
virtual void set_value (uint32_t value)
 
- Public Member Functions inherited from ArdourSurface::Controller
 Controller (Console1 *console1, ControllerID id)
 
virtual ~Controller ()
 
ControllerID id () const
 

Public Attributes

std::function< void()> action
 
std::function< void()> shift_action
 
- Public Attributes inherited from ArdourSurface::Controller
Console1console1
 

Additional Inherited Members

- Public Types inherited from ArdourSurface::Controller
enum  ControllerType {
  CONTROLLER , CONTROLLER_BUTTON , MULTISTATE_BUTTON , ENCODER ,
  METER
}
 
- Protected Attributes inherited from ArdourSurface::Controller
ControllerID _id
 

Detailed Description

Definition at line 139 of file c1_control.h.

Constructor & Destructor Documentation

◆ Meter()

ArdourSurface::Meter::Meter ( Console1 console1,
ControllerID  id,
std::function< void()>  action,
std::function< void()>  shift_action = 0 
)
inline

Definition at line 142 of file c1_control.h.

Member Function Documentation

◆ get_type()

ControllerType ArdourSurface::Meter::get_type ( )
inlinevirtual

Reimplemented from ArdourSurface::Controller.

Definition at line 153 of file c1_control.h.

◆ set_value()

virtual void ArdourSurface::Meter::set_value ( uint32_t  value)
inlinevirtual

Definition at line 155 of file c1_control.h.

Member Data Documentation

◆ action

std::function<void ()> ArdourSurface::Meter::action

Definition at line 164 of file c1_control.h.

◆ shift_action

std::function<void ()> ArdourSurface::Meter::shift_action

Definition at line 165 of file c1_control.h.


The documentation for this class was generated from the following file: