RTP Audio System  2.0.0
RTCPCommonHeader Struct Reference

RTCP Common Header. More...

#include <rtcppacket.h>

Inheritance diagram for RTCPCommonHeader:
RTCPApp RTCPBye RTCPReport RTCPSourceDescription RTCPReceiverReport RTCPSenderReport

List of all members.

Public Member Functions

 RTCPCommonHeader ()
card8 getVersion () const
card8 getPadding () const
card8 getCount () const
card8 getPacketType () const
card16 getLength () const
void setVersion (const card8 version)
void setPadding (const card8 padding)
void setCount (const card8 count)
void setPacketType (const card8 packetType)
void setLength (const card16 length)

Protected Attributes

card8 V:2
card8 P:1
card8 C:5
card8 PT:8
card16 Length

Detailed Description

RTCP Common Header.

This struct manages a common RTCP header.

Author:
Thomas Dreibholz
Version:
1.0
See also:
RTCPSender
RTCPReceiver
RTCPAbstractServer

Constructor & Destructor Documentation


Member Function Documentation

card8 RTCPCommonHeader::getCount ( ) const [inline]

Get count.

Returns:
RTCP count.
card16 RTCPCommonHeader::getLength ( ) const [inline]

Get length.

Returns:
RTCP Length.

Get packet type.

Returns:
RTCP packet type.
card8 RTCPCommonHeader::getPadding ( ) const [inline]

Get padding.

Returns:
RTCP padding.
card8 RTCPCommonHeader::getVersion ( ) const [inline]

Get version.

Returns:
RTCP version.
void RTCPCommonHeader::setCount ( const card8  count) [inline]

Set count.

Parameters:
countRTCP count.
void RTCPCommonHeader::setLength ( const card16  length) [inline]

Set length.

Parameters:
lengthRTCP Length.
void RTCPCommonHeader::setPacketType ( const card8  packetType) [inline]

Set packetType.

Parameters:
packetTypeRTCP packet Type.
void RTCPCommonHeader::setPadding ( const card8  padding) [inline]

Set padding.

Parameters:
paddingRTCP padding.
void RTCPCommonHeader::setVersion ( const card8  version) [inline]

Set version.

Parameters:
versionRTCP version.

Member Data Documentation


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines