INET Framework for OMNeT++/OMNEST
|
Class generated from inet/transportlayer/rtp/reports.msg:38
by nedtool.
More...
#include <reports_m.h>
Public Member Functions | |
virtual | ~ReceptionReport_Base () |
virtual ReceptionReport_Base * | dup () const override |
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) |
Protected Member Functions | |
bool | operator== (const ReceptionReport_Base &) |
ReceptionReport_Base () | |
ReceptionReport_Base (const ReceptionReport_Base &other) | |
ReceptionReport_Base & | operator= (const ReceptionReport_Base &other) |
Protected Attributes | |
uint32_t | ssrc |
uint8_t | fractionLost |
int | packetsLostCumulative |
uint32_t | sequenceNumber |
int | jitter |
int | lastSR |
int | delaySinceLastSR |
Private Member Functions | |
void | copy (const ReceptionReport_Base &other) |
Class generated from inet/transportlayer/rtp/reports.msg:38
by nedtool.
// // Rrepresents an RTP receiver report stored // in an RTPSenderReportPacket or RTPReceiverReport. // class ReceptionReport { @customize(true);
// The ssrc identifier of the sender this ~ReceptionReport is for. uint32 ssrc;
// The fraction lost. uint8 fractionLost;
// The number of packets expected minus the number of packets received. int packetsLostCumulative;
// The extended highest sequence number received. uint32 sequenceNumber;
// The interarrival jitter. int jitter;
// The rtp time stamp of the last ~SenderReport received from this source. int lastSR;
// The delay since the last ~SenderReport from this sender has been // received in units of 1/65536 seconds. int delaySinceLastSR; }
ReceptionReport_Base is only useful if it gets subclassed, and ReceptionReport is derived from it. The minimum code to be written for ReceptionReport is the following:
class INET_API ReceptionReport : public ReceptionReport_Base { private: void copy(const ReceptionReport& other) { ... }
public: ReceptionReport() : ReceptionReport_Base() {} ReceptionReport(const ReceptionReport& other) : ReceptionReport_Base(other) {copy(other);} ReceptionReport& operator=(const ReceptionReport& other) {if (this==&other) return *this; ReceptionReport_Base::operator=(other); copy(other); return *this;} virtual ReceptionReport *dup() const override {return new ReceptionReport(*this);} // ADD CODE HERE to redefine and implement pure virtual functions from ReceptionReport_Base };
The following should go into a .cc (.cpp) file:
Register_Class(ReceptionReport)
|
protected |
|
protected |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented in inet::rtp::ReceptionReport.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
Referenced by inet::rtp::ReceptionReport::operator=().
|
protected |
|
overridevirtual |
|
overridevirtual |
|
virtual |
Referenced by inet::rtp::RTPReceiverInfo::receptionReport().
|
virtual |
Referenced by inet::rtp::RTPReceiverInfo::receptionReport().
|
virtual |
Referenced by inet::rtp::RTPReceiverInfo::receptionReport().
|
virtual |
Referenced by inet::rtp::RTPReceiverInfo::receptionReport().
|
virtual |
Referenced by inet::rtp::RTPReceiverInfo::receptionReport().
|
virtual |
Referenced by inet::rtp::RTPReceiverInfo::receptionReport().
|
virtual |
Referenced by inet::rtp::RTPReceiverInfo::receptionReport().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |