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

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

#include <UdpControlInfo_m.h>

Inheritance diagram for inet::UdpLeaveMulticastGroupsCommand:
inet::UdpSetOptionCommand inet::UdpControlInfo

Public Member Functions

 UdpLeaveMulticastGroupsCommand ()
 
 UdpLeaveMulticastGroupsCommand (const UdpLeaveMulticastGroupsCommand &other)
 
virtual ~UdpLeaveMulticastGroupsCommand ()
 
UdpLeaveMulticastGroupsCommandoperator= (const UdpLeaveMulticastGroupsCommand &other)
 
virtual UdpLeaveMulticastGroupsCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual void setMulticastAddrArraySize (size_t size)
 
virtual size_t getMulticastAddrArraySize () const
 
virtual const L3AddressgetMulticastAddr (size_t k) const
 
virtual L3AddressgetMulticastAddrForUpdate (size_t k)
 
virtual void setMulticastAddr (size_t k, const L3Address &multicastAddr)
 
virtual void insertMulticastAddr (size_t k, const L3Address &multicastAddr)
 
void insertMulticastAddr (const L3Address &multicastAddr)
 
virtual void appendMulticastAddr (const L3Address &multicastAddr)
 
virtual void eraseMulticastAddr (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 UdpLeaveMulticastGroupsCommand &)=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

L3AddressmulticastAddr = nullptr
 
size_t multicastAddr_arraysize = 0
 
- Protected Attributes inherited from inet::UdpSetOptionCommand
UdpSetOptionSubcode optionCode = static_cast<UdpSetOptionSubcode>(-1)
 

Private Member Functions

void copy (const UdpLeaveMulticastGroupsCommand &other)
 

Detailed Description

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

//
// Control info for letting an UDP socket leave multicast groups.
// To set the option, send a message to the ~Udp module with kind=UDP_C_SETOPTION
// and an and instance of this control info class attached.
//
// @see ~UdpCommandCode
//
class UdpLeaveMulticastGroupsCommand extends UdpSetOptionCommand
{
    optionCode = UDP_C_SETOPTION_LEAVE_MCAST_GRP;
    L3Address multicastAddr[];
}

Constructor & Destructor Documentation

◆ UdpLeaveMulticastGroupsCommand() [1/2]

inet::UdpLeaveMulticastGroupsCommand::UdpLeaveMulticastGroupsCommand ( )

◆ UdpLeaveMulticastGroupsCommand() [2/2]

inet::UdpLeaveMulticastGroupsCommand::UdpLeaveMulticastGroupsCommand ( const UdpLeaveMulticastGroupsCommand other)

◆ ~UdpLeaveMulticastGroupsCommand()

virtual inet::UdpLeaveMulticastGroupsCommand::~UdpLeaveMulticastGroupsCommand ( )
virtual

Member Function Documentation

◆ appendMulticastAddr()

virtual void inet::UdpLeaveMulticastGroupsCommand::appendMulticastAddr ( const L3Address multicastAddr)
virtual

◆ copy()

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

◆ dup()

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

Reimplemented from inet::UdpSetOptionCommand.

932 {return new UdpLeaveMulticastGroupsCommand(*this);}

◆ eraseMulticastAddr()

virtual void inet::UdpLeaveMulticastGroupsCommand::eraseMulticastAddr ( size_t  k)
virtual

◆ getMulticastAddr()

virtual const L3Address& inet::UdpLeaveMulticastGroupsCommand::getMulticastAddr ( size_t  k) const
virtual

◆ getMulticastAddrArraySize()

virtual size_t inet::UdpLeaveMulticastGroupsCommand::getMulticastAddrArraySize ( ) const
virtual

◆ getMulticastAddrForUpdate()

virtual L3Address& inet::UdpLeaveMulticastGroupsCommand::getMulticastAddrForUpdate ( size_t  k)
inlinevirtual
939 { return const_cast<L3Address&>(const_cast<UdpLeaveMulticastGroupsCommand*>(this)->getMulticastAddr(k));}

◆ insertMulticastAddr() [1/2]

void inet::UdpLeaveMulticastGroupsCommand::insertMulticastAddr ( const L3Address multicastAddr)
inline

◆ insertMulticastAddr() [2/2]

virtual void inet::UdpLeaveMulticastGroupsCommand::insertMulticastAddr ( size_t  k,
const L3Address multicastAddr 
)
virtual

◆ operator=()

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

◆ operator==()

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

◆ parsimPack()

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

Reimplemented from inet::UdpSetOptionCommand.

Referenced by inet::doParsimPacking().

◆ parsimUnpack()

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

Reimplemented from inet::UdpSetOptionCommand.

Referenced by inet::doParsimUnpacking().

◆ setMulticastAddr()

virtual void inet::UdpLeaveMulticastGroupsCommand::setMulticastAddr ( size_t  k,
const L3Address multicastAddr 
)
virtual

◆ setMulticastAddrArraySize()

virtual void inet::UdpLeaveMulticastGroupsCommand::setMulticastAddrArraySize ( size_t  size)
virtual

Member Data Documentation

◆ multicastAddr

L3Address* inet::UdpLeaveMulticastGroupsCommand::multicastAddr = nullptr
protected

◆ multicastAddr_arraysize

size_t inet::UdpLeaveMulticastGroupsCommand::multicastAddr_arraysize = 0
protected

The documentation for this class was generated from the following file:
inet::UdpLeaveMulticastGroupsCommand::multicastAddr
L3Address * multicastAddr
Definition: UdpControlInfo_m.h:918
inet::UdpLeaveMulticastGroupsCommand::appendMulticastAddr
virtual void appendMulticastAddr(const L3Address &multicastAddr)
inet::UdpLeaveMulticastGroupsCommand::getMulticastAddr
virtual const L3Address & getMulticastAddr(size_t k) const
inet::physicallayer::k
const double k
Definition: Qam1024Modulation.cc:14
inet::UdpLeaveMulticastGroupsCommand::UdpLeaveMulticastGroupsCommand
UdpLeaveMulticastGroupsCommand()