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

#include <RTCPPacket1.h>

Inheritance diagram for inet::rtp::RTCPCompoundPacket:
inet::rtp::RTCPCompoundPacket_Base

Public Member Functions

 RTCPCompoundPacket (const char *name=nullptr, int kind=0)
 
 RTCPCompoundPacket (const RTCPCompoundPacket &other)
 
RTCPCompoundPacketoperator= (const RTCPCompoundPacket &other)
 
virtual RTCPCompoundPacketdup () const override
 
void addRTCPPacket (RTCPPacket *rtcpPacket)
 
- Public Member Functions inherited from inet::rtp::RTCPCompoundPacket_Base
virtual ~RTCPCompoundPacket_Base ()
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual cArray & getRtcpPackets ()
 
virtual const cArray & getRtcpPackets () const
 
virtual void setRtcpPackets (const cArray &rtcpPackets)
 

Additional Inherited Members

- Protected Member Functions inherited from inet::rtp::RTCPCompoundPacket_Base
bool operator== (const RTCPCompoundPacket_Base &)
 
 RTCPCompoundPacket_Base (const char *name=nullptr, short kind=0)
 
 RTCPCompoundPacket_Base (const RTCPCompoundPacket_Base &other)
 
RTCPCompoundPacket_Baseoperator= (const RTCPCompoundPacket_Base &other)
 
- Protected Attributes inherited from inet::rtp::RTCPCompoundPacket_Base
cArray rtcpPackets
 

Constructor & Destructor Documentation

inet::rtp::RTCPCompoundPacket::RTCPCompoundPacket ( const char *  name = nullptr,
int  kind = 0 
)
inline
51 : RTCPCompoundPacket_Base(name, kind) {};
RTCPCompoundPacket_Base(const char *name=nullptr, short kind=0)
inet::rtp::RTCPCompoundPacket::RTCPCompoundPacket ( const RTCPCompoundPacket other)
inline
52 : RTCPCompoundPacket_Base(other) {}
RTCPCompoundPacket_Base(const char *name=nullptr, short kind=0)

Member Function Documentation

void inet::rtp::RTCPCompoundPacket::addRTCPPacket ( RTCPPacket rtcpPacket)

Referenced by inet::rtp::RTCP::createPacket().

15 {
16  //rtcpPacket->setOwner(_rtcpPackets);
17  rtcpPackets.add(rtcpPacket);
18  // the size of the rtcp compound packet increases
19  // by the size of the added rtcp packet
20  addByteLength(rtcpPacket->getByteLength());
21 };
cArray rtcpPackets
Definition: RTCPPacket1_m.h:176
virtual RTCPCompoundPacket* inet::rtp::RTCPCompoundPacket::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::rtp::RTCPCompoundPacket_Base.

54 { return new RTCPCompoundPacket(*this); }
RTCPCompoundPacket(const char *name=nullptr, int kind=0)
Definition: RTCPPacket1.h:51
RTCPCompoundPacket& inet::rtp::RTCPCompoundPacket::operator= ( const RTCPCompoundPacket other)
inline
53 { RTCPCompoundPacket_Base::operator=(other); return *this; }
RTCPCompoundPacket_Base & operator=(const RTCPCompoundPacket_Base &other)

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