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

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

#include <PIMPacket_m.h>

Inheritance diagram for inet::HoldtimeOption:
inet::HelloOption

Public Member Functions

 HoldtimeOption ()
 
 HoldtimeOption (const HoldtimeOption &other)
 
virtual ~HoldtimeOption ()
 
HoldtimeOptionoperator= (const HoldtimeOption &other)
 
virtual HoldtimeOptiondup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint16_t getHoldTime () const
 
virtual void setHoldTime (uint16_t holdTime)
 
- Public Member Functions inherited from inet::HelloOption
 HelloOption ()
 
 HelloOption (const HelloOption &other)
 
virtual ~HelloOption ()
 
HelloOptionoperator= (const HelloOption &other)
 
virtual short getType () const
 
virtual void setType (short type)
 

Protected Member Functions

bool operator== (const HoldtimeOption &)
 
- Protected Member Functions inherited from inet::HelloOption
bool operator== (const HelloOption &)
 

Protected Attributes

uint16_t holdTime
 
- Protected Attributes inherited from inet::HelloOption
short type
 

Private Member Functions

void copy (const HoldtimeOption &other)
 

Detailed Description

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

class HoldtimeOption extends HelloOption
{
    type = Holdtime;
    uint16_t holdTime;
}

Constructor & Destructor Documentation

inet::HoldtimeOption::HoldtimeOption ( )
inet::HoldtimeOption::HoldtimeOption ( const HoldtimeOption other)
virtual inet::HoldtimeOption::~HoldtimeOption ( )
virtual

Member Function Documentation

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

Reimplemented from inet::HelloOption.

163 {return new HoldtimeOption(*this);}
virtual uint16_t inet::HoldtimeOption::getHoldTime ( ) const
virtual
HoldtimeOption& inet::HoldtimeOption::operator= ( const HoldtimeOption other)
bool inet::HoldtimeOption::operator== ( const HoldtimeOption )
protected
virtual void inet::HoldtimeOption::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::HelloOption.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::HelloOption.

Referenced by inet::doParsimUnpacking().

virtual void inet::HoldtimeOption::setHoldTime ( uint16_t  holdTime)
virtual

Member Data Documentation

uint16_t inet::HoldtimeOption::holdTime
protected

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