Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

aaScript Class Reference

We derive a Bayonne server version of ScriptCommand, aaScript, which holds most common elements of the script engine for Bayonne use.Bayonne script dialect. More...

#include <bayonne.h>

Inheritance diagram for aaScript:

ScriptCommand Keydata Mutex Script MemPager List of all members.

Public Member Functions

 aaScript ()
 Default scripting environment.
 aaScript (aaScript *ini)
 Create and bind additional script boxes.
void addDummy (const char *names)
 Add unused commands to aaScript for compiler clean-ness.

Static Public Member Functions

static aaScriptget (const char *id, aaScript *base=NULL)
 Find a script box by name.

Protected Member Functions

unsigned long getTrapMask (const char *trapname)
 New GetTrapMask() used to set DTMF bit when dtmf digits are also requested in ^traps.

Protected Attributes

aaScriptnext
 Linked list of boxes.

Detailed Description

We derive a Bayonne server version of ScriptCommand, aaScript, which holds most common elements of the script engine for Bayonne use.Bayonne script dialect.

Individual drivers may further derive sub-dialects.

Author:
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

aaScript::aaScript  ) 
 

Default scripting environment.

aaScript::aaScript aaScript ini  ) 
 

Create and bind additional script boxes.


Member Function Documentation

void aaScript::addDummy const char *  names  ) 
 

Add unused commands to aaScript for compiler clean-ness.

Parameters:
names of commands to add.

static aaScript* aaScript::get const char *  id,
aaScript base = NULL
[static]
 

Find a script box by name.

unsigned long aaScript::getTrapMask const char *  trapname  )  [protected, virtual]
 

New GetTrapMask() used to set DTMF bit when dtmf digits are also requested in ^traps.

Returns:
trap mask to apply.
Parameters:
trap name being evaluated.

Reimplemented from ScriptCommand.


Member Data Documentation

aaScript* aaScript::next [protected]
 

Linked list of boxes.


The documentation for this class was generated from the following file:
Generated on Tue Sep 13 02:19:09 2005 for Bayonne by  doxygen 1.4.4