H323ExtendedVideoCapability Class Reference

Inheritance diagram for H323ExtendedVideoCapability:

H323Capability H323GenericCapabilityInfo H323CodecExtendedVideoCapability List of all members.

Operations

virtual H323ChannelCreateChannel (H323Connection &connection, H323Channel::Directions dir, unsigned sessionID, const H245_H2250LogicalChannelParameters *param) const
H323Capabilityoperator[] (PINDEX i)
PINDEX GetSize ()
static void AddAllCapabilities (H323Capabilities &basecapabilities, PINDEX descriptorNum, PINDEX simultaneous)

Public Member Functions

Construction
 H323ExtendedVideoCapability (const PString &capabilityId)
Overrides from class PObject
Comparison Compare (const PObject &obj) const
Identification functions
virtual PString GetFormatName () const
virtual H323Capability::MainTypes GetMainType () const
virtual unsigned GetSubType () const
Protocol manipulation
virtual BOOL OnSendingPDU (H245_Capability &pdu) const
virtual BOOL OnReceivedPDU (const H245_Capability &pdu)
virtual BOOL OnReceivedPDU (const H245_GenericCapability &cap, CommandType type)
virtual BOOL OnSendingPDU (H245_GenericCapability &cap, CommandType type) const
virtual BOOL OnSendingPDU (H245_DataType &pdu) const
virtual BOOL OnSendingPDU (H245_ModeElement &pdu) const
virtual BOOL OnReceivedPDU (const H245_DataType &pdu, BOOL receiver)
virtual BOOL IsMatch (const PASN_Choice &subTypePDU) const

Protected Attributes

H323CapabilitiesList table
 common Capability List

Static Protected Attributes

static H323Capabilities localCapabilities
 local Capability List

Detailed Description

Definition at line 2461 of file h323caps.h.


Constructor & Destructor Documentation

H323ExtendedVideoCapability::H323ExtendedVideoCapability ( const PString &  capabilityId  ) 

Create a new Extended Video capability.

Parameters:
capabilityId  Extended Capability OID


Member Function Documentation

Comparison H323ExtendedVideoCapability::Compare ( const PObject &  obj  )  const

Compare two capability instances. This compares the main and sub-types of the capability.

Reimplemented from H323Capability.

virtual PString H323ExtendedVideoCapability::GetFormatName (  )  const [inline, virtual]

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

Implements H323Capability.

Definition at line 2487 of file h323caps.h.

virtual H323Capability::MainTypes H323ExtendedVideoCapability::GetMainType (  )  const [virtual]

Get the main type of the capability. Always returns e_ExtendedVideo.

Implements H323Capability.

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

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

This returns one of the four possible combinations of mode and speed using the enum values of the protocol ASN H245_AudioCapability class.

Implements H323Capability.

virtual BOOL H323ExtendedVideoCapability::OnSendingPDU ( H245_Capability pdu  )  const [virtual]

This function is called whenever and outgoing TerminalCapabilitySet 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 calls the OnSendingPDU() function with a more specific PDU type.

Parameters:
pdu  PDU to set information on

Implements H323Capability.

virtual BOOL H323ExtendedVideoCapability::OnReceivedPDU ( const H245_Capability pdu  )  [virtual]

This function is called whenever and incoming TerminalCapabilitySet PDU is received on the control channel, and a new H323Capability descendent was created. This completes reading fields from the PDU into the classes members.

If the function returns FALSE then the received PDU codec description is not supported, so will be ignored. The default behaviour simply returns TRUE.

Parameters:
pdu  PDU to get information from

Reimplemented from H323Capability.

virtual BOOL H323ExtendedVideoCapability::OnReceivedPDU ( const H245_GenericCapability cap,
CommandType  type 
) [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 does nothing.

Parameters:
cap  PDU to get information from
type  Type of PDU to send in

virtual BOOL H323ExtendedVideoCapability::OnSendingPDU ( H245_GenericCapability cap,
CommandType  type 
) 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 does nothing.

Parameters:
cap  PDU to get information from
type  Type of PDU to send in

virtual BOOL H323ExtendedVideoCapability::OnSendingPDU ( H245_DataType pdu  )  const [virtual]

This function is called whenever and outgoing 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.

Parameters:
pdu  PDU to set information on

Implements H323Capability.

virtual BOOL H323ExtendedVideoCapability::OnSendingPDU ( H245_ModeElement 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 is pure.

Parameters:
pdu  PDU to set information on

Implements H323Capability.

virtual BOOL H323ExtendedVideoCapability::OnReceivedPDU ( const H245_DataType pdu,
BOOL  receiver 
) [virtual]

This function is called whenever and incoming 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.

Parameters:
pdu  PDU to get information from
receiver  Is receiver OLC

Implements H323Capability.

virtual BOOL H323ExtendedVideoCapability::IsMatch ( const PASN_Choice &  subTypePDU  )  const [virtual]

Compare the generic part of the capability, if applicable.

Parameters:
subTypePDU  sub-type PDU of H323Capability

Reimplemented from H323Capability.

virtual H323Channel* H323ExtendedVideoCapability::CreateChannel ( H323Connection connection,
H323Channel::Directions  dir,
unsigned  sessionID,
const H245_H2250LogicalChannelParameters param 
) const [virtual]

Create the channel instance, allocating resources as required.

Parameters:
connection  Owner connection for channel
dir  Direction of channel
sessionID  Session ID for RTP channel
param  Parameters for channel

Implements H323Capability.

H323Capability& H323ExtendedVideoCapability::operator[] ( PINDEX  i  ) 

Get matching Capability from List

PINDEX H323ExtendedVideoCapability::GetSize (  )  [inline]

Get Number of matching Capabilities

Definition at line 2614 of file h323caps.h.

References table.

static void H323ExtendedVideoCapability::AddAllCapabilities ( H323Capabilities basecapabilities,
PINDEX  descriptorNum,
PINDEX  simultaneous 
) [static]

Add All Capabilities

Parameters:
basecapabilities  Base Table to add capability to
descriptorNum  The member of the capabilityDescriptor to add
simultaneous  The member of the SimultaneousCapabilitySet to add


The documentation for this class was generated from the following file:
Generated on Thu Oct 25 13:45:25 2007 for h323plus by  doxygen 1.5.2