sipXcallLib home page


Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
PsTaoHookswitch Class Reference

#include <PsTaoHookswitch.h>

Inheritance diagram for PsTaoHookswitch:
Inheritance graph
[legend]
Collaboration diagram for PsTaoHookswitch:
Collaboration graph
[legend]

Public Types

enum  HookswitchState { ON_HOOK, OFF_HOOK }
 
- Public Types inherited from PsTaoComponent
enum  PsComponentType {
  BUTTON, DISPLAY, GRAPHIC_DISPLAY, HOOKSWITCH,
  LAMP, MICROPHONE, RINGER, SPEAKER,
  EXTERNAL_SPEAKER
}
 

Public Member Functions

void setHookSwitch (int hookswitchState)
 
int getHookSwitchState (void)
 
- Public Member Functions inherited from PsTaoComponent
void getName (UtlString &rName)
 
int getType (void)
 

Protected Member Functions

 PsTaoHookswitch (const UtlString &rComponentName, int componentType)
 
- Protected Member Functions inherited from PsTaoComponent
 PsTaoComponent (const UtlString &rComponentName, int componentType)
 
 PsTaoComponent ()
 
virtual ~PsTaoComponent ()
 
OsMutex * getMutex (void)
 

Private Member Functions

virtual ~PsTaoHookswitch ()
 
 PsTaoHookswitch ()
 
 PsTaoHookswitch (const PsTaoHookswitch &rPsTaoHookswitch)
 
PsTaoHookswitchoperator= (const PsTaoHookswitch &rhs)
 

Private Attributes

int mHookState
 

Friends

class PsPhoneTask
 

Additional Inherited Members

- Protected Attributes inherited from PsTaoComponent
OsMutex mMutex
 
UtlString mName
 
int mType
 

Member Enumeration Documentation

Enumerator
ON_HOOK 
OFF_HOOK 

Constructor & Destructor Documentation

PsTaoHookswitch ( const UtlString &  rComponentName,
int  componentType 
)
protected
~PsTaoHookswitch ( )
privatevirtual
PsTaoHookswitch ( )
private
PsTaoHookswitch ( const PsTaoHookswitch rPsTaoHookswitch)
private

Member Function Documentation

int getHookSwitchState ( void  )
PsTaoHookswitch & operator= ( const PsTaoHookswitch rhs)
private
void setHookSwitch ( int  hookswitchState)

Friends And Related Function Documentation

friend class PsPhoneTask
friend

Member Data Documentation

int mHookState
private