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

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

#include <IGMPMessage_m.h>

Inheritance diagram for inet::IGMPv2Report:
inet::IGMPMessage

Public Member Functions

 IGMPv2Report (const char *name=nullptr, short kind=0)
 
 IGMPv2Report (const IGMPv2Report &other)
 
virtual ~IGMPv2Report ()
 
IGMPv2Reportoperator= (const IGMPv2Report &other)
 
virtual IGMPv2Reportdup () 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 IGMPv2Report &)
 
- 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 IGMPv2Report &other)
 

Detailed Description

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

packet IGMPv2Report extends IGMPMessage
{
    type = IGMPV2_MEMBERSHIP_REPORT;
    IPv4Address groupAddress;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::IGMPMessage.

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

Referenced by getGroupAddress().

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

Reimplemented from inet::IGMPMessage.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::IGMPMessage.

Referenced by inet::doParsimUnpacking().

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

Member Data Documentation

IPv4Address inet::IGMPv2Report::groupAddress
protected

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