JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::StatusLight Class Referenceabstract

Represents a status LED on a device. More...

#include <juce_StatusLight.h>

Collaboration diagram for juce::StatusLight:

Public Member Functions

 StatusLight (Block &)
 
virtual ~StatusLight ()
 Destructor. More...
 
virtual juce::String getName () const =0
 Returns a name to describe this light. More...
 
virtual bool setColour (LEDColour newColour)=0
 Changes the light's colour. More...
 

Public Attributes

Blockblock
 The device that this LED belongs to. More...
 

Detailed Description

Represents a status LED on a device.

{Blocks}

Constructor & Destructor Documentation

◆ StatusLight()

juce::StatusLight::StatusLight ( Block )

◆ ~StatusLight()

virtual juce::StatusLight::~StatusLight ( )
virtual

Destructor.

Member Function Documentation

◆ getName()

virtual juce::String juce::StatusLight::getName ( ) const
pure virtual

Returns a name to describe this light.

◆ setColour()

virtual bool juce::StatusLight::setColour ( LEDColour  newColour)
pure virtual

Changes the light's colour.

Member Data Documentation

◆ block

Block& juce::StatusLight::block

The device that this LED belongs to.


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