INET Framework for OMNeT++/OMNEST
inet::dymo::AddressBlock Class Reference

Class generated from inet/routing/dymo/Dymo.msg:39 by opp_msgtool. More...

#include <Dymo_m.h>

Inheritance diagram for inet::dymo::AddressBlock:

Public Member Functions

 AddressBlock ()
 
 AddressBlock (const AddressBlock &other)
 
virtual ~AddressBlock ()
 
AddressBlockoperator= (const AddressBlock &other)
 
virtual AddressBlockdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual const ::inet::L3AddressgetAddress () const
 
virtual ::inet::L3AddressgetAddressForUpdate ()
 
virtual void setAddress (const ::inet::L3Address &address)
 
virtual int getPrefixLength () const
 
virtual void setPrefixLength (int prefixLength)
 
virtual bool getHasValidityTime () const
 
virtual void setHasValidityTime (bool hasValidityTime)
 
virtual ::omnetpp::simtime_t getValidityTime () const
 
virtual void setValidityTime (::omnetpp::simtime_t validityTime)
 
virtual bool getHasMetric () const
 
virtual void setHasMetric (bool hasMetric)
 
virtual double getMetric () const
 
virtual void setMetric (double metric)
 
virtual bool getHasMetricType () const
 
virtual void setHasMetricType (bool hasMetricType)
 
virtual DymoMetricType getMetricType () const
 
virtual void setMetricType (DymoMetricType metricType)
 
virtual bool getHasSequenceNumber () const
 
virtual void setHasSequenceNumber (bool hasSequenceNumber)
 
virtual DymoSequenceNumber getSequenceNumber () const
 
virtual void setSequenceNumber (DymoSequenceNumber sequenceNumber)
 

Protected Member Functions

bool operator== (const AddressBlock &)=delete
 

Protected Attributes

::inet::L3Address address
 
int prefixLength = 0
 
bool hasValidityTime = false
 
::omnetpp::simtime_t validityTime = SIMTIME_ZERO
 
bool hasMetric = false
 
double metric = 0
 
bool hasMetricType = false
 
DymoMetricType metricType = static_cast<inet::dymo::DymoMetricType>(-1)
 
bool hasSequenceNumber = false
 
DymoSequenceNumber sequenceNumber = 0
 

Private Member Functions

void copy (const AddressBlock &other)
 

Detailed Description

Class generated from inet/routing/dymo/Dymo.msg:39 by opp_msgtool.

class AddressBlock extends cObject
{
    @packetData;
    L3Address address;
    int prefixLength;
    bool hasValidityTime;
    simtime_t validityTime;
    bool hasMetric;
    double metric;
    bool hasMetricType;
    DymoMetricType metricType;
    bool hasSequenceNumber;
    DymoSequenceNumber sequenceNumber = 0;
}
//
// Dymo timer messages
//

Constructor & Destructor Documentation

◆ AddressBlock() [1/2]

inet::dymo::AddressBlock::AddressBlock ( )

◆ AddressBlock() [2/2]

inet::dymo::AddressBlock::AddressBlock ( const AddressBlock other)

◆ ~AddressBlock()

virtual inet::dymo::AddressBlock::~AddressBlock ( )
virtual

Member Function Documentation

◆ copy()

void inet::dymo::AddressBlock::copy ( const AddressBlock other)
private

◆ dup()

virtual AddressBlock* inet::dymo::AddressBlock::dup ( ) const
inlineoverridevirtual
129 {return new AddressBlock(*this);}

◆ getAddress()

virtual const ::inet::L3Address& inet::dymo::AddressBlock::getAddress ( ) const
virtual

◆ getAddressForUpdate()

virtual ::inet::L3Address& inet::dymo::AddressBlock::getAddressForUpdate ( )
inline
134 { return const_cast<::inet::L3Address&>(const_cast<AddressBlock*>(this)->getAddress());}

◆ getHasMetric()

virtual bool inet::dymo::AddressBlock::getHasMetric ( ) const
virtual

◆ getHasMetricType()

