Main Page | Class Hierarchy | Class List | File List | Class Members

CommsProvider Class Reference

#include <comms.h>

Inheritance diagram for CommsProvider:

Inheritance graph
[legend]
Collaboration diagram for CommsProvider:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CommsProvider (LaunchNewId &_lid, Manager &_manager)
CommsGetNextComms ()

Protected Member Functions

virtual MessageFrameBuildMessageFrame ()
void StartMediaStreams ()
void CloseMediaStreams ()

Protected Attributes

Managermanager

Detailed Description

A class to generate Comms instances ahead of time


Constructor & Destructor Documentation

CommsProvider::CommsProvider LaunchNewId _lid,
Manager _manager
 

Constructor, which creates the thread that builds the thread etc


Member Function Documentation

MessageFrame * CommsProvider::BuildMessageFrame  )  [protected, virtual]
 

Do the work of actually building a new MessageFrame

Reimplemented from MessageFrameListProvider.

void CommsProvider::CloseMediaStreams  )  [protected]
 

Close the current streams of media - which is generated by the audiio Read and Write Threads

Comms * CommsProvider::GetNextComms  ) 
 

Retrieve the next Comms instance

void CommsProvider::StartMediaStreams  )  [protected]
 

Get the media to start to flow, and start the audio read/write methods


Member Data Documentation

Manager& CommsProvider::manager [protected]
 

Reference to the MyManager class, which is required for building Comms classes


The documentation for this class was generated from the following files:
Generated on Sun Jan 29 19:49:01 2006 for SSAm, which is Sofa Switch Answering Machine by  doxygen 1.4.4