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

RTPMpegPacket.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           RTPMpegPacket.h  -  description
00003                              -------------------
00004     begin                : Fri Dec 14 2001
00005     copyright            : (C) 2001 by Matthias Oppitz
00006     email                : Matthias.Oppitz@gmx.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00022 #ifndef __RTPMPEGPACKET_H__
00023 #define __RTPMPEGPACKET_H__
00024 
00025 #include "omnetpp.h"
00026 
00040 class RTPMpegPacket : public cPacket  {
00041 
00042         public:
00046                 RTPMpegPacket(const char *name = NULL);
00047                 
00051                 RTPMpegPacket(const RTPMpegPacket& packet);
00052                 
00056                 virtual ~RTPMpegPacket();
00057                 
00061                 RTPMpegPacket& operator=(const RTPMpegPacket& packet);
00062                 
00066                 virtual cObject *dup() const;
00067                 
00071                 virtual const char *className() const;
00072                 
00076                 static int headerLength();
00077                 
00081                 virtual int payloadLength();
00082                 
00087                 virtual int pictureType();
00088                 
00092                 virtual void setPictureType(int pictureType);
00093                 
00094         private:
00095                 
00097                 int _mzb;
00098                 
00100                 int _two;
00101                 
00103                 int _temporalReference;
00104                 
00106                 int _activeN;
00107                 
00109                 int _newPictureHeader;
00110                 
00112                 int _sequenceHeaderPresent;
00113                 
00115                 int _beginningOfSlice;
00116                 
00118                 int _endOfSlice;
00119                 
00121                 int _pictureType;
00122                 
00124                 int _fbv;
00125                 
00127                 int _bfc;
00128                 
00130                 int _ffv;
00131                 
00133                 int _ffc;
00134                 
00135 };
00136 
00137 #endif

Generated on Tue Sep 12 12:20:20 2006 for RTP model for OMNeT++ by  doxygen 1.4.2