INET Framework for OMNeT++/OMNEST
inet::rtp::RTCPPacket Class Reference

#include <RTCPPacket1.h>

Inheritance diagram for inet::rtp::RTCPPacket:
inet::rtp::RTCPPacket_Base inet::rtp::RTCPByePacket_Base inet::rtp::RTCPReceiverReportPacket_Base inet::rtp::RTCPSDESPacket_Base inet::rtp::RTCPByePacket inet::rtp::RTCPReceiverReportPacket inet::rtp::RTCPSDESPacket inet::rtp::RTCPSenderReportPacket_Base inet::rtp::RTCPSenderReportPacket

Public Member Functions

 RTCPPacket (const char *name=nullptr, int kind=0)
 
 RTCPPacket (const RTCPPacket &other)
 
RTCPPacketoperator= (const RTCPPacket &other)
 
virtual RTCPPacketdup () const override
 
virtual int getRtcpLength () const override
 
virtual void setRtcpLength (int rtcpLength_var) override
 
- Public Member Functions inherited from inet::rtp::RTCPPacket_Base
virtual ~RTCPPacket_Base ()
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int8_t getVersion () const
 
virtual void setVersion (int8_t version)
 
virtual bool getPadding () const
 
virtual void setPadding (bool padding)
 
virtual short getCount () const
 
virtual void setCount (short count)
 
virtual short getPacketType () const
 
virtual void setPacketType (short packetType)
 

Additional Inherited Members

- Protected Member Functions inherited from inet::rtp::RTCPPacket_Base
bool operator== (const RTCPPacket_Base &)
 
 RTCPPacket_Base (const char *name=nullptr, short kind=0)
 
 RTCPPacket_Base (const RTCPPacket_Base &other)
 
RTCPPacket_Baseoperator= (const RTCPPacket_Base &other)
 
- Protected Attributes inherited from inet::rtp::RTCPPacket_Base
int8_t version
 
bool padding
 
short count
 
short packetType
 

Constructor & Destructor Documentation

inet::rtp::RTCPPacket::RTCPPacket ( const char *  name = nullptr,
int  kind = 0 
)
inline
34 : RTCPPacket_Base(name, kind) {};
RTCPPacket_Base(const char *name=nullptr, short kind=0)
inet::rtp::RTCPPacket::RTCPPacket ( const RTCPPacket other)
inline
35 : RTCPPacket_Base(other) {}
RTCPPacket_Base(const char *name=nullptr, short kind=0)

Member Function Documentation

virtual RTCPPacket* inet::rtp::RTCPPacket::dup ( ) const
inlineoverridevirtual
virtual int inet::rtp::RTCPPacket::getRtcpLength ( ) const
inlineoverridevirtual

Implements inet::rtp::RTCPPacket_Base.

44 { return (int)(getByteLength() / 4) - 1; }
RTCPPacket& inet::rtp::RTCPPacket::operator= ( const RTCPPacket other)
inline
36 { RTCPPacket_Base::operator=(other); return *this; }
RTCPPacket_Base & operator=(const RTCPPacket_Base &other)
virtual void inet::rtp::RTCPPacket::setRtcpLength ( int  rtcpLength_var)
inlineoverridevirtual

Implements inet::rtp::RTCPPacket_Base.

45 { throw cRuntimeError("Don't use setRtcpLength()!"); };

The documentation for this class was generated from the following file: