#include <PtPhoneButton.h>
Public Member Functions | |
PtPhoneButton () | |
PtPhoneButton (TaoClientTask *pClient, const char *name=0) | |
PtPhoneButton (const PtPhoneButton &rPtPhoneButton) | |
PtPhoneButton & | operator= (const PtPhoneButton &rhs) |
virtual | ~PtPhoneButton () |
virtual PtStatus | buttonPress (void) |
virtual PtStatus | setInfo (char *buttonInfo) |
retcode: PT_SUCCESS - Success retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available More... | |
PtStatus | setInfo2 (char *buttonInfo) |
param: (in) buttonInfo - The string to associate with this button retcode: PT_SUCCESS - Success retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available More... | |
virtual PtStatus | getAssociatedPhoneLamp (PtPhoneLamp &rLamp) |
PtStatus | getInfo (char *pInfo, int maxLen) |
param: (out) rpLamp - The pointer to the associated lamp object retcode: PT_SUCCESS - Success retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available More... | |
![]() | |
PtComponent () | |
PtComponent (const PtComponent &rPtComponent) | |
PtComponent & | operator= (const PtComponent &rhs) |
PtComponent (int componentType) | |
PtComponent (const char *&rName) | |
param: componentType - The type of telephone hardware modeled by this component More... | |
virtual | ~PtComponent () |
param: rName - The name of telephone hardware modeled by this component name: button name: hookswitch name: display name: graphic_display name: text_display name: lamp name: microphone name: ringer name: speaker name: unknown More... | |
void | setGroupType (int groupType) |
virtual PtStatus | getName (char *rpName, int maxLen) |
virtual PtStatus | getType (int &rType) |
param: (out) rpName - The reference used to return the name retcode: PT_SUCCESS - Success retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available More... | |
Protected Attributes | |
char | mpInfo [MAX_NAME_LENGTH+1] |
param: (out) pInfo - A pointer to the string associated with this button More... | |
TaoClientTask * | mpClient |
PtPhoneLamp * | mpLamp |
OsTime | mTimeOut |
![]() | |
int | mType |
char | mpName [21] |
Private Attributes | |
OsProtectEventMgr * | mpEventMgr |
Additional Inherited Members | |
![]() | |
enum | ComponentType { BUTTON, DISPLAY, GRAPHIC_DISPLAY, HOOKSWITCH, LAMP, MICROPHONE, RINGER, SPEAKER, TEXT_DISPLAY, EXTERNAL_SPEAKER, UNKNOWN } |
![]() | |
int | mGroupType |
PtPhoneButton | ( | ) |
PtPhoneButton | ( | TaoClientTask * | pClient, |
const char * | name = 0 |
||
) |
PtPhoneButton | ( | const PtPhoneButton & | rPtPhoneButton | ) |
|
virtual |
|
virtual |
|
virtual |
PtStatus getInfo | ( | char * | pInfo, |
int | maxLen | ||
) |
param: (out) rpLamp - The pointer to the associated lamp object retcode: PT_SUCCESS - Success retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available
PtPhoneButton & operator= | ( | const PtPhoneButton & | rhs | ) |
|
virtual |
retcode: PT_SUCCESS - Success retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available
PtStatus setInfo2 | ( | char * | buttonInfo | ) |
param: (in) buttonInfo - The string to associate with this button retcode: PT_SUCCESS - Success retcode: PT_PROVIDER_UNAVAILABLE - The provider is not available
|
protected |
|
private |
|
protected |
param: (out) pInfo - A pointer to the string associated with this button
|
protected |
|
protected |