#include <cascade/app/CascadePowerLED.h>
Inheritance diagram for CascadePowerLED:
Public Member Functions | |
CascadePowerLED () | |
virtual | ~CascadePowerLED () |
bool | IsPresent () |
bool | IsOn () |
bool | IsOff () |
bool | TurnOn () |
bool | TurnOff () |
CascadePowerLED represents the power led and can be used to get and set the power led state in a simple and convenient manner.
|
the power led constructor construct a CascadePowerLED to control the power led if present |
|
the power led destructor The power led destructor. |
|
determines whether or not the power led is off IsOff() determines whether or not the power led is currently off.
|
|
determines whether or not the power led is on IsOn() determines whether or not the power led is currently on.
|
|
determines whether or not the power led is present IsPresent() determines whether or not the system contains a controllable power led. If IsPresent() returns false, then IsOff() will always return true, and IsOn(), TurnOn(), and TurnOff() will always return false.
|
|
turns the power led off TurnOff() turns off the power led.
|
|
turns the power led on TurnOn() turns on the power led.
|