Brightness Class Reference

#include <brightness.h>

Inheritance diagram for Brightness:

BrightnessASUS BrightnessIBM BrightnessOmnibook BrightnessPanasonic BrightnessPMU BrightnessSony BrightnessToshiba List of all members.

Public Member Functions

virtual ~Brightness ()
virtual void Init ()
virtual int Get ()
virtual void Set (int)
int GetPercent ()
void SetPercent (int)
virtual void Min ()
virtual void Med ()
void Max ()
void Up ()
void Down ()
virtual int GetLevels ()

Static Public Member Functions

static BrightnessProbe ()

Protected Member Functions

int PercentToLevel (int)

Protected Attributes

const char * iface
int fd
int last_percent

Constructor & Destructor Documentation

Brightness::~Brightness  )  [virtual]
 


Member Function Documentation

void Brightness::Down  ) 
 

int Brightness::Get  )  [virtual]
 

Reimplemented in BrightnessASUS, BrightnessIBM, BrightnessSony, BrightnessToshiba, BrightnessPanasonic, BrightnessOmnibook, and BrightnessPMU.

int Brightness::GetLevels  )  [virtual]
 

Reimplemented in BrightnessASUS, BrightnessIBM, BrightnessSony, BrightnessToshiba, BrightnessPanasonic, BrightnessOmnibook, and BrightnessPMU.

int Brightness::GetPercent  ) 
 

void Brightness::Init  )  [virtual]
 

Reimplemented in BrightnessASUS, BrightnessIBM, BrightnessSony, BrightnessToshiba, BrightnessPanasonic, BrightnessOmnibook, and BrightnessPMU.

void Brightness::Max  ) 
 

void Brightness::Med  )  [virtual]
 

Reimplemented in BrightnessASUS, BrightnessIBM, BrightnessSony, BrightnessToshiba, BrightnessPanasonic, BrightnessOmnibook, and BrightnessPMU.

void Brightness::Min  )  [virtual]
 

Reimplemented in BrightnessASUS, BrightnessIBM, BrightnessSony, BrightnessToshiba, BrightnessPanasonic, BrightnessOmnibook, and BrightnessPMU.

int Brightness::PercentToLevel int   )  [protected]
 

Brightness * Brightness::Probe  )  [static]
 

void Brightness::Set int   )  [virtual]
 

Reimplemented in BrightnessASUS, BrightnessIBM, BrightnessSony, BrightnessToshiba, BrightnessPanasonic, BrightnessOmnibook, and BrightnessPMU.

void Brightness::SetPercent int   ) 
 

void Brightness::Up  ) 
 


Member Data Documentation

int Brightness::fd [protected]
 

const char* Brightness::iface [protected]
 

int Brightness::last_percent [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 27 09:27:19 2006 for Powersave Daemon by  doxygen 1.4.6