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

SDESChunk Class Reference

#include <sdes.h>

List of all members.

Public Member Functions

 SDESChunk (const char *name=NULL, u_int32 ssrc=0)
 SDESChunk (const SDESChunk &sdesChunk)
virtual ~SDESChunk ()
SDESChunkoperator= (const SDESChunk &sdesChunk)
virtual cObject * dup () const
virtual const char * className () const
virtual void info (char *buf)
virtual void writeContents (ostream &os)
virtual void addSDESItem (SDESItem *item)
virtual u_int32 ssrc ()
virtual void setSSRC (u_int32 ssrc)
virtual int length ()

Protected Attributes

u_int32 _ssrc
int _length


Detailed Description

The class SDESChunk is used for storing SDESItem objects for one rtp end system.


Constructor & Destructor Documentation

SDESChunk::SDESChunk const char *  name = NULL,
u_int32  ssrc = 0
 

Default constructor.

SDESChunk::SDESChunk const SDESChunk sdesChunk  ) 
 

Copy constructor.

SDESChunk::~SDESChunk  )  [virtual]
 

Destructor.


Member Function Documentation

void SDESChunk::addSDESItem SDESItem item  )  [virtual]
 

Adds an SDESItem to this SDESChunk. If there is already an SDESItem of the same type in this SDESChunk it is replaced by the new one.

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

Returns the class name "SDESChunk".

cObject * SDESChunk::dup  )  const [virtual]
 

Duplicates this SDESChunk by calling the copy constructor.

void SDESChunk::info char *  buf  )  [virtual]
 

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

int SDESChunk::length  )  [virtual]
 

Returns the length in bytes of this SDESChunk.

SDESChunk & SDESChunk::operator= const SDESChunk sdesChunk  ) 
 

Operator equal.

void SDESChunk::setSSRC u_int32  ssrc  )  [virtual]
 

Sets the ssrc identifier this SDESChunk is for.

u_int32 SDESChunk::ssrc  )  [virtual]
 

Returns the ssrc identifier this SDESChunk is for.

void SDESChunk::writeContents ostream &  os  )  [virtual]
 

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


Member Data Documentation

int SDESChunk::_length [protected]
 

The length in bytes of this SDESChunk.

u_int32 SDESChunk::_ssrc [protected]
 

The ssrc identifier this SDESChunk 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