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

The class SenderReport represents an RTP sender report as contained in an RTCPSenderReportPacket. More...

#include <reports.h>

Inheritance diagram for inet::rtp::SenderReport:
inet::rtp::SenderReport_Base

Public Member Functions

 SenderReport ()
 
 SenderReport (const SenderReport &other)
 
SenderReportoperator= (const SenderReport &other)
 
virtual SenderReportdup () const override
 
virtual std::string info () const override
 Writes a short info about this SenderReport into the given string. More...
 
virtual void dump (std::ostream &os) const
 Writes a longer info about this SenderReport into the given stream. More...
 
- Public Member Functions inherited from inet::rtp::SenderReport_Base
virtual ~SenderReport_Base ()
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint64_t getNTPTimeStamp () const
 
virtual void setNTPTimeStamp (uint64_t NTPTimeStamp)
 
virtual uint32_t getRTPTimeStamp () const
 
virtual void setRTPTimeStamp (uint32_t RTPTimeStamp)
 
virtual uint32_t getPacketCount () const
 
virtual void setPacketCount (uint32_t packetCount)
 
virtual uint32_t getByteCount () const
 
virtual void setByteCount (uint32_t byteCount)
 

Additional Inherited Members

- Protected Member Functions inherited from inet::rtp::SenderReport_Base
bool operator== (const SenderReport_Base &)
 
 SenderReport_Base ()
 
 SenderReport_Base (const SenderReport_Base &other)
 
SenderReport_Baseoperator= (const SenderReport_Base &other)
 
- Protected Attributes inherited from inet::rtp::SenderReport_Base
uint64_t NTPTimeStamp
 
uint32_t RTPTimeStamp
 
uint32_t packetCount
 
uint32_t byteCount
 

Detailed Description

The class SenderReport represents an RTP sender report as contained in an RTCPSenderReportPacket.

Constructor & Destructor Documentation

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

Member Function Documentation

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

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

38 {
39  os << "SenderReport:" << endl;
40  os << " ntpTimeStamp = " << getNTPTimeStamp() << endl;
41  os << " rtpTimeStamp = " << getRTPTimeStamp() << endl;
42  os << " packetCount = " << getPacketCount() << endl;
43  os << " byteCount = " << getByteCount() << endl;
44 }
virtual uint64_t getNTPTimeStamp() const
virtual uint32_t getPacketCount() const
virtual uint32_t getByteCount() const
virtual uint32_t getRTPTimeStamp() const
virtual SenderReport* inet::rtp::SenderReport::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::rtp::SenderReport_Base.

43 { return new SenderReport(*this); }
SenderReport()
Definition: reports.h:40
std::string inet::rtp::SenderReport::info ( ) const
overridevirtual

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

31 {
32  std::stringstream out;
33  out << "SenderReport.timeStamp=" << getRTPTimeStamp();
34  return out.str();
35 }
virtual uint32_t getRTPTimeStamp() const
SenderReport& inet::rtp::SenderReport::operator= ( const SenderReport other)
inline
42 { SenderReport_Base::operator=(other); return *this; }
SenderReport_Base & operator=(const SenderReport_Base &other)

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