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

Class generated from inet/transportlayer/contract/udp/UdpControlInfo.msg:346 by opp_msgtool. More...

#include <UdpControlInfo_m.h>

Inheritance diagram for inet::UdpLeaveMulticastSourcesCommand:
inet::UdpSetOptionCommand inet::UdpControlInfo

Public Member Functions

 UdpLeaveMulticastSourcesCommand ()
 
 UdpLeaveMulticastSourcesCommand (const UdpLeaveMulticastSourcesCommand &other)
 
virtual ~UdpLeaveMulticastSourcesCommand ()
 
UdpLeaveMulticastSourcesCommandoperator= (const UdpLeaveMulticastSourcesCommand &other)
 
virtual UdpLeaveMulticastSourcesCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getInterfaceId () const
 
virtual void setInterfaceId (int interfaceId)
 
virtual const L3AddressgetMulticastAddr () const
 
virtual L3AddressgetMulticastAddrForUpdate ()
 
virtual void setMulticastAddr (const L3Address &multicastAddr)
 
virtual void setSourceListArraySize (size_t size)
 
virtual size_t getSourceListArraySize () const
 
virtual const L3AddressgetSourceList (size_t k) const
 
virtual L3AddressgetSourceListForUpdate (size_t k)
 
virtual void setSourceList (size_t k, const L3Address &sourceList)
 
virtual void insertSourceList (size_t k, const L3Address &sourceList)
 
void insertSourceList (const L3Address &sourceList)
 
virtual void appendSourceList (const L3Address &sourceList)
 
virtual void eraseSourceList (size_t k)
 
- Public Member Functions inherited from inet::UdpSetOptionCommand
 UdpSetOptionCommand ()
 
 UdpSetOptionCommand (const UdpSetOptionCommand &other)
 
virtual ~UdpSetOptionCommand ()
 
UdpSetOptionCommandoperator= (const UdpSetOptionCommand &other)
 
virtual UdpSetOptionSubcode getOptionCode () const
 
virtual void setOptionCode (UdpSetOptionSubcode optionCode)
 
- Public Member Functions inherited from inet::UdpControlInfo
 UdpControlInfo ()
 
 UdpControlInfo (const UdpControlInfo &other)
 
virtual ~UdpControlInfo ()
 
UdpControlInfooperator= (const UdpControlInfo &other)
 

Protected Member Functions

bool operator== (const UdpLeaveMulticastSourcesCommand &)=delete
 
- Protected Member Functions inherited from inet::UdpSetOptionCommand
bool operator== (const UdpSetOptionCommand &)=delete
 
- Protected Member Functions inherited from inet::UdpControlInfo
bool operator== (const UdpControlInfo &)=delete
 

Protected Attributes

int interfaceId = 0
 
L3Address multicastAddr
 
L3AddresssourceList = nullptr
 
size_t sourceList_arraysize = 0
 
- Protected Attributes inherited from inet::UdpSetOptionCommand
UdpSetOptionSubcode optionCode = static_cast<UdpSetOptionSubcode>(-1)
 

Private Member Functions

void copy (const UdpLeaveMulticastSourcesCommand &other)
 

Detailed Description

Class generated from inet/transportlayer/contract/udp/UdpControlInfo.msg:346 by opp_msgtool.

//
// Control info for letting an UDP socket to leave a multicast group
// for the selected sources.
//
// see IP_DROP_SOURCE_MEMBERSHIP socket option
class UdpLeaveMulticastSourcesCommand extends UdpSetOptionCommand
{
    optionCode = UDP_C_SETOPTION_LEAVE_MCAST_SRC;
    int interfaceId;
    L3Address multicastAddr;
    L3Address sourceList[];
}

Constructor & Destructor Documentation

◆ UdpLeaveMulticastSourcesCommand() [1/2]

inet::UdpLeaveMulticastSourcesCommand::UdpLeaveMulticastSourcesCommand ( )

◆ UdpLeaveMulticastSourcesCommand() [2/2]

inet::UdpLeaveMulticastSourcesCommand::UdpLeaveMulticastSourcesCommand ( const UdpLeaveMulticastSourcesCommand other)

◆ ~UdpLeaveMulticastSourcesCommand()

virtual inet::UdpLeaveMulticastSourcesCommand::~UdpLeaveMulticastSourcesCommand ( )
virtual

Member Function Documentation

◆ appendSourceList()

virtual void inet::UdpLeaveMulticastSourcesCommand::appendSourceList ( const L3Address sourceList)
virtual

◆ copy()

void inet::UdpLeaveMulticastSourcesCommand::copy ( const UdpLeaveMulticastSourcesCommand other)
private

