LMMS
Loading...
Searching...
No Matches
FloatControl Class Reference

#include <Control.h>

Inheritance diagram for FloatControl:
Control

Public Member Functions

void setValue (float value, ControlUser *user=NULL)
virtual string getStringRepresentation ()
float value ()
Public Member Functions inherited from Control
 Control (Control *parent, string id)
string getXMLRepresentation ()
void restoreFromXML (string xml)
void registerControlUser (ControlUser *user)

Member Function Documentation

◆ getStringRepresentation()

virtual string FloatControl::getStringRepresentation ( )
virtual

Reimplemented from Control

Implements Control.

◆ setValue()

void FloatControl::setValue ( float value,
ControlUser * user = NULL )

Set the value of this control. If the ControlUser variable is set, then this user will not be updated with the new value. This is to avoid setting a value being set back to the source that set it (which would be redundant, or possibly causing infinite setValue loops). NOTE: this function is thread-safe (using a mutex internally)

◆ value()

float FloatControl::value ( )

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