INET Framework for OMNeT++/OMNEST
|
Class generated from inet/transportlayer/rtp/RTPInnerPacket.msg:61
by nedtool.
More...
#include <RTPInnerPacket_m.h>
Public Member Functions | |
virtual | ~RTPInnerPacket_Base () |
virtual RTPInnerPacket_Base * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual short | getType () const |
virtual void | setType (short type) |
virtual const char * | getCommonName () const |
virtual void | setCommonName (const char *commonName) |
virtual int | getMtu () const |
virtual void | setMtu (int mtu) |
virtual int | getBandwidth () const |
virtual void | setBandwidth (int bandwidth) |
virtual int | getRtcpPercentage () const |
virtual void | setRtcpPercentage (int rtcpPercentage) |
virtual IPv4Address & | getAddress () |
virtual const IPv4Address & | getAddress () const |
virtual void | setAddress (const IPv4Address &address) |
virtual int | getPort () const |
virtual void | setPort (int port) |
virtual uint32_t | getSsrc () const |
virtual void | setSsrc (uint32_t ssrc) |
virtual int | getPayloadType () const |
virtual void | setPayloadType (int payloadType) |
virtual const char * | getFileName () const |
virtual void | setFileName (const char *fileName) |
virtual int | getClockRate () const |
virtual void | setClockRate (int clockRate) |
virtual int | getTimeStampBase () const |
virtual void | setTimeStampBase (int timeStampBase) |
virtual int | getSequenceNumberBase () const |
virtual void | setSequenceNumberBase (int sequenceNumberBase) |
Protected Member Functions | |
bool | operator== (const RTPInnerPacket_Base &) |
RTPInnerPacket_Base (const char *name=nullptr, short kind=0) | |
RTPInnerPacket_Base (const RTPInnerPacket_Base &other) | |
RTPInnerPacket_Base & | operator= (const RTPInnerPacket_Base &other) |
Protected Attributes | |
short | type |
::omnetpp::opp_string | commonName |
int | mtu |
int | bandwidth |
int | rtcpPercentage |
IPv4Address | address |
int | port |
uint32_t | ssrc |
int | payloadType |
::omnetpp::opp_string | fileName |
int | clockRate |
int | timeStampBase |
int | sequenceNumberBase |
Private Member Functions | |
void | copy (const RTPInnerPacket_Base &other) |
Class generated from inet/transportlayer/rtp/RTPInnerPacket.msg:61
by nedtool.
// // This class is used for communication between submodules of the RTP layer module. // packet RTPInnerPacket { @customize(true); // see the generated C++ header for more info
// The type of this ~RTPInnerPacket. short type @enum(RTP_INP_TYPE) = RTP_INP_UNDEF;
// The CNAME string commonName;
// The MTU int mtu;
// The Bandwidth int bandwidth;
// The RTCP percentage int rtcpPercentage;
// The IPv4 address IPv4Address address = IPv4Address::UNSPECIFIED_ADDRESS;
// The port number int port = PORT_UNDEF;
// The SSRC identifier uint32 ssrc;
// The payload type int payloadType;
// The file name string fileName;
// The clock rate int clockRate;
// The RTP time stamp base int timeStampBase;
// The RTP sequence number base int sequenceNumberBase; }
RTPInnerPacket_Base is only useful if it gets subclassed, and RTPInnerPacket is derived from it. The minimum code to be written for RTPInnerPacket is the following:
class INET_API RTPInnerPacket : public RTPInnerPacket_Base { private: void copy(const RTPInnerPacket& other) { ... }
public: RTPInnerPacket(const char *name=nullptr, short kind=0) : RTPInnerPacket_Base(name,kind) {} RTPInnerPacket(const RTPInnerPacket& other) : RTPInnerPacket_Base(other) {copy(other);} RTPInnerPacket& operator=(const RTPInnerPacket& other) {if (this==&other) return *this; RTPInnerPacket_Base::operator=(other); copy(other); return *this;} virtual RTPInnerPacket *dup() const override {return new RTPInnerPacket(*this);} // ADD CODE HERE to redefine and implement pure virtual functions from RTPInnerPacket_Base };
The following should go into a .cc (.cpp) file:
Register_Class(RTPInnerPacket)
|
protected |
|
protected |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented in inet::rtp::RTPInnerPacket.
|
virtual |
Referenced by inet::rtp::RTCP::handleDataIn(), and inet::rtp::RTCP::handleInitializeRTCP().
|
inlinevirtual |
Referenced by getAddress().
|
virtual |
Referenced by inet::rtp::RTCP::handleInitializeRTCP().
|
virtual |
Referenced by inet::rtp::RTCP::handleSenderModuleInitialized().
|
virtual |
Referenced by inet::rtp::RTCP::handleInitializeRTCP().
|
virtual |
|
virtual |
|
virtual |
Referenced by inet::rtp::RTPProfile::createSenderModule().
|
virtual |
|
virtual |
Referenced by inet::rtp::RTCP::handleInitializeRTCP(), and inet::rtp::RTP::profileInitialized().
|
virtual |
Referenced by inet::rtp::RTCP::handleSenderModuleInitialized().
|
virtual |
Referenced by inet::rtp::RTPProfile::createSenderModule(), inet::rtp::RTPProfile::deleteSenderModule(), inet::rtp::RTPPayloadSender::initializeSenderModule(), inet::rtp::RTP::rtcpInitialized(), inet::rtp::RTP::senderModuleControl(), inet::rtp::RTP::senderModuleCreated(), inet::rtp::RTP::senderModuleDeleted(), and inet::rtp::RTP::senderModuleStatus().
|
virtual |
Referenced by inet::rtp::RTCP::handleSenderModuleInitialized().
|
virtual |
Referenced by inet::rtp::RTPPayloadReceiver::handleMessage(), inet::rtp::RTPPayloadSender::handleMessage(), inet::rtp::RTPProfile::handleMessageFromPayloadSender(), inet::rtp::RTP::handleMessageFromProfile(), inet::rtp::RTP::handleMessageFromRTCP(), inet::rtp::RTCP::handleMessageFromRTP(), and inet::rtp::RTPProfile::handleMessageFromRTP().
|
protected |
Referenced by inet::rtp::RTPInnerPacket::operator=().
|
protected |
|
overridevirtual |
|
overridevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
Referenced by inet::rtp::RTPInnerPacket::dump(), and inet::rtp::RTPInnerPacket::setInitializeRTCPPkt().
|
protected |
|
protected |
Referenced by inet::rtp::RTPInnerPacket::dump(), and inet::rtp::RTPInnerPacket::setInitializeRTCPPkt().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by inet::rtp::RTPInnerPacket::dump(), inet::rtp::RTPInnerPacket::setCreateSenderModulePkt(), inet::rtp::RTPInnerPacket::setDeleteSenderModulePkt(), inet::rtp::RTPInnerPacket::setInitializeSenderModulePkt(), inet::rtp::RTPInnerPacket::setRtcpInitializedPkt(), inet::rtp::RTPInnerPacket::setSenderModuleControlPkt(), inet::rtp::RTPInnerPacket::setSenderModuleCreatedPkt(), inet::rtp::RTPInnerPacket::setSenderModuleDeletedPkt(), inet::rtp::RTPInnerPacket::setSenderModuleInitializedPkt(), and inet::rtp::RTPInnerPacket::setSenderModuleStatusPkt().
|
protected |
|
protected |
Referenced by inet::rtp::RTPInnerPacket::dump(), inet::rtp::RTPInnerPacket::info(), inet::rtp::RTPInnerPacket::setCreateSenderModulePkt(), inet::rtp::RTPInnerPacket::setDataInPkt(), inet::rtp::RTPInnerPacket::setDataOutPkt(), inet::rtp::RTPInnerPacket::setDeleteSenderModulePkt(), inet::rtp::RTPInnerPacket::setInitializeProfilePkt(), inet::rtp::RTPInnerPacket::setInitializeRTCPPkt(), inet::rtp::RTPInnerPacket::setInitializeSenderModulePkt(), inet::rtp::RTPInnerPacket::setLeaveSessionPkt(), inet::rtp::RTPInnerPacket::setProfileInitializedPkt(), inet::rtp::RTPInnerPacket::setRtcpInitializedPkt(), inet::rtp::RTPInnerPacket::setSenderModuleControlPkt(), inet::rtp::RTPInnerPacket::setSenderModuleCreatedPkt(), inet::rtp::RTPInnerPacket::setSenderModuleDeletedPkt(), inet::rtp::RTPInnerPacket::setSenderModuleInitializedPkt(), inet::rtp::RTPInnerPacket::setSenderModuleStatusPkt(), and inet::rtp::RTPInnerPacket::setSessionLeftPkt().