#include <opalvxml.h>
Inheritance diagram for G7231_File_Capability:
Public Member Functions | |
G7231_File_Capability () | |
unsigned | GetSubType () const |
PString | GetFormatName () const |
H323Codec * | CreateCodec (H323Codec::Direction direction) const |
BOOL | OnSendingPDU (H245_AudioCapability &cap, unsigned packetSize) const |
BOOL | OnReceivedPDU (const H245_AudioCapability &pdu, unsigned &packetSize) |
PObject * | Clone () const |
G7231_File_Capability::G7231_File_Capability | ( | ) |
unsigned G7231_File_Capability::GetSubType | ( | ) | const [virtual] |
Get the sub-type of the capability. This is a code dependent on the main type of the capability.
Implements H323Capability.
PString G7231_File_Capability::GetFormatName | ( | ) | const [virtual] |
Get the name of the media data format this class represents.
Implements H323Capability.
H323Codec* G7231_File_Capability::CreateCodec | ( | H323Codec::Direction | direction | ) | const [virtual] |
Create the codec instance, allocating resources as required.
Implements H323Capability.
BOOL G7231_File_Capability::OnSendingPDU | ( | H245_AudioCapability & | cap, | |
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 assumes the pdu is an integer number of frames per packet.
Reimplemented from H323AudioCapability.
BOOL G7231_File_Capability::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 assumes the pdu is an integer number of frames per packet.
Reimplemented from H323AudioCapability.
PObject* G7231_File_Capability::Clone | ( | ) | const |