Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

ReceptionReport Class Reference

#include <reports.h>

List of all members.

Public Member Functions

 ReceptionReport (const char *name=NULL)
 ReceptionReport (const ReceptionReport &receptionReport)
virtual ~ReceptionReport ()
ReceptionReportoperator= (const ReceptionReport &receptionReport)
virtual cObject * dup () const
virtual const char * className () const
virtual void info (char *buf) const
virtual void writeContents (ostream &os) const
virtual u_int32 ssrc ()
virtual void setSSRC (u_int32 ssrc)
virtual u_int8 fractionLost ()
virtual void setFractionLost (u_int8 fractionLost)
virtual int packetsLostCumulative ()
virtual void setPacketsLostCumulative (int packetLostCumulative)
virtual u_int32 sequenceNumber ()
virtual void setSequenceNumber (u_int32 sequenceNumber)
virtual int jitter ()
virtual void setJitter (int jitter)
virtual int lastSR ()
virtual void setLastSR (int lastSR)
virtual int delaySinceLastSR ()
virtual void setDelaySinceLastSR (int delaySinceLastSR)

Protected Attributes

u_int32 _ssrc
u_int8 _fractionLost
int _packetsLostCumulative
u_int32 _extendedHighestSequenceNumber
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

ReceptionReport::ReceptionReport const char *  name = NULL  ) 
 

Default constructor.

ReceptionReport::ReceptionReport const ReceptionReport receptionReport  ) 
 

Copy constructor..

ReceptionReport::~ReceptionReport  )  [virtual]
 

Destructor.


Member Function Documentation

const char * ReceptionReport::className  )  const [virtual]
 

Returns the class name "ReceptionReport".

int ReceptionReport::delaySinceLastSR  )  [virtual]
 

Returns the delay since the last SenderReport of this sender has been received in units of 1/65536 seconds.

cObject * ReceptionReport::dup  )  const [virtual]
 

Duplicates this ReceptionReport by calling the copy constructor.

u_int8 ReceptionReport::fractionLost  )  [virtual]
 

Returns the fraction of packets lost as stored in this ReceptionReport.

void ReceptionReport::info char *  buf  )  const [virtual]
 

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

int ReceptionReport::jitter  )  [virtual]
 

Returns the interarrival jitter.

int ReceptionReport::lastSR  )  [virtual]
 

Returns the rtp time stamp of the last SenderReport received from this sender.

ReceptionReport & ReceptionReport::operator= const ReceptionReport receptionReport  ) 
 

Assignment operator.

int ReceptionReport::packetsLostCumulative  )  [virtual]
 

Returns the number of expected minus the number of packets received.

u_int32 ReceptionReport::sequenceNumber  )  [virtual]
 

Returns the extended highest sequence number received.

void ReceptionReport::setDelaySinceLastSR int  delaySinceLastSR  )  [virtual]
 

Sets the delay since the last SenderReport of this sender has been received in units of 1/65536 seconds.

void ReceptionReport::setFractionLost u_int8  fractionLost  )  [virtual]
 

Sets the fraction of packets lost.

void ReceptionReport::setJitter int  jitter  )  [virtual]
 

Sets ths interarrival jitter.

void ReceptionReport::setLastSR int  lastSR  )  [virtual]
 

Sets the rtp time stamp of the last SenderReport received from this sender.

void ReceptionReport::setPacketsLostCumulative int  packetLostCumulative  )  [virtual]
 

Sets the number of expected minus the number of packets received.

void ReceptionReport::setSequenceNumber u_int32  sequenceNumber  )  [virtual]
 

Set the extended highest sequence number received.

void ReceptionReport::setSSRC u_int32  ssrc  )  [virtual]
 

Sets the ssrc identifier of the sender this ReceptionReport is for.

u_int32 ReceptionReport::ssrc  )  [virtual]
 

Returns the ssrc identifier for which sender this ReceptionReport is.

void ReceptionReport::writeContents ostream &  os  )  const [virtual]
 

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


Member Data Documentation

int ReceptionReport::_delaySinceLastSR [protected]
 

The delay since the last SenderReport from this sender has been received in units of 1/65536 seconds.

u_int32 ReceptionReport::_extendedHighestSequenceNumber [protected]
 

The extended highest sequence number received.

u_int8 ReceptionReport::_fractionLost [protected]
 

The fraction lost.

int ReceptionReport::_jitter [protected]
 

The interarrival jitter.

int ReceptionReport::_lastSR [protected]
 

The rtp time stamp of the last SenderReport received from this source.

int ReceptionReport::_packetsLostCumulative [protected]
 

The number of packets expected minus the number of packets received.

u_int32 ReceptionReport::_ssrc [protected]
 

The ssrc identifier of the sender this ReceptionReport is for.


The documentation for this class was generated from the following files:
Generated on Tue Sep 12 12:20:21 2006 for RTP model for OMNeT++ by  doxygen 1.4.2