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

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

#include <PIMPacket_m.h>

Inheritance diagram for inet::PIMRegisterStop:
inet::PIMPacket

Public Member Functions

 PIMRegisterStop (const char *name=nullptr, short kind=0)
 
 PIMRegisterStop (const PIMRegisterStop &other)
 
virtual ~PIMRegisterStop ()
 
PIMRegisterStopoperator= (const PIMRegisterStop &other)
 
virtual PIMRegisterStopdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual IPv4AddressgetGroupAddress ()
 
virtual const IPv4AddressgetGroupAddress () const
 
virtual void setGroupAddress (const IPv4Address &groupAddress)
 
virtual IPv4AddressgetSourceAddress ()
 
virtual const IPv4AddressgetSourceAddress () const
 
virtual void setSourceAddress (const IPv4Address &sourceAddress)
 
- Public Member Functions inherited from inet::PIMPacket
 PIMPacket (const char *name=nullptr, short kind=0)
 
 PIMPacket (const PIMPacket &other)
 
virtual ~PIMPacket ()
 
PIMPacketoperator= (const PIMPacket &other)
 
virtual short getVersion () const
 
virtual void setVersion (short version)
 
virtual short getType () const
 
virtual void setType (short type)
 

Protected Member Functions

bool operator== (const PIMRegisterStop &)
 
- Protected Member Functions inherited from inet::PIMPacket
bool operator== (const PIMPacket &)
 

Protected Attributes

IPv4Address groupAddress
 
IPv4Address sourceAddress
 
- Protected Attributes inherited from inet::PIMPacket
short version
 
short type
 

Private Member Functions

void copy (const PIMRegisterStop &other)
 

Detailed Description

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

// Register-Stop message
// SM
packet PIMRegisterStop extends PIMPacket
{
    type = RegisterStop;
    IPv4Address groupAddress;
    IPv4Address sourceAddress;
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::PIMRegisterStop::copy ( const PIMRegisterStop other)
private
virtual PIMRegisterStop* inet::PIMRegisterStop::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::PIMPacket.

833 {return new PIMRegisterStop(*this);}
PIMRegisterStop(const char *name=nullptr, short kind=0)
virtual IPv4Address& inet::PIMRegisterStop::getGroupAddress ( )
virtual
virtual const IPv4Address& inet::PIMRegisterStop::getGroupAddress ( ) const
inlinevirtual

Referenced by getGroupAddress().

839 {return const_cast<PIMRegisterStop*>(this)->getGroupAddress();}
PIMRegisterStop(const char *name=nullptr, short kind=0)
virtual IPv4Address & getGroupAddress()
virtual IPv4Address& inet::PIMRegisterStop::getSourceAddress ( )
virtual
virtual const IPv4Address& inet::PIMRegisterStop::getSourceAddress ( ) const
inlinevirtual

Referenced by getSourceAddress().

842 {return const_cast<PIMRegisterStop*>(this)->getSourceAddress();}
PIMRegisterStop(const char *name=nullptr, short kind=0)
virtual IPv4Address & getSourceAddress()
PIMRegisterStop& inet::PIMRegisterStop::operator= ( const PIMRegisterStop other)
bool inet::PIMRegisterStop::operator== ( const PIMRegisterStop )
protected
virtual void inet::PIMRegisterStop::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::PIMPacket.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::PIMPacket.

Referenced by inet::doParsimUnpacking().

virtual void inet::PIMRegisterStop::setGroupAddress ( const IPv4Address groupAddress)
virtual
virtual void inet::PIMRegisterStop::setSourceAddress ( const IPv4Address sourceAddress)
virtual

Member Data Documentation

IPv4Address inet::PIMRegisterStop::groupAddress
protected
IPv4Address inet::PIMRegisterStop::sourceAddress
protected

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