Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
LV2ControlPortState Struct Referencefinal

Other UI related state of an instance of an LV2 Control port. More...

#include <LV2Ports.h>

Collaboration diagram for LV2ControlPortState:
[legend]

Public Member Functions

 LV2ControlPortState (LV2ControlPortPtr pPort)
 

Public Attributes

const LV2ControlPortPtr mpPort
 
float mLst { 0.0 }
 Value of mTmp last seen by idle-time updater. More...
 
float mTmp { 0.0 }
 Value of UI control, as scaled by sample rate if that is required. More...
 
float mLo { 0.0 }
 Lower bound, as scaled by sample rate if that is required. More...
 
float mHi { 0.0 }
 Upper bound, as scaled by sample rate if that is required. More...
 

Detailed Description

Other UI related state of an instance of an LV2 Control port.

Definition at line 237 of file LV2Ports.h.

Constructor & Destructor Documentation

◆ LV2ControlPortState()

LV2ControlPortState::LV2ControlPortState ( LV2ControlPortPtr  pPort)
inlineexplicit
Precondition
pPort != nullptr

Definition at line 239 of file LV2Ports.h.

240 : mpPort{ move(pPort) }
241 {
242 assert(mpPort);
243 }
const LV2ControlPortPtr mpPort
Definition: LV2Ports.h:244

References mpPort.

Member Data Documentation

◆ mHi

float LV2ControlPortState::mHi { 0.0 }

Upper bound, as scaled by sample rate if that is required.

Definition at line 252 of file LV2Ports.h.

Referenced by LV2Editor::SetSlider().

◆ mLo

float LV2ControlPortState::mLo { 0.0 }

Lower bound, as scaled by sample rate if that is required.

Definition at line 250 of file LV2Ports.h.

Referenced by LV2Editor::SetSlider().

◆ mLst

float LV2ControlPortState::mLst { 0.0 }

Value of mTmp last seen by idle-time updater.

Definition at line 246 of file LV2Ports.h.

◆ mpPort

const LV2ControlPortPtr LV2ControlPortState::mpPort

Definition at line 244 of file LV2Ports.h.

Referenced by LV2ControlPortState(), and LV2Editor::SetSlider().

◆ mTmp

float LV2ControlPortState::mTmp { 0.0 }

Value of UI control, as scaled by sample rate if that is required.

Definition at line 248 of file LV2Ports.h.

Referenced by LV2Editor::SetSlider().


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