INET Framework for OMNeT++/OMNEST
inet::ospfv3::Ospfv3InterAreaPrefixLsa Class Reference

Class generated from inet/routing/ospfv3/Ospfv3Packet.msg:228 by opp_msgtool. More...

#include <Ospfv3Packet_m.h>

Inheritance diagram for inet::ospfv3::Ospfv3InterAreaPrefixLsa:
inet::ospfv3::Ospfv3Lsa inet::ospfv3::InterAreaPrefixLSA

Public Member Functions

 Ospfv3InterAreaPrefixLsa ()
 
 Ospfv3InterAreaPrefixLsa (const Ospfv3InterAreaPrefixLsa &other)
 
virtual ~Ospfv3InterAreaPrefixLsa ()
 
Ospfv3InterAreaPrefixLsaoperator= (const Ospfv3InterAreaPrefixLsa &other)
 
virtual Ospfv3InterAreaPrefixLsadup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint8_t getReserved1 () const
 
virtual void setReserved1 (uint8_t reserved1)
 
virtual uint32_t getMetric () const
 
virtual void setMetric (uint32_t metric)
 
virtual const Ospfv3LsaPrefix0getPrefix () const
 
virtual Ospfv3LsaPrefix0getPrefixForUpdate ()
 
virtual void setPrefix (const Ospfv3LsaPrefix0 &prefix)
 
- Public Member Functions inherited from inet::ospfv3::Ospfv3Lsa
 Ospfv3Lsa ()
 
 Ospfv3Lsa (const Ospfv3Lsa &other)
 
virtual ~Ospfv3Lsa ()
 
Ospfv3Lsaoperator= (const Ospfv3Lsa &other)
 
virtual const Ospfv3LsaHeadergetHeader () const
 
virtual Ospfv3LsaHeadergetHeaderForUpdate ()
 
virtual void setHeader (const Ospfv3LsaHeader &header)
 

Protected Member Functions

bool operator== (const Ospfv3InterAreaPrefixLsa &)=delete
 
- Protected Member Functions inherited from inet::ospfv3::Ospfv3Lsa
bool operator== (const Ospfv3Lsa &)=delete
 

Protected Attributes

uint8_t reserved1 = 0
 
uint32_t metric = 0
 
Ospfv3LsaPrefix0 prefix
 
- Protected Attributes inherited from inet::ospfv3::Ospfv3Lsa
Ospfv3LsaHeader header
 

Private Member Functions

void copy (const Ospfv3InterAreaPrefixLsa &other)
 

Detailed Description

Class generated from inet/routing/ospfv3/Ospfv3Packet.msg:228 by opp_msgtool.

// Inter-Area-Prefix-LSAs
class Ospfv3InterAreaPrefixLsa extends Ospfv3Lsa
{
    uint8_t reserved1 = 0;      // 8 bits
    uint32_t metric;            // 24 bits
    Ospfv3LsaPrefix0 prefix;
}

Constructor & Destructor Documentation

◆ Ospfv3InterAreaPrefixLsa() [1/2]

inet::ospfv3::Ospfv3InterAreaPrefixLsa::Ospfv3InterAreaPrefixLsa ( )

◆ Ospfv3InterAreaPrefixLsa() [2/2]

inet::ospfv3::Ospfv3InterAreaPrefixLsa::Ospfv3InterAreaPrefixLsa ( const Ospfv3InterAreaPrefixLsa other)

◆ ~Ospfv3InterAreaPrefixLsa()

virtual inet::ospfv3::Ospfv3InterAreaPrefixLsa::~Ospfv3InterAreaPrefixLsa ( )
virtual

Member Function Documentation

◆ copy()

void inet::ospfv3::Ospfv3InterAreaPrefixLsa::copy ( const Ospfv3InterAreaPrefixLsa other)
private

◆ dup()

virtual Ospfv3InterAreaPrefixLsa* inet::ospfv3::Ospfv3InterAreaPrefixLsa::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::ospfv3::Ospfv3Lsa.

694 {return new Ospfv3InterAreaPrefixLsa(*this);}

◆ getMetric()

◆ getPrefix()

◆ getPrefixForUpdate()

virtual Ospfv3LsaPrefix0& inet::ospfv3::Ospfv3InterAreaPrefixLsa::getPrefixForUpdate ( )
inlinevirtual

◆ getReserved1()

virtual uint8_t inet::ospfv3::Ospfv3InterAreaPrefixLsa::getReserved1 ( ) const
virtual

◆ operator=()

Ospfv3InterAreaPrefixLsa& inet::ospfv3::Ospfv3InterAreaPrefixLsa::operator= ( const Ospfv3InterAreaPrefixLsa other)

◆ operator==()

bool inet::ospfv3::Ospfv3InterAreaPrefixLsa::operator== ( const Ospfv3InterAreaPrefixLsa )
protecteddelete

◆ parsimPack()

virtual void inet::ospfv3::Ospfv3InterAreaPrefixLsa::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::ospfv3::Ospfv3Lsa.

Referenced by inet::ospfv3::doParsimPacking().

◆ parsimUnpack()

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

Reimplemented from inet::ospfv3::Ospfv3Lsa.

Referenced by inet::ospfv3::doParsimUnpacking().

◆ setMetric()

virtual void inet::ospfv3::Ospfv3InterAreaPrefixLsa::setMetric ( uint32_t  metric)
virtual

◆ setPrefix()

virtual void inet::ospfv3::Ospfv3InterAreaPrefixLsa::setPrefix ( const Ospfv3LsaPrefix0 prefix)
virtual

◆ setReserved1()

virtual void inet::ospfv3::Ospfv3InterAreaPrefixLsa::setReserved1 ( uint8_t  reserved1)
virtual

Member Data Documentation

◆ metric

uint32_t inet::ospfv3::Ospfv3InterAreaPrefixLsa::metric = 0
protected

◆ prefix

Ospfv3LsaPrefix0 inet::ospfv3::Ospfv3InterAreaPrefixLsa::prefix
protected

◆ reserved1

uint8_t inet::ospfv3::Ospfv3InterAreaPrefixLsa::reserved1 = 0
protected

The documentation for this class was generated from the following file:
inet::ospfv3::Ospfv3InterAreaPrefixLsa::getPrefix
virtual const Ospfv3LsaPrefix0 & getPrefix() const
inet::ospfv3::Ospfv3InterAreaPrefixLsa::Ospfv3InterAreaPrefixLsa
Ospfv3InterAreaPrefixLsa()