#include <PsTaoButton.h>
Public Types | |
enum | ButtonState { UP, DOWN } |
![]() | |
enum | PsComponentType { BUTTON, DISPLAY, GRAPHIC_DISPLAY, HOOKSWITCH, LAMP, MICROPHONE, RINGER, SPEAKER, EXTERNAL_SPEAKER } |
Public Member Functions | |
void | buttonDown (void) |
void | buttonUp (void) |
void | buttonPress (void) |
UtlBoolean | setInfo (const UtlString &rInfo) |
PsTaoLamp * | getAssociatedPhoneLamp (void) |
void | getInfo (UtlString &rInfo) |
UtlBoolean | isButtonDown (void) |
UtlBoolean | isButtonRepeating (void) |
![]() | |
void | getName (UtlString &rName) |
int | getType (void) |
Protected Member Functions | |
PsTaoButton (const UtlString &rComponentName, int componentType) | |
![]() | |
PsTaoComponent (const UtlString &rComponentName, int componentType) | |
PsTaoComponent () | |
virtual | ~PsTaoComponent () |
OsMutex * | getMutex (void) |
Private Member Functions | |
PsTaoButton (const UtlString &rName, const UtlString &rInfo) | |
virtual | ~PsTaoButton () |
void | setAssociatedPhoneLamp (PsTaoLamp &rLamp) |
PsTaoButton () | |
PsTaoButton (const PsTaoButton &rPsTaoButton) | |
PsTaoButton & | operator= (const PsTaoButton &rhs) |
Private Attributes | |
int | mButtonState |
UtlString | mButtonInfo |
UtlBoolean | mIsRepeating |
UtlBoolean | mbNotSetBefore |
PsTaoLamp * | mpAssocLamp |
Friends | |
class | PsPhoneTask |
Additional Inherited Members | |
![]() | |
OsMutex | mMutex |
UtlString | mName |
int | mType |
enum ButtonState |
|
protected |
|
private |
|
privatevirtual |
|
private |
|
private |
void buttonDown | ( | void | ) |
void buttonPress | ( | void | ) |
void buttonUp | ( | void | ) |
PsTaoLamp * getAssociatedPhoneLamp | ( | void | ) |
void getInfo | ( | UtlString & | rInfo | ) |
UtlBoolean isButtonDown | ( | void | ) |
UtlBoolean isButtonRepeating | ( | void | ) |
|
private |
|
private |
UtlBoolean setInfo | ( | const UtlString & | rInfo | ) |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |