INET Framework for OMNeT++/OMNEST
inet::IMulticastRoute::OutInterface Class Reference

#include <IRoute.h>

Inheritance diagram for inet::IMulticastRoute::OutInterface:
inet::PIMDM::PIMDMOutInterface inet::PIMSM::PIMSMOutInterface

Public Member Functions

 OutInterface (const InterfaceEntry *ie, bool isLeaf=false)
 
 OutInterface (const OutInterface &other)
 
virtual ~OutInterface ()
 
const InterfaceEntrygetInterface () const
 
bool isLeaf () const
 
virtual bool isEnabled ()
 

Protected Attributes

const InterfaceEntryie
 
bool _isLeaf
 

Constructor & Destructor Documentation

inet::IMulticastRoute::OutInterface::OutInterface ( const InterfaceEntry ie,
bool  isLeaf = false 
)
inline
179 : ie(ie), _isLeaf(isLeaf) { ASSERT(ie); }
const InterfaceEntry * ie
Definition: IRoute.h:175
bool isLeaf() const
Definition: IRoute.h:184
bool _isLeaf
Definition: IRoute.h:176
inet::IMulticastRoute::OutInterface::OutInterface ( const OutInterface other)
inline
180 : ie(other.ie), _isLeaf(other._isLeaf) {}
const InterfaceEntry * ie
Definition: IRoute.h:175
bool _isLeaf
Definition: IRoute.h:176
virtual inet::IMulticastRoute::OutInterface::~OutInterface ( )
inlinevirtual
181 {}

Member Function Documentation

virtual bool inet::IMulticastRoute::OutInterface::isEnabled ( )
inlinevirtual

Reimplemented in inet::PIMDM::PIMDMOutInterface, and inet::PIMSM::PIMSMOutInterface.

Referenced by inet::IPv4::forwardMulticastPacket().

187 { return true; }
bool inet::IMulticastRoute::OutInterface::isLeaf ( ) const
inline

Referenced by inet::IPv4::forwardMulticastPacket().

184 { return _isLeaf; }
bool _isLeaf
Definition: IRoute.h:176

Member Data Documentation

bool inet::IMulticastRoute::OutInterface::_isLeaf
protected
const InterfaceEntry* inet::IMulticastRoute::OutInterface::ie
protected

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