StatusLight Class Referenceabstract
juce_blocks_basics » blocks

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

## Public Member Functions

| StatusLight (Block &)
virtual | ~StatusLight ()
| Destructor. More...
virtual 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

Block & | block
| The device that this LED belongs to. More...

## Detailed Description

Represents a status LED on a device.

## Constructor & Destructor Documentation

## StatusLight()

StatusLight::StatusLight | ( | Block & |  | ) |

## ~StatusLight()

virtual StatusLight::~StatusLight | ( |  | ) |

virtual

Destructor.

## Member Function Documentation

## getName()

virtual String StatusLight::getName | ( |  | ) | const

pure virtual

Returns a name to describe this light.

## setColour()

virtual bool StatusLight::setColour | ( | LEDColour | newColour | ) |

pure virtual

Changes the light's colour.

## Member Data Documentation

## block

Block& StatusLight::block

The device that this LED belongs to.

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

- juce_StatusLight.h