OpalDynaCodecStandardVideoCapability Class Reference

#include <dynacodec.h>

Inheritance diagram for OpalDynaCodecStandardVideoCapability:

H323VideoCapability H323RealTimeCapability H323Capability List of all members.

Public Member Functions

 OpalDynaCodecStandardVideoCapability (const OpalDLLCodecRec &_info, H323EndPoint &_endpoint, unsigned subType)
BOOL OnSendingPDU (H245_VideoCapability &pdu) const
BOOL OnSendingPDU (H245_VideoMode &pdu) const
BOOL OnReceivedPDU (const H245_VideoCapability &pdu)
PObject * Clone () const
H323CodecCreateCodec (H323Codec::Direction direction) const
PString GetFormatName () const
unsigned GetSubType () const

Protected Attributes

const OpalDLLCodecRecinfo
H323EndPointendpoint
unsigned subType

Constructor & Destructor Documentation

OpalDynaCodecStandardVideoCapability::OpalDynaCodecStandardVideoCapability ( const OpalDLLCodecRec _info,
H323EndPoint _endpoint,
unsigned  subType 
)


Member Function Documentation

PObject* OpalDynaCodecStandardVideoCapability::Clone (  )  const

H323Codec* OpalDynaCodecStandardVideoCapability::CreateCodec ( H323Codec::Direction  direction  )  const [virtual]

Create the codec instance, allocating resources as required.

Implements H323Capability.

PString OpalDynaCodecStandardVideoCapability::GetFormatName (  )  const [virtual]

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

Implements H323Capability.

unsigned OpalDynaCodecStandardVideoCapability::GetSubType (  )  const [virtual]

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

Implements H323Capability.

BOOL OpalDynaCodecStandardVideoCapability::OnReceivedPDU ( const H245_VideoCapability pdu  )  [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 is pure.

Implements H323VideoCapability.

BOOL OpalDynaCodecStandardVideoCapability::OnSendingPDU ( H245_VideoMode pdu  )  const [virtual]

This function is called whenever and outgoing RequestMode 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 PDUs tag according to the GetSubType() function (translated to different enum).

Implements H323VideoCapability.

BOOL OpalDynaCodecStandardVideoCapability::OnSendingPDU ( H245_VideoCapability pdu  )  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 is pure.

Implements H323VideoCapability.


Member Data Documentation

H323EndPoint& OpalDynaCodecStandardVideoCapability::endpoint [protected]

const OpalDLLCodecRec& OpalDynaCodecStandardVideoCapability::info [protected]

unsigned OpalDynaCodecStandardVideoCapability::subType [protected]


The documentation for this class was generated from the following file:
Generated on Sun Oct 22 13:33:52 2006 for OpenH323 by  doxygen 1.4.7