OverSim
PastryStateMessage Class Reference

#include <PastryMessage_m.h>

Inheritance diagram for PastryStateMessage:
BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 PastryStateMessage (const char *name=NULL, int kind=0)
 PastryStateMessage (const PastryStateMessage &other)
virtual ~PastryStateMessage ()
PastryStateMessageoperator= (const PastryStateMessage &other)
virtual PastryStateMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual int getPastryStateMsgType () const
virtual void setPastryStateMsgType (int pastryStateMsgType)
virtual NodeHandlegetSender ()
virtual const NodeHandlegetSender () const
virtual void setSender (const NodeHandle &sender)
virtual void setRoutingTableArraySize (unsigned int size)
virtual unsigned int getRoutingTableArraySize () const
virtual NodeHandlegetRoutingTable (unsigned int k)
virtual const NodeHandlegetRoutingTable (unsigned int k) const
virtual void setRoutingTable (unsigned int k, const NodeHandle &routingTable)
virtual void setLeafSetArraySize (unsigned int size)
virtual unsigned int getLeafSetArraySize () const
virtual NodeHandlegetLeafSet (unsigned int k)
virtual const NodeHandlegetLeafSet (unsigned int k) const
virtual void setLeafSet (unsigned int k, const NodeHandle &leafSet)
virtual void setNeighborhoodSetArraySize (unsigned int size)
virtual unsigned int getNeighborhoodSetArraySize () const
virtual NodeHandlegetNeighborhoodSet (unsigned int k)
virtual const NodeHandlegetNeighborhoodSet (unsigned int k) const
virtual void setNeighborhoodSet (unsigned int k, const NodeHandle &neighborhoodSet)
virtual int getRow () const
virtual void setRow (int row)
virtual bool getLastHop () const
virtual void setLastHop (bool lastHop)
virtual simtime_t getTimestamp () const
virtual void setTimestamp (simtime_t timestamp)
- Public Member Functions inherited from BaseOverlayMessage
 BaseOverlayMessage (const char *name=NULL, int kind=0)
 BaseOverlayMessage (const BaseOverlayMessage &other)
virtual ~BaseOverlayMessage ()
BaseOverlayMessageoperator= (const BaseOverlayMessage &other)
virtual int getType () const
virtual void setType (int type)
virtual int getStatType () const
virtual void setStatType (int statType)
- Public Member Functions inherited from OverSimMessage
 OverSimMessage (const char *name=NULL, int kind=0)
 OverSimMessage (const OverSimMessage &other)
OverSimMessageoperator= (const OverSimMessage &other)
- Public Member Functions inherited from OverSimMessage_Base
virtual ~OverSimMessage_Base ()

Protected Member Functions

bool operator== (const PastryStateMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

int pastryStateMsgType_var
NodeHandle sender_var
NodeHandleroutingTable_var
unsigned int routingTable_arraysize
NodeHandleleafSet_var
unsigned int leafSet_arraysize
NodeHandleneighborhoodSet_var
unsigned int neighborhoodSet_arraysize
int row_var
bool lastHop_var
simtime_t timestamp_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const PastryStateMessage &other)

Detailed Description

Definition at line 101 of file PastryMessage_m.h.

Constructor & Destructor Documentation

PastryStateMessage::PastryStateMessage ( const char *  name = NULL,
int  kind = 0 
)

Referenced by dup().

PastryStateMessage::PastryStateMessage ( const PastryStateMessage other)
virtual PastryStateMessage::~PastryStateMessage ( )
virtual

Member Function Documentation

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

Reimplemented from BaseOverlayMessage.

Definition at line 128 of file PastryMessage_m.h.

{return new PastryStateMessage(*this);}
virtual bool PastryStateMessage::getLastHop ( ) const
virtual
virtual const NodeHandle& PastryStateMessage::getLeafSet ( unsigned int  k) const
inlinevirtual

Definition at line 146 of file PastryMessage_m.h.

Referenced by getLeafSet().

{return const_cast<PastryStateMessage*>(this)->getLeafSet(k);}
virtual NodeHandle& PastryStateMessage::getNeighborhoodSet ( unsigned int  k)
virtual
virtual const NodeHandle& PastryStateMessage::getNeighborhoodSet ( unsigned int  k) const
inlinevirtual

