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

Class generated from inet/applications/base/ApplicationPacket.msg:24 by nedtool. More...

#include <ApplicationPacket_m.h>

Inheritance diagram for inet::ApplicationPacket:

Public Member Functions

 ApplicationPacket (const char *name=nullptr, short kind=0)
 
 ApplicationPacket (const ApplicationPacket &other)
 
virtual ~ApplicationPacket ()
 
ApplicationPacketoperator= (const ApplicationPacket &other)
 
virtual ApplicationPacketdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual long getSequenceNumber () const
 
virtual void setSequenceNumber (long sequenceNumber)
 

Protected Member Functions

bool operator== (const ApplicationPacket &)
 

Protected Attributes

long sequenceNumber
 

Private Member Functions

void copy (const ApplicationPacket &other)
 

Detailed Description

Class generated from inet/applications/base/ApplicationPacket.msg:24 by nedtool.

//
// Generic application packet
//
packet ApplicationPacket
{
    long sequenceNumber;
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::ApplicationPacket::copy ( const ApplicationPacket other)
private
virtual ApplicationPacket* inet::ApplicationPacket::dup ( ) const
inlineoverridevirtual
62 {return new ApplicationPacket(*this);}
ApplicationPacket(const char *name=nullptr, short kind=0)
virtual long inet::ApplicationPacket::getSequenceNumber ( ) const
virtual
ApplicationPacket& inet::ApplicationPacket::operator= ( const ApplicationPacket other)
bool inet::ApplicationPacket::operator== ( const ApplicationPacket )
protected
virtual void inet::ApplicationPacket::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Referenced by inet::doParsimPacking().

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

Referenced by inet::doParsimUnpacking().

virtual void inet::ApplicationPacket::setSequenceNumber ( long  sequenceNumber)
virtual

Member Data Documentation

long inet::ApplicationPacket::sequenceNumber
protected

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