INET Framework for OMNeT++/OMNEST
inet::SimpleVoIPPacket Class Reference

Class generated from inet/applications/voip/SimpleVoIPPacket.msg:25 by nedtool. More...

#include <SimpleVoIPPacket_m.h>

Inheritance diagram for inet::SimpleVoIPPacket:

Public Member Functions

 SimpleVoIPPacket (const char *name=nullptr, short kind=0)
 
 SimpleVoIPPacket (const SimpleVoIPPacket &other)
 
virtual ~SimpleVoIPPacket ()
 
SimpleVoIPPacketoperator= (const SimpleVoIPPacket &other)
 
virtual SimpleVoIPPacketdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual unsigned int getTalkspurtID () const
 
virtual void setTalkspurtID (unsigned int talkspurtID)
 
virtual unsigned int getTalkspurtNumPackets () const
 
virtual void setTalkspurtNumPackets (unsigned int talkspurtNumPackets)
 
virtual unsigned int getPacketID () const
 
virtual void setPacketID (unsigned int packetID)
 
virtual ::omnetpp::simtime_t getVoipTimestamp () const
 
virtual void setVoipTimestamp (::omnetpp::simtime_t voipTimestamp)
 
virtual ::omnetpp::simtime_t getVoiceDuration () const
 
virtual void setVoiceDuration (::omnetpp::simtime_t voiceDuration)
 

Protected Member Functions

bool operator== (const SimpleVoIPPacket &)
 

Protected Attributes

unsigned int talkspurtID
 
unsigned int talkspurtNumPackets
 
unsigned int packetID
 
::omnetpp::simtime_t voipTimestamp
 
::omnetpp::simtime_t voiceDuration
 

Private Member Functions

void copy (const SimpleVoIPPacket &other)
 

Detailed Description

Class generated from inet/applications/voip/SimpleVoIPPacket.msg:25 by nedtool.

//
// Represents a voice packet used by SimpleVoIPSender / SimpleVoIPReceiver 
//
packet SimpleVoIPPacket
{
    unsigned int talkspurtID;          // identifies the talkspurt
    unsigned int talkspurtNumPackets;  // number of all packets of current talkspurt
    unsigned int packetID;             // 0..talkspurtNumPackets-1
    simtime_t voipTimestamp;            // "mouth" timestamp of begin of voice in this packet
    simtime_t voiceDuration;            // duration of voice in this packet
}

Constructor & Destructor Documentation

inet::SimpleVoIPPacket::SimpleVoIPPacket ( const char *  name = nullptr,
short  kind = 0 
)
inet::SimpleVoIPPacket::SimpleVoIPPacket ( const SimpleVoIPPacket other)
virtual inet::SimpleVoIPPacket::~SimpleVoIPPacket ( )
virtual

Member Function Documentation

void inet::SimpleVoIPPacket::copy ( const SimpleVoIPPacket other)
private
virtual SimpleVoIPPacket* inet::SimpleVoIPPacket::dup ( ) const
inlineoverridevirtual
70 {return new SimpleVoIPPacket(*this);}
SimpleVoIPPacket(const char *name=nullptr, short kind=0)
virtual unsigned int inet::SimpleVoIPPacket::getPacketID ( ) const
virtual
virtual unsigned int inet::SimpleVoIPPacket::getTalkspurtID ( ) const
virtual
virtual unsigned int inet::SimpleVoIPPacket::getTalkspurtNumPackets ( ) const
virtual
virtual ::omnetpp::simtime_t inet::SimpleVoIPPacket::getVoiceDuration ( ) const
virtual ::omnetpp::simtime_t inet::SimpleVoIPPacket::getVoipTimestamp ( ) const
SimpleVoIPPacket& inet::SimpleVoIPPacket::operator= ( const SimpleVoIPPacket other)
bool inet::SimpleVoIPPacket::operator== ( const SimpleVoIPPacket )
protected
virtual void inet::SimpleVoIPPacket::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Referenced by inet::doParsimPacking().

virtual void inet::SimpleVoIPPacket::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Referenced by inet::doParsimUnpacking().

virtual void inet::SimpleVoIPPacket::setPacketID ( unsigned int  packetID)
virtual
virtual void inet::SimpleVoIPPacket::setTalkspurtID ( unsigned int  talkspurtID)
virtual
virtual void inet::SimpleVoIPPacket::setTalkspurtNumPackets ( unsigned int  talkspurtNumPackets)
virtual
virtual void inet::SimpleVoIPPacket::setVoiceDuration ( ::omnetpp::simtime_t  voiceDuration)
virtual
virtual void inet::SimpleVoIPPacket::setVoipTimestamp ( ::omnetpp::simtime_t  voipTimestamp)
virtual

Member Data Documentation

unsigned int inet::SimpleVoIPPacket::packetID
protected
unsigned int inet::SimpleVoIPPacket::talkspurtID
protected
unsigned int inet::SimpleVoIPPacket::talkspurtNumPackets
protected
::omnetpp::simtime_t inet::SimpleVoIPPacket::voiceDuration
protected
::omnetpp::simtime_t inet::SimpleVoIPPacket::voipTimestamp
protected

The documentation for this class was generated from the following file: