OverSim
OverlayCtrlInfo Class Reference

Class generated from common/CommonMessages.msg by opp_msgc. More...

#include <CommonMessages_m.h>

Public Member Functions

 OverlayCtrlInfo ()
 OverlayCtrlInfo (const OverlayCtrlInfo &other)
virtual ~OverlayCtrlInfo ()
OverlayCtrlInfooperator= (const OverlayCtrlInfo &other)
virtual OverlayCtrlInfodup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual TransportAddressgetLastHop ()
virtual const TransportAddressgetLastHop () const
virtual void setLastHop (const TransportAddress &lastHop)
virtual NodeHandlegetSrcNode ()
virtual const NodeHandlegetSrcNode () const
virtual void setSrcNode (const NodeHandle &srcNode)
virtual NodeHandlegetSrcRoute ()
virtual const NodeHandlegetSrcRoute () const
virtual void setSrcRoute (const NodeHandle &srcRoute)
virtual int getHopCount () const
virtual void setHopCount (int hopCount)
virtual void setVisitedHopsArraySize (unsigned int size)
virtual unsigned int getVisitedHopsArraySize () const
virtual TransportAddressgetVisitedHops (unsigned int k)
virtual const TransportAddressgetVisitedHops (unsigned int k) const
virtual void setVisitedHops (unsigned int k, const TransportAddress &visitedHops)
virtual int getSrcComp () const
virtual void setSrcComp (int srcComp)
virtual int getDestComp () const
virtual void setDestComp (int destComp)
virtual int getTransportType () const
virtual void setTransportType (int transportType)
virtual int getRoutingType () const
virtual void setRoutingType (int routingType)

Protected Member Functions

bool operator== (const OverlayCtrlInfo &)

Protected Attributes

TransportAddress lastHop_var
NodeHandle srcNode_var
NodeHandle srcRoute_var
int hopCount_var
TransportAddressvisitedHops_var
unsigned int visitedHops_arraysize
int srcComp_var
int destComp_var
int transportType_var
int routingType_var

Private Member Functions

void copy (const OverlayCtrlInfo &other)

Detailed Description

Class generated from common/CommonMessages.msg by opp_msgc.

class OverlayCtrlInfo
{
    TransportAddress lastHop;    
    NodeHandle srcNode;          
    NodeHandle srcRoute;         
    int hopCount = 0;            
    TransportAddress visitedHops[];     
    int srcComp enum(CompType);  
    int destComp enum(CompType); 
    int transportType enum(TransportType) = INVALID_TRANSPORT; 
    int routingType enum(RoutingType);
}

Definition at line 1986 of file CommonMessages_m.h.

Constructor & Destructor Documentation

OverlayCtrlInfo::OverlayCtrlInfo ( )

Referenced by dup().

OverlayCtrlInfo::OverlayCtrlInfo ( const OverlayCtrlInfo other)
virtual OverlayCtrlInfo::~OverlayCtrlInfo ( )
virtual

Member Function Documentation

void OverlayCtrlInfo::copy ( const OverlayCtrlInfo other)
private
virtual OverlayCtrlInfo* OverlayCtrlInfo::dup ( ) const
inlinevirtual

Definition at line 2012 of file CommonMessages_m.h.

{return new OverlayCtrlInfo(*this);}
virtual int OverlayCtrlInfo::getDestComp ( ) const
virtual
virtual int OverlayCtrlInfo::getHopCount ( ) const
virtual
virtual const TransportAddress& OverlayCtrlInfo::getLastHop ( ) const
inlinevirtual

Definition at line 2018 of file CommonMessages_m.h.

Referenced by getLastHop().

{return const_cast<OverlayCtrlInfo*>(this)->getLastHop();}
virtual int OverlayCtrlInfo::getRoutingType ( ) const
virtual
virtual int OverlayCtrlInfo::getSrcComp ( ) const
virtual
virtual NodeHandle& OverlayCtrlInfo::getSrcNode ( )
virtual
virtual const NodeHandle& OverlayCtrlInfo::getSrcNode ( ) const
inlinevirtual

Definition at line 2021 of file CommonMessages_m.h.

Referenced by getSrcNode().

{return const_cast<OverlayCtrlInfo*>(this)->getSrcNode();}
virtual const NodeHandle& OverlayCtrlInfo::getSrcRoute ( ) const
inlinevirtual

Definition at line 2024 of file CommonMessages_m.h.

Referenced by getSrcRoute().

{return const_cast<OverlayCtrlInfo*>(this)->getSrcRoute();}
virtual int OverlayCtrlInfo::getTransportType ( ) const
virtual
virtual TransportAddress& OverlayCtrlInfo::getVisitedHops ( unsigned int  k)
virtual
virtual const TransportAddress& OverlayCtrlInfo::getVisitedHops ( unsigned int  k) const
inlinevirtual

Definition at line 2031 of file CommonMessages_m.h.

Referenced by getVisitedHops().

{return const_cast<OverlayCtrlInfo*>(this)->getVisitedHops(k);}
virtual unsigned int OverlayCtrlInfo::getVisitedHopsArraySize ( ) const
virtual
OverlayCtrlInfo& OverlayCtrlInfo::operator= ( const OverlayCtrlInfo other)
bool OverlayCtrlInfo::operator== ( const OverlayCtrlInfo )
protected
virtual void OverlayCtrlInfo::parsimPack ( cCommBuffer *  b)
virtual

Referenced by doPacking().

virtual void OverlayCtrlInfo::parsimUnpack ( cCommBuffer *  b)
virtual

Referenced by doUnpacking().

virtual void OverlayCtrlInfo::setDestComp ( int  destComp)
virtual
virtual void OverlayCtrlInfo::setLastHop ( const TransportAddress lastHop)
virtual
virtual void OverlayCtrlInfo::setRoutingType ( int  routingType)
virtual
virtual void OverlayCtrlInfo::setSrcComp ( int  srcComp)
virtual
virtual void OverlayCtrlInfo::setSrcRoute ( const NodeHandle srcRoute)
virtual
virtual void OverlayCtrlInfo::setVisitedHops ( unsigned int  k,
const TransportAddress visitedHops 
)
virtual
virtual void OverlayCtrlInfo::setVisitedHopsArraySize ( unsigned int  size)
virtual

Member Data Documentation

int OverlayCtrlInfo::destComp_var
protected

Definition at line 1996 of file CommonMessages_m.h.

int OverlayCtrlInfo::hopCount_var
protected

Definition at line 1992 of file CommonMessages_m.h.

TransportAddress OverlayCtrlInfo::lastHop_var
protected

Definition at line 1989 of file CommonMessages_m.h.

int OverlayCtrlInfo::routingType_var
protected

Definition at line 1998 of file CommonMessages_m.h.

int OverlayCtrlInfo::srcComp_var
protected

Definition at line 1995 of file CommonMessages_m.h.

NodeHandle OverlayCtrlInfo::srcNode_var
protected

Definition at line 1990 of file CommonMessages_m.h.

NodeHandle OverlayCtrlInfo::srcRoute_var
protected

Definition at line 1991 of file CommonMessages_m.h.

int OverlayCtrlInfo::transportType_var
protected

Definition at line 1997 of file CommonMessages_m.h.

unsigned int OverlayCtrlInfo::visitedHops_arraysize
protected

Definition at line 1994 of file CommonMessages_m.h.

TransportAddress* OverlayCtrlInfo::visitedHops_var
protected

Definition at line 1993 of file CommonMessages_m.h.


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