Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

RTPSource Class Reference

#include <rtp.h>

Inheritance diagram for RTPSource:

Inheritance graph
[legend]
Collaboration diagram for RTPSource:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RTPSource (u_int32_t srcid)
u_int32_t srcid ()
int np ()
int snp ()
int ehsr ()
void np (int n)
void snp (int n)
void ehsr (int n)

Public Attributes

RTPSourcenext

Protected Attributes

u_int32_t srcid_
int np_
int snp_
int ehsr_

Constructor & Destructor Documentation

RTPSource::RTPSource u_int32_t  srcid  ) 
 

Definition at line 190 of file session-rtp.cc.

References srcid(), and srcid_.

00191         : next(0), np_(0), snp_(0), ehsr_(-1)
00192 {
00193         bind("srcid_", (int*)&srcid_);
00194         srcid_ = srcid;
00195 }

Here is the call graph for this function:


Member Function Documentation

void RTPSource::ehsr int  n  )  [inline]
 

Definition at line 78 of file rtp.h.

References ehsr_.

00078 { ehsr_ = n; }

int RTPSource::ehsr  )  [inline]
 

Definition at line 74 of file rtp.h.

References ehsr_.

Referenced by RTPSession::recv().

00074 { return (ehsr_); }

void RTPSource::np int  n  )  [inline]
 

Definition at line 76 of file rtp.h.

References np_.

00076 { np_ += n; }

int RTPSource::np  )  [inline]
 

Definition at line 72 of file rtp.h.

References np_.

Referenced by RTPSession::build_report(), RTPSession::localsrc_update(), and RTPSession::recv().

00072 { return (np_); }

void RTPSource::snp int  n  )  [inline]
 

Definition at line 77 of file rtp.h.

References snp_.

00077 { snp_ = n; }

int RTPSource::snp  )  [inline]
 

Definition at line 73 of file rtp.h.

References snp_.

00073 { return (snp_); }

u_int32_t RTPSource::srcid  )  [inline]
 

Definition at line 71 of file rtp.h.

References srcid_, and u_int32_t.

Referenced by RTPSession::lookup(), RTPSource(), and RTPSession::srcid().

00071 { return (srcid_); }


Member Data Documentation

int RTPSource::ehsr_ [protected]
 

Definition at line 83 of file rtp.h.

Referenced by ehsr().

RTPSource* RTPSource::next
 

Definition at line 68 of file rtp.h.

Referenced by RTPSession::enter(), RTPSession::lookup(), and RTPSession::~RTPSession().

int RTPSource::np_ [protected]
 

Definition at line 81 of file rtp.h.

Referenced by np().

int RTPSource::snp_ [protected]
 

Definition at line 82 of file rtp.h.

Referenced by snp().

u_int32_t RTPSource::srcid_ [protected]
 

Definition at line 80 of file rtp.h.

Referenced by RTPSource(), and srcid().


The documentation for this class was generated from the following files:
Generated on Tue Apr 20 13:17:30 2004 for NS2.26SourcesOriginal by doxygen 1.3.3