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

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

#include <PIMPacket_m.h>

Inheritance diagram for inet::JoinPruneGroup:

Public Member Functions

 JoinPruneGroup ()
 
 JoinPruneGroup (const JoinPruneGroup &other)
 
virtual ~JoinPruneGroup ()
 
JoinPruneGroupoperator= (const JoinPruneGroup &other)
 
virtual JoinPruneGroupdup () 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)
 
virtual void setJoinedSourceAddressArraySize (unsigned int size)
 
virtual unsigned int getJoinedSourceAddressArraySize () const
 
virtual EncodedAddressgetJoinedSourceAddress (unsigned int k)
 
virtual const EncodedAddressgetJoinedSourceAddress (unsigned int k) const
 
virtual void setJoinedSourceAddress (unsigned int k, const EncodedAddress &joinedSourceAddress)
 
virtual void setPrunedSourceAddressArraySize (unsigned int size)
 
virtual unsigned int getPrunedSourceAddressArraySize () const
 
virtual EncodedAddressgetPrunedSourceAddress (unsigned int k)
 
virtual const EncodedAddressgetPrunedSourceAddress (unsigned int k) const
 
virtual void setPrunedSourceAddress (unsigned int k, const EncodedAddress &prunedSourceAddress)
 

Protected Member Functions

bool operator== (const JoinPruneGroup &)
 

Protected Attributes

IPv4Address groupAddress
 
EncodedAddressjoinedSourceAddress
 
unsigned int joinedSourceAddress_arraysize
 
EncodedAddressprunedSourceAddress
 
unsigned int prunedSourceAddress_arraysize
 

Private Member Functions

void copy (const JoinPruneGroup &other)
 

Detailed Description

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

// Record for Join/Prune message
// in structure it is not possible to use dynamic arrays, iit is needed to use class
class JoinPruneGroup
{
    IPv4Address groupAddress;
    EncodedAddress joinedSourceAddress[];
    EncodedAddress prunedSourceAddress[];
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::JoinPruneGroup::copy ( const JoinPruneGroup other)
private
virtual JoinPruneGroup* inet::JoinPruneGroup::dup ( ) const
inlineoverridevirtual
358 {return new JoinPruneGroup(*this);}
virtual const IPv4Address& inet::JoinPruneGroup::getGroupAddress ( ) const
inlinevirtual

Referenced by getGroupAddress().

364 {return const_cast<JoinPruneGroup*>(this)->getGroupAddress();}
virtual IPv4Address & getGroupAddress()
virtual const EncodedAddress& inet::JoinPruneGroup::getJoinedSourceAddress ( unsigned int  k) const
inlinevirtual

Referenced by getJoinedSourceAddress().

369 {return const_cast<JoinPruneGroup*>(this)->getJoinedSourceAddress(k);}
virtual EncodedAddress & getJoinedSourceAddress(unsigned int k)
const double k
Definition: QAM16Modulation.cc:24
virtual unsigned int inet::JoinPruneGroup::getJoinedSourceAddressArraySize ( ) const
virtual
virtual EncodedAddress& inet::JoinPruneGroup::getPrunedSourceAddress ( unsigned int  k)
virtual
virtual const EncodedAddress& inet::JoinPruneGroup::getPrunedSourceAddress ( unsigned int  k) const
inlinevirtual

Referenced by getPrunedSourceAddress().

374 {return const_cast<JoinPruneGroup*>(this)->getPrunedSourceAddress(k);}
virtual EncodedAddress & getPrunedSourceAddress(unsigned int k)
const double k
Definition: QAM16Modulation.cc:24
virtual unsigned int inet::JoinPruneGroup::getPrunedSourceAddressArraySize ( ) const
virtual
JoinPruneGroup& inet::JoinPruneGroup::operator= ( const JoinPruneGroup other)
bool inet::JoinPruneGroup::operator== ( const JoinPruneGroup )
protected
virtual void inet::JoinPruneGroup::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Referenced by inet::doParsimPacking().

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

Referenced by inet::doParsimUnpacking().

virtual void inet::JoinPruneGroup::setGroupAddress ( const IPv4Address groupAddress)
virtual
virtual void inet::JoinPruneGroup::setJoinedSourceAddress ( unsigned int  k,
const EncodedAddress joinedSourceAddress 
)
virtual
virtual void inet::JoinPruneGroup::setJoinedSourceAddressArraySize ( unsigned int  size)
virtual
virtual void inet::JoinPruneGroup::setPrunedSourceAddress ( unsigned int  k,
const EncodedAddress prunedSourceAddress 
)
virtual
virtual void inet::JoinPruneGroup::setPrunedSourceAddressArraySize ( unsigned int  size)
virtual

Member Data Documentation

IPv4Address inet::JoinPruneGroup::groupAddress
protected
EncodedAddress* inet::JoinPruneGroup::joinedSourceAddress
protected
unsigned int inet::JoinPruneGroup::joinedSourceAddress_arraysize
protected
EncodedAddress* inet::JoinPruneGroup::prunedSourceAddress
protected
unsigned int inet::JoinPruneGroup::prunedSourceAddress_arraysize
protected

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