virtual bool inet::dymo::AddressBlock::getHasMetricType ( ) const
virtual

◆ getHasSequenceNumber()

virtual bool inet::dymo::AddressBlock::getHasSequenceNumber ( ) const
virtual

◆ getHasValidityTime()

virtual bool inet::dymo::AddressBlock::getHasValidityTime ( ) const
virtual

◆ getMetric()

virtual double inet::dymo::AddressBlock::getMetric ( ) const
virtual

◆ getMetricType()

virtual DymoMetricType inet::dymo::AddressBlock::getMetricType ( ) const
virtual

◆ getPrefixLength()

virtual int inet::dymo::AddressBlock::getPrefixLength ( ) const
virtual

◆ getSequenceNumber()

virtual DymoSequenceNumber inet::dymo::AddressBlock::getSequenceNumber ( ) const
virtual

◆ getValidityTime()

virtual ::omnetpp::simtime_t inet::dymo::AddressBlock::getValidityTime ( ) const

◆ operator=()

AddressBlock& inet::dymo::AddressBlock::operator= ( const AddressBlock other)

◆ operator==()

bool inet::dymo::AddressBlock::operator== ( const AddressBlock )
protecteddelete

◆ parsimPack()

virtual void inet::dymo::AddressBlock::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

◆ parsimUnpack()

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

◆ setAddress()

virtual void inet::dymo::AddressBlock::setAddress ( const ::inet::L3Address address)
virtual

◆ setHasMetric()

virtual void inet::dymo::AddressBlock::setHasMetric ( bool  hasMetric)
virtual

◆ setHasMetricType()

virtual void inet::dymo::AddressBlock::setHasMetricType ( bool  hasMetricType)
virtual

◆ setHasSequenceNumber()

virtual void inet::dymo::AddressBlock::setHasSequenceNumber ( bool  hasSequenceNumber)
virtual

◆ setHasValidityTime()

virtual void inet::dymo::AddressBlock::setHasValidityTime ( bool  hasValidityTime)
virtual

◆ setMetric()

virtual void inet::dymo::AddressBlock::setMetric ( double  metric)
virtual

◆ setMetricType()

virtual void inet::dymo::AddressBlock::setMetricType ( DymoMetricType  metricType)
virtual

◆ setPrefixLength()

virtual void inet::dymo::AddressBlock::setPrefixLength ( int  prefixLength)
virtual

◆ setSequenceNumber()

virtual void inet::dymo::AddressBlock::setSequenceNumber ( DymoSequenceNumber  sequenceNumber)
virtual

◆ setValidityTime()

virtual void inet::dymo::AddressBlock::setValidityTime ( ::omnetpp::simtime_t  validityTime)
virtual

Member Data Documentation

◆ address

::inet::L3Address inet::dymo::AddressBlock::address
protected

◆ hasMetric

bool inet::dymo::AddressBlock::hasMetric = false
protected

◆ hasMetricType

bool inet::dymo::AddressBlock::hasMetricType = false
protected

◆ hasSequenceNumber

bool inet::dymo::AddressBlock::hasSequenceNumber = false
protected

◆ hasValidityTime

bool inet::dymo::AddressBlock::hasValidityTime = false
protected

◆ metric

double inet::dymo::AddressBlock::metric = 0
protected

◆ metricType

DymoMetricType inet::dymo::AddressBlock::metricType = static_cast<inet::dymo::DymoMetricType>(-1)
protected

◆ prefixLength

int inet::dymo::AddressBlock::prefixLength = 0
protected

◆ sequenceNumber

DymoSequenceNumber inet::dymo::AddressBlock::sequenceNumber = 0
protected

◆ validityTime

::omnetpp::simtime_t inet::dymo::AddressBlock::validityTime = SIMTIME_ZERO
protected

The documentation for this class was generated from the following file:
inet::dymo::AddressBlock::AddressBlock
AddressBlock()
inet::dymo::AddressBlock::getAddress
virtual const ::inet::L3Address & getAddress() const
inet::L3Address
This class provides the generic interface for network addresses.
Definition: L3Address.h:30