Intel 05-2065-002 manual Voice Module Classes, Module CVoiceModule Init, Board CVoiceBoard Init

Page 35

Demo Details

Table 7. Voice Module Classes

Category

 

Class Name

 

Interface

 

 

 

Module

CVoiceModule

Init( )

 

Interacts with CVoiceBoard and

Opens and initializes voice board objects

 

 

CVoiceDevice.

Opens and initializes voice device objects

 

Exports Voice module functions to

 

 

 

Exit( )

 

 

CEventRouter.

 

 

Terminates and closes voice boards

 

Note: The public functions in this class can

 

Terminates and closes voice devices

 

 

be accessed by classes outside the

 

 

Voice module.

 

 

 

 

ProcessEvent( )

 

 

 

 

 

 

Receives event data from the event

 

 

 

 

router and distributes them, based on

 

 

 

 

devicehandles, to voice boards or voice

 

 

 

 

devices for processing

 

 

 

Board

CVoiceBoard

Init( )

 

Interacts with the voice library to handle

Opens voice board

 

 

voice boards

 

 

 

 

Exit( )

 

Note: The public function in this class

 

Closes voice board

 

 

should only be accessed by classes

 

 

 

 

 

 

inside the Voice module.

ProcessEvent( )

 

 

 

Processes voice board events

 

 

 

 

 

IP Media Server (Global Call) Demo Guide — November 2003

35

Image 35
Contents For Windows Operating Systems IP Media Server Global Call Demo GuideIP Media Server Global Call Demo Guide November Contents Contents Figures Tables Document No Publication Date Description of Revisions Revision HistoryRevision History Intended Audience How to Use This PublicationAbout This Publication PurposeAbout This Publication Related InformationDemo1 Description Demo Description Software Requirements System2 RequirementsHardware Requirements System Requirements File Location Editing Configuration FilesEditing the IPMediaServer.cfg Configuration File Preparing To Run the DemoSample Configuration File Compiling and Linking Preparing to Run the Demo Demo Options Command Line SwitchesRunning4 Demo Starting the DemoRuntime Keyboard Commands Using the DemoKeyboard Commands Using the Media ServerConfirm Message Saved StopRecMenu Demo Voice Menu Flowchart Stopping the Demo Running the Demo Files Used by the IP Media Server Global Call Demo Demo5 DetailsFiles Used by the Demo Demo Source Code FilesDemo Details PDL Files Used by the IP Media Server Global Call Demo PDL FilesModule Structure Programming ModelIP Media Server Global Call Demo Architecture EventRouterEventRouter InterfacesApplication Classes ClassesIP Module Classes CIPMBoard Init Board CIPTBoard InitGetNumOfDevicesOnBoard GetXmitSlot Device CIPDevice InitConnect DisconnectBoard CVoiceBoard Init Voice Module ClassesModule CVoiceModule Init Record Device CVoiceDevice InitPlay OnPlayCompleteThreads Initialization Event Mechanism Event HandlingTSUsrEvent Structure Handling Keyboard Input EventsHandling SRL Events Handling Application Exit EventsDemo Details Demo Details Glossary IP Media Server Global Call Demo Guide November IP Media Server Global Call Demo Guide November IP Media Server Global Call Demo Guide November Index SymbolsIP Media Server Global Call Demo Guide November