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

Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:313 by nedtool. More...

#include <UDPControlInfo_m.h>

Inheritance diagram for inet::UDPJoinMulticastSourcesCommand:
inet::UDPSetOptionCommand inet::UDPControlInfo

Public Member Functions

 UDPJoinMulticastSourcesCommand ()
 
 UDPJoinMulticastSourcesCommand (const UDPJoinMulticastSourcesCommand &other)
 
virtual ~UDPJoinMulticastSourcesCommand ()
 
UDPJoinMulticastSourcesCommand & operator= (const UDPJoinMulticastSourcesCommand &other)
 
virtual UDPJoinMulticastSourcesCommand * dup () 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 L3Address & getMulticastAddr ()
 
virtual const L3Address & getMulticastAddr () const
 
virtual void setMulticastAddr (const L3Address &multicastAddr)
 
virtual void setSourceListArraySize (unsigned int size)
 
virtual unsigned int getSourceListArraySize () const
 
virtual L3Address & getSourceList (unsigned int k)
 
virtual const L3Address & getSourceList (unsigned int k) const
 
virtual void setSourceList (unsigned int k, const L3Address &sourceList)
 
- Public Member Functions inherited from inet::UDPSetOptionCommand
 UDPSetOptionCommand ()
 
 UDPSetOptionCommand (const UDPSetOptionCommand &other)
 
virtual ~UDPSetOptionCommand ()
 
UDPSetOptionCommand & operator= (const UDPSetOptionCommand &other)
 
- Public Member Functions inherited from inet::UDPControlInfo
 UDPControlInfo ()
 
 UDPControlInfo (const UDPControlInfo &other)
 
virtual ~UDPControlInfo ()
 
UDPControlInfo & operator= (const UDPControlInfo &other)
 
virtual int getSockId () const
 
virtual void setSockId (int sockId)
 

Protected Member Functions

bool operator== (const UDPJoinMulticastSourcesCommand &)
 
- Protected Member Functions inherited from inet::UDPSetOptionCommand
bool operator== (const UDPSetOptionCommand &)
 
- Protected Member Functions inherited from inet::UDPControlInfo
bool operator== (const UDPControlInfo &)
 

Protected Attributes

int interfaceId
 
L3Address multicastAddr
 
L3Address * sourceList
 
unsigned int sourceList_arraysize
 
- Protected Attributes inherited from inet::UDPControlInfo
int sockId
 

Private Member Functions

void copy (const UDPJoinMulticastSourcesCommand &other)
 

Detailed Description

Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:313 by nedtool.

//
// Control info for letting an UDP socket to join a multicast group
// only for the selected sources.
//
// see IP_ADD_SOURCE_MEMBERSHIP socket option
class UDPJoinMulticastSourcesCommand extends UDPSetOptionCommand
{
    int interfaceId;
    L3Address multicastAddr;
    L3Address sourceList[];
}

Constructor & Destructor Documentation

inet::UDPJoinMulticastSourcesCommand::UDPJoinMulticastSourcesCommand ( )
inet::UDPJoinMulticastSourcesCommand::UDPJoinMulticastSourcesCommand ( const UDPJoinMulticastSourcesCommand &  other)
virtual inet::UDPJoinMulticastSourcesCommand::~UDPJoinMulticastSourcesCommand ( )
virtual

Member Function Documentation

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

Reimplemented from inet::UDPSetOptionCommand.

virtual int inet::UDPJoinMulticastSourcesCommand::getInterfaceId ( ) const
virtual
virtual L3Address& inet::UDPJoinMulticastSourcesCommand::getMulticastAddr ( )
virtual
virtual const L3Address& inet::UDPJoinMulticastSourcesCommand::getMulticastAddr ( ) const
inlinevirtual

Referenced by getMulticastAddr().

1051 {return const_cast<UDPJoinMulticastSourcesCommand*>(this)->getMulticastAddr();}
virtual L3Address & getMulticastAddr()
virtual L3Address& inet::UDPJoinMulticastSourcesCommand::getSourceList ( unsigned int  k)
virtual
virtual const L3Address& inet::UDPJoinMulticastSourcesCommand::getSourceList ( unsigned int  k) const
inlinevirtual

Referenced by getSourceList().

1056 {return const_cast<UDPJoinMulticastSourcesCommand*>(this)->getSourceList(k);}
virtual L3Address & getSourceList(unsigned int k)
const double k
Definition: QAM16Modulation.cc:24
virtual unsigned int inet::UDPJoinMulticastSourcesCommand::getSourceListArraySize ( ) const
virtual
UDPJoinMulticastSourcesCommand& inet::UDPJoinMulticastSourcesCommand::operator= ( const UDPJoinMulticastSourcesCommand &  other)
bool inet::UDPJoinMulticastSourcesCommand::operator== ( const UDPJoinMulticastSourcesCommand &  )
protected
virtual void inet::UDPJoinMulticastSourcesCommand::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::UDPSetOptionCommand.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::UDPSetOptionCommand.

Referenced by inet::doParsimUnpacking().

virtual void inet::UDPJoinMulticastSourcesCommand::setInterfaceId ( int  interfaceId)
virtual
virtual void inet::UDPJoinMulticastSourcesCommand::setMulticastAddr ( const L3Address &  multicastAddr)
virtual
virtual void inet::UDPJoinMulticastSourcesCommand::setSourceList ( unsigned int  k,
const L3Address &  sourceList 
)
virtual
virtual void inet::UDPJoinMulticastSourcesCommand::setSourceListArraySize ( unsigned int  size)
virtual

Member Data Documentation

int inet::UDPJoinMulticastSourcesCommand::interfaceId
protected
L3Address inet::UDPJoinMulticastSourcesCommand::multicastAddr
protected
L3Address* inet::UDPJoinMulticastSourcesCommand::sourceList
protected
unsigned int inet::UDPJoinMulticastSourcesCommand::sourceList_arraysize
protected

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