RTPSSRCGate Class Reference

#include <RTPSSRCGate.h>

List of all members.


Detailed Description

The class RTPSSRCGate is just a small helper class used by an RTPProfile module to store the association between an ssrc identifier and the gate which leads to the RTPPayloadReceiver module.


Public Member Functions

 RTPSSRCGate (u_int ssrc=0)
 RTPSSRCGate (const RTPSSRCGate &rtpSSRCGate)
virtual ~RTPSSRCGate ()
virtual u_int32 ssrc ()
virtual void setSSRC (u_int32 ssrc)
virtual int gateId ()
virtual void setGateId (int gateId)

Protected Attributes

u_int32 _ssrc
int _gateId


Constructor & Destructor Documentation

RTPSSRCGate::RTPSSRCGate ( u_int  ssrc = 0  ) 

Default constructor.

00032                                      : cObject() {
00033     _ssrc = ssrc;
00034     setName(RTPParticipantInfo::ssrcToName(_ssrc));
00035 };

RTPSSRCGate::RTPSSRCGate ( const RTPSSRCGate rtpSSRCGate  ) 

Copy constructor.

00038                                                        {
00039     cObject::operator=(rtpSSRCGate);
00040     _ssrc = rtpSSRCGate._ssrc;
00041 };

RTPSSRCGate::~RTPSSRCGate (  )  [virtual]

Destructor.

00044                           {
00045 
00046 };


Member Function Documentation

int RTPSSRCGate::gateId (  )  [virtual]

Returns the id of the gate.

00059                         {
00060     return _gateId;
00061 };

void RTPSSRCGate::setGateId ( int  gateId  )  [virtual]

Sets the id of the gate.

00064                                       {
00065     _gateId = gateId;
00066 };

void RTPSSRCGate::setSSRC ( u_int32  ssrc  )  [virtual]

Sets the ssrc identifier.

00054                                       {
00055     _ssrc = ssrc;
00056 };

u_int32 RTPSSRCGate::ssrc (  )  [virtual]

Returns the ssrc identifier.

00049                           {
00050     return _ssrc;
00051 };


Member Data Documentation

int RTPSSRCGate::_gateId [protected]

The gate id.

u_int32 RTPSSRCGate::_ssrc [protected]

The ssrc identifier.


The documentation for this class was generated from the following files:
Generated on Wed Apr 4 13:20:24 2007 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.7