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

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

#include <PIMPacket_m.h>

Inheritance diagram for inet::PIMAssert:
inet::PIMPacket

Public Member Functions

 PIMAssert (const char *name=nullptr, short kind=0)
 
 PIMAssert (const PIMAssert &other)
 
virtual ~PIMAssert ()
 
PIMAssertoperator= (const PIMAssert &other)
 
virtual PIMAssertdup () 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)
 
virtual bool getR () const
 
virtual void setR (bool R)
 
virtual int getMetric () const
 
virtual void setMetric (int metric)
 
virtual int getMetricPreference () const
 
virtual void setMetricPreference (int metricPreference)
 
- 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 PIMAssert &)
 
- Protected Member Functions inherited from inet::PIMPacket
bool operator== (const PIMPacket &)
 

Protected Attributes

IPv4Address groupAddress
 
IPv4Address sourceAddress
 
bool R
 
int metric
 
int metricPreference
 
- Protected Attributes inherited from inet::PIMPacket
short version
 
short type
 

Private Member Functions

void copy (const PIMAssert &other)
 

Detailed Description

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

// Assert message
// DM, SM
packet PIMAssert extends PIMPacket
{
    type = Assert;
    IPv4Address groupAddress;
    IPv4Address sourceAddress;
    bool R;
    int metric;
    int metricPreference;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::PIMPacket.

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

Referenced by getGroupAddress().

590 {return const_cast<PIMAssert*>(this)->getGroupAddress();}
PIMAssert(const char *name=nullptr, short kind=0)
virtual IPv4Address & getGroupAddress()
virtual int inet::PIMAssert::getMetric ( ) const
virtual
virtual int inet::PIMAssert::getMetricPreference ( ) const
virtual
virtual bool inet::PIMAssert::getR ( ) const
virtual
virtual IPv4Address& inet::PIMAssert::getSourceAddress ( )
virtual
virtual const IPv4Address& inet::PIMAssert::getSourceAddress ( ) const
inlinevirtual

Referenced by getSourceAddress().

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

Reimplemented from inet::PIMPacket.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::PIMPacket.

Referenced by inet::doParsimUnpacking().

virtual void inet::PIMAssert::setGroupAddress ( const IPv4Address groupAddress)
virtual
virtual void inet::PIMAssert::setMetric ( int  metric)
virtual
virtual void inet::PIMAssert::setMetricPreference ( int  metricPreference)
virtual
virtual void inet::PIMAssert::setR ( bool  R)
virtual
virtual void inet::PIMAssert::setSourceAddress ( const IPv4Address sourceAddress)
virtual

Member Data Documentation

IPv4Address inet::PIMAssert::groupAddress
protected
int inet::PIMAssert::metric
protected
int inet::PIMAssert::metricPreference
protected
bool inet::PIMAssert::R
protected
IPv4Address inet::PIMAssert::sourceAddress
protected

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