00001 /*************************************************************************** 00002 RTPSSRCGate.h - description 00003 ------------------- 00004 begin : Tue Jan 1 2002 00005 copyright : (C) 2002 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 00018 00023 #ifndef __RTPSSRCGATE_H__ 00024 #define __RTPSSRCGATE_H__ 00025 00026 00027 #include "omnetpp.h" 00028 00029 #include "types.h" 00030 00031 00032 00039 class RTPSSRCGate : public cObject { 00040 00041 public: 00042 00046 RTPSSRCGate(u_int ssrc = 0); 00047 00051 RTPSSRCGate(const RTPSSRCGate& rtpSSRCGate); 00052 00056 virtual ~RTPSSRCGate(); 00057 00061 virtual u_int32 ssrc(); 00062 00066 virtual void setSSRC(u_int32 ssrc); 00067 00071 virtual int gateId(); 00072 00076 virtual void setGateId(int gateId); 00077 00078 protected: 00082 u_int32 _ssrc; 00083 00087 int _gateId; 00088 }; 00089 00090 #endif