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

The class ReceptionReport represents an RTP receiver report stored in an RTPSenderReportPacket or RTPReceiverReport. More...

#include <reports.h>

Inheritance diagram for inet::rtp::ReceptionReport:
inet::rtp::ReceptionReport_Base

Public Member Functions

 ReceptionReport ()
 
 ReceptionReport (const ReceptionReport &other)
 
ReceptionReportoperator= (const ReceptionReport &other)
 
virtual ReceptionReportdup () const override
 
virtual std::string info () const override
 Writes a short info about this ReceptionReport into the given string. More...
 
virtual void dump (std::ostream &os) const
 Writes a longer info about this ReceptionReport into the given stream. More...
 
- Public Member Functions inherited from inet::rtp::ReceptionReport_Base
virtual ~ReceptionReport_Base ()
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint32_t getSsrc () const
 
virtual void setSsrc (uint32_t ssrc)
 
virtual uint8_t getFractionLost () const
 
virtual void setFractionLost (uint8_t fractionLost)
 
virtual int getPacketsLostCumulative () const
 
virtual void setPacketsLostCumulative (int packetsLostCumulative)
 
virtual uint32_t getSequenceNumber () const
 
virtual void setSequenceNumber (uint32_t sequenceNumber)
 
virtual int getJitter () const
 
virtual void setJitter (int jitter)
 
virtual int getLastSR () const
 
virtual void setLastSR (int lastSR)
 
virtual int getDelaySinceLastSR () const
 
virtual void setDelaySinceLastSR (int delaySinceLastSR)
 

Additional Inherited Members

- Protected Member Functions inherited from inet::rtp::ReceptionReport_Base
bool operator== (const ReceptionReport_Base &)
 
 ReceptionReport_Base ()
 
 ReceptionReport_Base (const ReceptionReport_Base &other)
 
ReceptionReport_Baseoperator= (const ReceptionReport_Base &other)
 
- Protected Attributes inherited from inet::rtp::ReceptionReport_Base
uint32_t ssrc
 
uint8_t fractionLost
 
int packetsLostCumulative
 
uint32_t sequenceNumber
 
int jitter
 
int lastSR
 
int delaySinceLastSR
 

Detailed Description

The class ReceptionReport represents an RTP receiver report stored in an RTPSenderReportPacket or RTPReceiverReport.

Constructor & Destructor Documentation

inet::rtp::ReceptionReport::ReceptionReport ( )
inline
inet::rtp::ReceptionReport::ReceptionReport ( const ReceptionReport other)
inline

Member Function Documentation

void inet::rtp::ReceptionReport::dump ( std::ostream &  os) const
virtual

Writes a longer info about this ReceptionReport into the given stream.

60 {
61  os << "ReceptionReport:" << endl;
62  os << " ssrc = " << getSsrc() << endl;
63  os << " fractionLost = " << (int)getFractionLost() << endl;
64  os << " packetsLostCumulative = " << getPacketsLostCumulative() << endl;
65  os << " extendedHighestSequenceNumber = " << getSequenceNumber() << endl;
66  os << " jitter = " << getJitter() << endl;
67  os << " lastSR = " << getLastSR() << endl;
68  os << " delaySinceLastSR = " << getDelaySinceLastSR() << endl;
69 }
virtual int getDelaySinceLastSR() const
virtual uint32_t getSequenceNumber() const
virtual int getPacketsLostCumulative() const
virtual uint32_t getSsrc() const
virtual int getJitter() const
virtual int getLastSR() const
virtual uint8_t getFractionLost() const
virtual ReceptionReport* inet::rtp::ReceptionReport::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::rtp::ReceptionReport_Base.

68 { return new ReceptionReport(*this); }
ReceptionReport()
Definition: reports.h:65
std::string inet::rtp::ReceptionReport::info ( ) const
overridevirtual

Writes a short info about this ReceptionReport into the given string.

53 {
54  std::stringstream out;
55  out << "ReceptionReport.ssrc=" << getSsrc();
56  return out.str();
57 }
virtual uint32_t getSsrc() const
ReceptionReport& inet::rtp::ReceptionReport::operator= ( const ReceptionReport other)
inline
67 { ReceptionReport_Base::operator=(other); return *this; }
ReceptionReport_Base & operator=(const ReceptionReport_Base &other)

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