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

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

#include <UdpControlInfo_m.h>

Inheritance diagram for inet::UdpSetMulticastLoopCommand:
inet::UdpSetOptionCommand inet::UdpControlInfo

Public Member Functions

 UdpSetMulticastLoopCommand ()
 
 UdpSetMulticastLoopCommand (const UdpSetMulticastLoopCommand &other)
 
virtual ~UdpSetMulticastLoopCommand ()
 
UdpSetMulticastLoopCommandoperator= (const UdpSetMulticastLoopCommand &other)
 
virtual UdpSetMulticastLoopCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual bool getLoop () const
 
virtual void setLoop (bool loop)
 
- 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 UdpSetMulticastLoopCommand &)=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

bool loop = false
 
- Protected Attributes inherited from inet::UdpSetOptionCommand
UdpSetOptionSubcode optionCode = static_cast<UdpSetOptionSubcode>(-1)
 

Private Member Functions

void copy (const UdpSetMulticastLoopCommand &other)
 

Detailed Description

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

//
// Control info for setting the multicast loop option for an UDP socket.
// When the option is true, a copy of the outgoing multicast packet
// is delivered locally via the loopback interface.
// To set the option, send a message to the ~Udp module with kind=UDP_C_SETOPTION
// and an instance of this control info class attached.
//
// @see ~UdpCommandCode
//
class UdpSetMulticastLoopCommand extends UdpSetOptionCommand
{
    optionCode = UDP_C_SETOPTION_MCAST_LOOP;
    bool loop;
}

Constructor & Destructor Documentation

◆ UdpSetMulticastLoopCommand() [1/2]

inet::UdpSetMulticastLoopCommand::UdpSetMulticastLoopCommand ( )

◆ UdpSetMulticastLoopCommand() [2/2]

inet::UdpSetMulticastLoopCommand::UdpSetMulticastLoopCommand ( const UdpSetMulticastLoopCommand other)

◆ ~UdpSetMulticastLoopCommand()

virtual inet::UdpSetMulticastLoopCommand::~UdpSetMulticastLoopCommand ( )
virtual

Member Function Documentation

◆ copy()

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

◆ dup()

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

Reimplemented from inet::UdpSetOptionCommand.

773 {return new UdpSetMulticastLoopCommand(*this);}

◆ getLoop()

virtual bool inet::UdpSetMulticastLoopCommand::getLoop ( ) const
virtual

◆ operator=()

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

◆ operator==()

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

◆ parsimPack()

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

Reimplemented from inet::UdpSetOptionCommand.

Referenced by inet::doParsimPacking().

◆ parsimUnpack()

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

Reimplemented from inet::UdpSetOptionCommand.

Referenced by inet::doParsimUnpacking().

◆ setLoop()

virtual void inet::UdpSetMulticastLoopCommand::setLoop ( bool  loop)
virtual

Member Data Documentation

◆ loop

bool inet::UdpSetMulticastLoopCommand::loop = false
protected

The documentation for this class was generated from the following file:
inet::UdpSetMulticastLoopCommand::UdpSetMulticastLoopCommand
UdpSetMulticastLoopCommand()