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

Class generated from inet/networklayer/ipv4/IGMPMessage.msg:77 by nedtool. More...

#include <IGMPMessage_m.h>

Inheritance diagram for inet::IGMPv2Leave:
inet::IGMPMessage

Public Member Functions

 IGMPv2Leave (const char *name=nullptr, short kind=0)
 
 IGMPv2Leave (const IGMPv2Leave &other)
 
virtual ~IGMPv2Leave ()
 
IGMPv2Leaveoperator= (const IGMPv2Leave &other)
 
virtual IGMPv2Leavedup () 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)
 
- Public Member Functions inherited from inet::IGMPMessage
 IGMPMessage (const char *name=nullptr, short kind=0)
 
 IGMPMessage (const IGMPMessage &other)
 
virtual ~IGMPMessage ()
 
IGMPMessageoperator= (const IGMPMessage &other)
 
virtual int getType () const
 
virtual void setType (int type)
 

Protected Member Functions

bool operator== (const IGMPv2Leave &)
 
- Protected Member Functions inherited from inet::IGMPMessage
bool operator== (const IGMPMessage &)
 

Protected Attributes

IPv4Address groupAddress
 
- Protected Attributes inherited from inet::IGMPMessage
int type
 

Private Member Functions

void copy (const IGMPv2Leave &other)
 

Detailed Description

Class generated from inet/networklayer/ipv4/IGMPMessage.msg:77 by nedtool.

packet IGMPv2Leave extends IGMPMessage
{
    type = IGMPV2_LEAVE_GROUP;
    IPv4Address groupAddress;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::IGMPMessage.

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

Referenced by getGroupAddress().

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

Reimplemented from inet::IGMPMessage.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::IGMPMessage.

Referenced by inet::doParsimUnpacking().

virtual void inet::IGMPv2Leave::setGroupAddress ( const IPv4Address groupAddress)
virtual

Member Data Documentation

IPv4Address inet::IGMPv2Leave::groupAddress
protected

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