H323_G7231Capability Class Reference

#include <h323caps.h>

Inheritance diagram for H323_G7231Capability:

H323AudioCapability H323RealTimeCapability H323Capability List of all members.

Public Member Functions

Construction
 H323_G7231Capability (BOOL allowSIDFrames=TRUE)
Overrides from class PObject
virtual PObject * Clone () const
Identification functions
virtual unsigned GetSubType () const
virtual PString GetFormatName () const
Protocol manipulation
virtual BOOL OnSendingPDU (H245_AudioCapability &pdu, unsigned packetSize) const
virtual BOOL OnReceivedPDU (const H245_AudioCapability &pdu, unsigned &packetSize)

Protected Attributes

BOOL allowSIDFrames

Detailed Description

This class describes the G.723.1 codec capability.


Constructor & Destructor Documentation

H323_G7231Capability::H323_G7231Capability ( BOOL  allowSIDFrames = TRUE  ) 

Create a new G.723.1 capability.

Parameters:
allowSIDFrames  Allow SID frames in data stream.


Member Function Documentation

virtual PObject* H323_G7231Capability::Clone (  )  const [virtual]

Create a copy of the object.

virtual PString H323_G7231Capability::GetFormatName (  )  const [virtual]

Get the name of the media data format this class represents.

Implements H323Capability.

virtual unsigned H323_G7231Capability::GetSubType (  )  const [virtual]

Get the sub-type of the capability. This is a code dependent on the main type of the capability.

Implements H323Capability.

virtual BOOL H323_G7231Capability::OnReceivedPDU ( const H245_AudioCapability pdu,
unsigned &  packetSize 
) [virtual]

This function is called whenever and incoming TerminalCapabilitySet or OpenLogicalChannel PDU has been used to construct the control channel. It allows the capability to set from the PDU fields, information in members specific to the class.

The default behaviour gets the data rate field from the PDU.

Parameters:
pdu  PDU to get information from
packetSize  Packet size to use in capability

Reimplemented from H323AudioCapability.

virtual BOOL H323_G7231Capability::OnSendingPDU ( H245_AudioCapability pdu,
unsigned  packetSize 
) const [virtual]

This function is called whenever and outgoing TerminalCapabilitySet or OpenLogicalChannel PDU is being constructed for the control channel. It allows the capability to set the PDU fields from information in members specific to the class.

The default behaviour sets the data rate field in the PDU.

Parameters:
pdu  PDU to set information on
packetSize  Packet size to use in capability

Reimplemented from H323AudioCapability.


Member Data Documentation

BOOL H323_G7231Capability::allowSIDFrames [protected]


The documentation for this class was generated from the following file:
Generated on Mon Sep 25 16:21:27 2006 for OPAL by  doxygen 1.4.7