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

SenderReport Class Reference

#include <reports.h>

List of all members.

Public Member Functions

 SenderReport (const char *name=NULL)
 SenderReport (const SenderReport &senderReport)
virtual ~SenderReport ()
SenderReportoperator= (const SenderReport &senderReport)
virtual cObject * dup () const
virtual const char * className () const
virtual void info (char *buf) const
virtual void writeContents (ostream &os) const
virtual u_int64 ntpTimeStamp ()
virtual void setNTPTimeStamp (u_int64 ntpTimeStamp)
virtual u_int32 rtpTimeStamp ()
virtual void setRTPTimeStamp (u_int32 timeStamp)
virtual u_int32 packetCount ()
virtual void setPacketCount (u_int32 packetCount)
virtual u_int32 byteCount ()
virtual void setByteCount (u_int32 byteCount)

Protected Attributes

u_int64 _ntpTimeStamp
u_int32 _rtpTimeStamp
u_int32 _packetCount
u_int32 _byteCount


Detailed Description

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


Constructor & Destructor Documentation

SenderReport::SenderReport const char *  name = NULL  ) 
 

Default constructor.

SenderReport::SenderReport const SenderReport senderReport  ) 
 

Copy constructor. Needed by omnet++.

SenderReport::~SenderReport  )  [virtual]
 

Destructor.


Member Function Documentation

u_int32 SenderReport::byteCount  )  [virtual]
 

Returns how many bytes have been sent as store in this SenderReport.

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

Returns the class name "SenderReport".

cObject * SenderReport::dup  )  const [virtual]
 

Duplicates this SenderReport by calling the copy constructor.

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

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

u_int64 SenderReport::ntpTimeStamp  )  [virtual]
 

Returns the contained ntp time stamp.

SenderReport & SenderReport::operator= const SenderReport senderReport  ) 
 

Assignment operator.

u_int32 SenderReport::packetCount  )  [virtual]
 

Returns the number of packets sent as stored in this SenderReport.

u_int32 SenderReport::rtpTimeStamp  )  [virtual]
 

Returns the contained rtp time stamp.

void SenderReport::setByteCount u_int32  byteCount  )  [virtual]
 

Sets the value how many bytes have been sent.

void SenderReport::setNTPTimeStamp u_int64  ntpTimeStamp  )  [virtual]
 

Sets the ntp time stamp.

void SenderReport::setPacketCount u_int32  packetCount  )  [virtual]
 

Sets the number of packets sent.

void SenderReport::setRTPTimeStamp u_int32  timeStamp  )  [virtual]
 

Sets the rtp time stamp.

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

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


Member Data Documentation

u_int32 SenderReport::_byteCount [protected]
 

The number of (payload) bytes sent.

u_int64 SenderReport::_ntpTimeStamp [protected]
 

The ntp time stamp.

u_int32 SenderReport::_packetCount [protected]
 

The number of packets sent.

u_int32 SenderReport::_rtpTimeStamp [protected]
 

The rtp time stamp.


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