class Client

Thread that runs the User Interface. More...

Contains pure virtuals
Full nameTelEngine::Client
Definition#include <yatecbase.h>
InheritsTelEngine::Thread [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Protected Methods

Protected Static Methods

Protected Members


Detailed Description

Singleton class that holds the User Interface's main thread and methods

 Client (const char *name = 0)

Client

 ~Client ()

~Client

[virtual]

void  run ()

run

[virtual]

Reimplemented from Runnable.

void  main ()

main

[pure virtual]

void  lock ()

lock

[pure virtual]

void  unlock ()

unlock

[pure virtual]

inline void  lockOther ()

lockOther

inline void  unlockOther ()

unlockOther

void  allHidden ()

allHidden

[pure virtual]

bool  createWindow (const String& name)

createWindow

[pure virtual]

bool  addToLog (const String& text, Window* wnd = 0)

addToLog

[virtual]

bool  setStatus (const String& text, Window* wnd = 0)

setStatus

[virtual]

bool  addToLogLocked (const String& text, Window* wnd = 0)

addToLogLocked

bool  setStatusLocked (const String& text, Window* wnd = 0)

setStatusLocked

bool  action (Window* wnd, const String& name)

action

[virtual]

bool  toggle (Window* wnd, const String& name, bool active)

toggle

[virtual]

bool  select (Window* wnd, const String& name, const String& item, const String& text = String::empty())

select

[virtual]

bool  callRouting (const String& caller, const String& called, Message* msg = 0)

callRouting

[virtual]

bool  callIncoming (const String& caller, const String& dest = String::empty(), Message* msg = 0)

callIncoming

[virtual]

void  updateCDR (const Message& msg)

updateCDR

[virtual]

void  clearActive (const String& id)

clearActive

void  callAccept (const char* callId = 0)

callAccept

void  callReject (const char* callId = 0)

callReject

void  callHangup (const char* callId = 0)

callHangup

bool  callStart (const String& target, const String& line = String::empty(), const String& proto = String::empty(), const String& account = String::empty())

callStart

bool  emitDigit (char digit)

emitDigit

inline bool  oneThread ()

oneThread

[const]

inline int  line ()

line

[const]

void  line (int newLine)

line

bool  hasElement (const String& name, Window* wnd = 0, Window* skip = 0)

hasElement

bool  setActive (const String& name, bool active, Window* wnd = 0, Window* skip = 0)

setActive

bool  setFocus (const String& name, bool select = false, Window* wnd = 0, Window* skip = 0)

setFocus

bool  setShow (const String& name, bool visible, Window* wnd = 0, Window* skip = 0)

setShow

bool  setText (const String& name, const String& text, Window* wnd = 0, Window* skip = 0)

setText

bool  setCheck (const String& name, bool checked, Window* wnd = 0, Window* skip = 0)

setCheck

bool  setSelect (const String& name, const String& item, Window* wnd = 0, Window* skip = 0)

setSelect

bool  setUrgent (const String& name, bool urgent, Window* wnd = 0, Window* skip = 0)

setUrgent

bool  hasOption (const String& name, const String& item, Window* wnd = 0, Window* skip = 0)

hasOption

bool  addOption (const String& name, const String& item, bool atStart, const String& text = String::empty(), Window* wnd = 0, Window* skip = 0)

addOption

bool  delOption (const String& name, const String& item, Window* wnd = 0, Window* skip = 0)

delOption

bool  addTableRow (const String& name, const String& item, const NamedList* data = 0, bool atStart = false, Window* wnd = 0, Window* skip = 0)

addTableRow

bool  delTableRow (const String& name, const String& item, Window* wnd = 0, Window* skip = 0)

delTableRow

bool  setTableRow (const String& name, const String& item, const NamedList* data, Window* wnd = 0, Window* skip = 0)

setTableRow

bool  getTableRow (const String& name, const String& item, NamedList* data = 0, Window* wnd = 0, Window* skip = 0)

getTableRow

bool  clearTable (const String& name, Window* wnd = 0, Window* skip = 0)

clearTable

bool  getText (const String& name, String& text, Window* wnd = 0, Window* skip = 0)

getText

bool  getCheck (const String& name, bool& checked, Window* wnd = 0, Window* skip = 0)

getCheck

bool  getSelect (const String& name, String& item, Window* wnd = 0, Window* skip = 0)

getSelect

void  moveRelated (const Window* wnd, int dx, int dy)

moveRelated

inline bool  initialized ()

initialized

[const]

inline Client*  self ()

self

[static]

inline bool  changing ()

changing

[static]

inline const String&  activeId ()

activeId

[const]

Window*  getWindow (const String& name)

getWindow

[static]

bool  setVisible (const String& name, bool show = true)

setVisible

[static]

bool  getVisible (const String& name)

getVisible

[static]

bool  openPopup (const String& name, const NamedList* params = 0, const Window* parent = 0)

openPopup

[static]

bool  openMessage (const char* text, const Window* parent = 0, const char* context = 0)

openMessage

[static]

bool  openConfirm (const char* text, const Window* parent = 0, const char* context = 0)

openConfirm

[static]

ObjList*  listWindows ()

listWindows

[static]

void  idleActions ()

idleActions

void  loadWindows ()

loadWindows

[protected pure virtual]

void  initWindows ()

initWindows

[protected virtual]

void  initClient ()

initClient

[protected virtual]

void  exitClient ()

exitClient

[protected virtual]

void  setChannelDisplay (ClientChannel* chan)

setChannelDisplay

[protected virtual]

bool  updateCallHist (const NamedList& params)

updateCallHist

[protected virtual]

void  addChannel (ClientChannel* chan)

addChannel

[protected]

void  delChannel (ClientChannel* chan)

delChannel

[protected]

void  setChannel (ClientChannel* chan)

setChannel

[protected]

void  setChannelInternal (ClientChannel* chan)

setChannelInternal

[protected]

void  selectChannel (ClientChannel* chan, bool force = false)

selectChannel

[protected]

void  updateFrom (const String& id)

updateFrom

[protected]

void  updateFrom (const ClientChannel* chan)

updateFrom

[protected]

void  enableAction (const ClientChannel* chan, const String& action)

enableAction

[protected]

inline bool  needProxy ()

needProxy

[protected const]

bool  driverLockLoop ()

driverLockLoop

[protected]

bool  driverLock (long maxwait = 0)

driverLock

[protected static]

void  driverUnlock ()

driverUnlock

[protected static]

ObjList m_windows

m_windows

[protected]

String m_activeId

m_activeId

[protected]

bool m_initialized

m_initialized

[protected]

int m_line

m_line

[protected]

bool m_oneThread

m_oneThread

[protected]

bool m_multiLines

m_multiLines

[protected]

bool m_autoAnswer

m_autoAnswer

[protected]

static Client* s_client

s_client

[protected]

static int s_changing

s_changing

[protected]


Generated by: root on dragoshel on Sat Apr 14 01:50:50 2007, using kdoc 2.0a54.