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

RTPMpegPacket Class Reference

#include <RTPMpegPacket.h>

List of all members.

Public Member Functions

 RTPMpegPacket (const char *name=NULL)
 RTPMpegPacket (const RTPMpegPacket &packet)
virtual ~RTPMpegPacket ()
RTPMpegPacketoperator= (const RTPMpegPacket &packet)
virtual cObject * dup () const
virtual const char * className () const
virtual int payloadLength ()
virtual int pictureType ()
virtual void setPictureType (int pictureType)

Static Public Member Functions

static int headerLength ()


Detailed Description

An RTPMpegPacket is intended to be capsulated into an RTPPacket when transmitting mpeg data with rtp under the rtp audio/video profile. It stores information about the mpeg data as described in rfc 2250. This implementation doesn't transport real mpeg data. It is intended to simulate storing mpeg data by adding length. Currently only one header field (picture type) is filled with the right value. The values for the other header fields can't be determined by reading the gdf file.
See also:
RTPAVProfilePayload32Sender

RTPAVProfilePayload32Receiver


Constructor & Destructor Documentation

RTPMpegPacket::RTPMpegPacket const char *  name = NULL  ) 
 

Default constructor.

RTPMpegPacket::RTPMpegPacket const RTPMpegPacket packet  ) 
 

Copy constructor.

RTPMpegPacket::~RTPMpegPacket  )  [virtual]
 

Destructor.


Member Function Documentation

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

Returns the class name "RTPMpegPacket".

cObject * RTPMpegPacket::dup  )  const [virtual]
 

Duplicates the RTPMpegPacket by calling the copy constructor.

int RTPMpegPacket::headerLength  )  [static]
 

Returns the constant header length (4 bytes).

RTPMpegPacket & RTPMpegPacket::operator= const RTPMpegPacket packet  ) 
 

Assignment operator.

int RTPMpegPacket::payloadLength  )  [virtual]
 

Returns the size of mpeg data.

int RTPMpegPacket::pictureType  )  [virtual]
 

Returns the picture type of the frame the data in this packet belongs to.

void RTPMpegPacket::setPictureType int  pictureType  )  [virtual]
 

Sets the picture type.


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