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

#include <RTCPPacket2.h>

Inheritance diagram for inet::rtp::RTCPSDESPacket:
inet::rtp::RTCPSDESPacket_Base inet::rtp::RTCPPacket inet::rtp::RTCPPacket_Base

Public Member Functions

 RTCPSDESPacket (const char *name=nullptr, int kind=0)
 
 RTCPSDESPacket (const RTCPSDESPacket &other)
 
RTCPSDESPacketoperator= (const RTCPSDESPacket &other)
 
virtual RTCPSDESPacketdup () const override
 
void addSDESChunk (SDESChunk *sdesChunk)
 
- Public Member Functions inherited from inet::rtp::RTCPSDESPacket_Base
virtual ~RTCPSDESPacket_Base ()
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual cArray & getSdesChunks ()
 
virtual const cArray & getSdesChunks () const
 
virtual void setSdesChunks (const cArray &sdesChunks)
 
- Public Member Functions inherited from inet::rtp::RTCPPacket
 RTCPPacket (const char *name=nullptr, int kind=0)
 
 RTCPPacket (const RTCPPacket &other)
 
RTCPPacketoperator= (const RTCPPacket &other)
 
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 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::RTCPSDESPacket_Base
bool operator== (const RTCPSDESPacket_Base &)
 
 RTCPSDESPacket_Base (const char *name=nullptr, short kind=0)
 
 RTCPSDESPacket_Base (const RTCPSDESPacket_Base &other)
 
RTCPSDESPacket_Baseoperator= (const RTCPSDESPacket_Base &other)
 
- 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::RTCPSDESPacket_Base
cArray sdesChunks
 
- Protected Attributes inherited from inet::rtp::RTCPPacket_Base
int8_t version
 
bool padding
 
short count
 
short packetType
 

Constructor & Destructor Documentation

inet::rtp::RTCPSDESPacket::RTCPSDESPacket ( const char *  name = nullptr,
int  kind = 0 
)
54  : RTCPSDESPacket_Base(name, kind)
55 {
56  sdesChunks.setName("SDESChunks");
57  // no addByteLength() needed, sdes chunks
58  // directly follow the standard rtcp
59  // header
60 };
RTCPSDESPacket_Base(const char *name=nullptr, short kind=0)
cArray sdesChunks
Definition: RTCPPacket2_m.h:146
inet::rtp::RTCPSDESPacket::RTCPSDESPacket ( const RTCPSDESPacket other)
inline
49 : RTCPSDESPacket_Base(other) {}
RTCPSDESPacket_Base(const char *name=nullptr, short kind=0)

Member Function Documentation

void inet::rtp::RTCPSDESPacket::addSDESChunk ( SDESChunk sdesChunk)

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

63 {
64  sdesChunks.add(sdesChunk);
65  count++;
66  // the size of the rtcp packet increases by the
67  // size of the sdes chunk (including ssrc)
68  addByteLength(sdesChunk->getLength());
69 };
short count
Definition: RTCPPacket1_m.h:104
cArray sdesChunks
Definition: RTCPPacket2_m.h:146
virtual RTCPSDESPacket* inet::rtp::RTCPSDESPacket::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::rtp::RTCPSDESPacket_Base.

51 { return new RTCPSDESPacket(*this); }
RTCPSDESPacket(const char *name=nullptr, int kind=0)
Definition: RTCPPacket.cc:53
RTCPSDESPacket& inet::rtp::RTCPSDESPacket::operator= ( const RTCPSDESPacket other)
inline
50 { RTCPSDESPacket_Base::operator=(other); return *this; }
RTCPSDESPacket_Base & operator=(const RTCPSDESPacket_Base &other)

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