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

Class generated from inet/routing/pim/PIMPacket.msg:117 by nedtool. More...

#include <PIMPacket_m.h>

Inheritance diagram for inet::PIMPacket:
inet::PIMAssert inet::PIMHello_Base inet::PIMJoinPrune inet::PIMRegister inet::PIMRegisterStop inet::PIMStateRefresh inet::PIMHello inet::PIMGraft inet::PIMGraftAck

Public Member Functions

 PIMPacket (const char *name=nullptr, short kind=0)
 
 PIMPacket (const PIMPacket &other)
 
virtual ~PIMPacket ()
 
PIMPacketoperator= (const PIMPacket &other)
 
virtual PIMPacketdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual short getVersion () const
 
virtual void setVersion (short version)
 
virtual short getType () const
 
virtual void setType (short type)
 

Protected Member Functions

bool operator== (const PIMPacket &)
 

Protected Attributes

short version
 
short type
 

Private Member Functions

void copy (const PIMPacket &other)
 

Detailed Description

Class generated from inet/routing/pim/PIMPacket.msg:117 by nedtool.

///////////////////////////////////////////////////////////////////////////////////////////////
// Header
packet PIMPacket
{
    short version = 2;
    short type @enum(PIMPacketType);
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::PIMPacket::copy ( const PIMPacket other)
private
virtual PIMPacket* inet::PIMPacket::dup ( ) const
inlineoverridevirtual
virtual short inet::PIMPacket::getType ( ) const
virtual
virtual short inet::PIMPacket::getVersion ( ) const
virtual
PIMPacket& inet::PIMPacket::operator= ( const PIMPacket other)
bool inet::PIMPacket::operator== ( const PIMPacket )
protected
virtual void inet::PIMPacket::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::PIMPacket::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual void inet::PIMPacket::setVersion ( short  version)
virtual

Member Data Documentation

short inet::PIMPacket::type
protected
short inet::PIMPacket::version
protected

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