Definition at line 151 of file PastryMessage_m.h.

Referenced by getNeighborhoodSet().

{return const_cast<PastryStateMessage*>(this)->getNeighborhoodSet(k);}
virtual unsigned int PastryStateMessage::getNeighborhoodSetArraySize ( ) const
virtual
virtual int PastryStateMessage::getPastryStateMsgType ( ) const
virtual
virtual const NodeHandle& PastryStateMessage::getRoutingTable ( unsigned int  k) const
inlinevirtual

Definition at line 141 of file PastryMessage_m.h.

Referenced by getRoutingTable().

{return const_cast<PastryStateMessage*>(this)->getRoutingTable(k);}
virtual unsigned int PastryStateMessage::getRoutingTableArraySize ( ) const
virtual
virtual int PastryStateMessage::getRow ( ) const
virtual
virtual const NodeHandle& PastryStateMessage::getSender ( ) const
inlinevirtual

Definition at line 136 of file PastryMessage_m.h.

Referenced by getSender().

{return const_cast<PastryStateMessage*>(this)->getSender();}
virtual simtime_t PastryStateMessage::getTimestamp ( ) const
virtual
PastryStateMessage& PastryStateMessage::operator= ( const PastryStateMessage other)
bool PastryStateMessage::operator== ( const PastryStateMessage )
protected
virtual void PastryStateMessage::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from BaseOverlayMessage.

Referenced by doPacking().

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

Reimplemented from BaseOverlayMessage.

Referenced by doUnpacking().

virtual void PastryStateMessage::setLastHop ( bool  lastHop)
virtual
virtual void PastryStateMessage::setLeafSet ( unsigned int  k,
const NodeHandle leafSet 
)
virtual
virtual void PastryStateMessage::setLeafSetArraySize ( unsigned int  size)
virtual
virtual void PastryStateMessage::setNeighborhoodSet ( unsigned int  k,
const NodeHandle neighborhoodSet 
)
virtual
virtual void PastryStateMessage::setNeighborhoodSetArraySize ( unsigned int  size)
virtual
virtual void PastryStateMessage::setPastryStateMsgType ( int  pastryStateMsgType)
virtual
virtual void PastryStateMessage::setRoutingTable ( unsigned int  k,
const NodeHandle routingTable 
)
virtual
virtual void PastryStateMessage::setRoutingTableArraySize ( unsigned int  size)
virtual
virtual void PastryStateMessage::setRow ( int  row)
virtual
virtual void PastryStateMessage::setSender ( const NodeHandle sender)
virtual
virtual void PastryStateMessage::setTimestamp ( simtime_t  timestamp)
virtual

Member Data Documentation

bool PastryStateMessage::lastHop_var
protected

Definition at line 113 of file PastryMessage_m.h.

unsigned int PastryStateMessage::leafSet_arraysize
protected

Definition at line 109 of file PastryMessage_m.h.

NodeHandle* PastryStateMessage::leafSet_var
protected

Definition at line 108 of file PastryMessage_m.h.

unsigned int PastryStateMessage::neighborhoodSet_arraysize
protected

Definition at line 111 of file PastryMessage_m.h.

NodeHandle* PastryStateMessage::neighborhoodSet_var
protected

Definition at line 110 of file PastryMessage_m.h.

int PastryStateMessage::pastryStateMsgType_var
protected

Definition at line 104 of file PastryMessage_m.h.

unsigned int PastryStateMessage::routingTable_arraysize
protected

Definition at line 107 of file PastryMessage_m.h.

NodeHandle* PastryStateMessage::routingTable_var
protected

Definition at line 106 of file PastryMessage_m.h.

int PastryStateMessage::row_var
protected

Definition at line 112 of file PastryMessage_m.h.

NodeHandle PastryStateMessage::sender_var
protected

Definition at line 105 of file PastryMessage_m.h.

simtime_t PastryStateMessage::timestamp_var
protected

Definition at line 114 of file PastryMessage_m.h.


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