◆ dup()

virtual UdpLeaveMulticastSourcesCommand* inet::UdpLeaveMulticastSourcesCommand::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::UdpSetOptionCommand.

1169 {return new UdpLeaveMulticastSourcesCommand(*this);}

◆ eraseSourceList()

virtual void inet::UdpLeaveMulticastSourcesCommand::eraseSourceList ( size_t  k)
virtual

◆ getInterfaceId()

virtual int inet::UdpLeaveMulticastSourcesCommand::getInterfaceId ( ) const
virtual

◆ getMulticastAddr()

virtual const L3Address& inet::UdpLeaveMulticastSourcesCommand::getMulticastAddr ( ) const
virtual

◆ getMulticastAddrForUpdate()

virtual L3Address& inet::UdpLeaveMulticastSourcesCommand::getMulticastAddrForUpdate ( )
inlinevirtual
1177 { return const_cast<L3Address&>(const_cast<UdpLeaveMulticastSourcesCommand*>(this)->getMulticastAddr());}

◆ getSourceList()

virtual const L3Address& inet::UdpLeaveMulticastSourcesCommand::getSourceList ( size_t  k) const
virtual

◆ getSourceListArraySize()

virtual size_t inet::UdpLeaveMulticastSourcesCommand::getSourceListArraySize ( ) const
virtual

◆ getSourceListForUpdate()

virtual L3Address& inet::UdpLeaveMulticastSourcesCommand::getSourceListForUpdate ( size_t  k)
inlinevirtual
1183 { return const_cast<L3Address&>(const_cast<UdpLeaveMulticastSourcesCommand*>(this)->getSourceList(k));}

◆ insertSourceList() [1/2]

void inet::UdpLeaveMulticastSourcesCommand::insertSourceList ( const L3Address sourceList)
inline

◆ insertSourceList() [2/2]

virtual void inet::UdpLeaveMulticastSourcesCommand::insertSourceList ( size_t  k,
const L3Address sourceList 
)
virtual

◆ operator=()

UdpLeaveMulticastSourcesCommand& inet::UdpLeaveMulticastSourcesCommand::operator= ( const UdpLeaveMulticastSourcesCommand other)

◆ operator==()

bool inet::UdpLeaveMulticastSourcesCommand::operator== ( const UdpLeaveMulticastSourcesCommand )
protecteddelete

◆ parsimPack()

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

Reimplemented from inet::UdpSetOptionCommand.

Referenced by inet::doParsimPacking().

◆ parsimUnpack()

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

Reimplemented from inet::UdpSetOptionCommand.

Referenced by inet::doParsimUnpacking().

◆ setInterfaceId()

virtual void inet::UdpLeaveMulticastSourcesCommand::setInterfaceId ( int  interfaceId)
virtual

◆ setMulticastAddr()

virtual void inet::UdpLeaveMulticastSourcesCommand::setMulticastAddr ( const L3Address multicastAddr)
virtual

◆ setSourceList()

virtual void inet::UdpLeaveMulticastSourcesCommand::setSourceList ( size_t  k,
const L3Address sourceList 
)
virtual

◆ setSourceListArraySize()

virtual void inet::UdpLeaveMulticastSourcesCommand::setSourceListArraySize ( size_t  size)
virtual

Member Data Documentation

◆ interfaceId

int inet::UdpLeaveMulticastSourcesCommand::interfaceId = 0
protected

◆ multicastAddr

L3Address inet::UdpLeaveMulticastSourcesCommand::multicastAddr
protected

◆ sourceList

L3Address* inet::UdpLeaveMulticastSourcesCommand::sourceList = nullptr
protected

◆ sourceList_arraysize

size_t inet::UdpLeaveMulticastSourcesCommand::sourceList_arraysize = 0
protected

The documentation for this class was generated from the following file:
inet::UdpLeaveMulticastSourcesCommand::sourceList
L3Address * sourceList
Definition: UdpControlInfo_m.h:1155
inet::UdpLeaveMulticastSourcesCommand::UdpLeaveMulticastSourcesCommand
UdpLeaveMulticastSourcesCommand()
inet::UdpLeaveMulticastSourcesCommand::getMulticastAddr
virtual const L3Address & getMulticastAddr() const
inet::physicallayer::k
const double k
Definition: Qam1024Modulation.cc:14
inet::UdpLeaveMulticastSourcesCommand::appendSourceList
virtual void appendSourceList(const L3Address &sourceList)
inet::UdpLeaveMulticastSourcesCommand::getSourceList
virtual const L3Address & getSourceList(size_t k) const