OverSim
GiaIDMessage Class Reference

Class generated from overlay/gia/GiaMessage.msg by opp_msgc. More...

#include <GiaMessage_m.h>

Inheritance diagram for GiaIDMessage:
GiaMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base GiaRouteMessage SearchMessage SearchResponseMessage

Public Member Functions

 GiaIDMessage (const char *name=NULL, int kind=0)
 GiaIDMessage (const GiaIDMessage &other)
virtual ~GiaIDMessage ()
GiaIDMessageoperator= (const GiaIDMessage &other)
virtual GiaIDMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual OverlayKeygetDestKey ()
virtual const OverlayKeygetDestKey () const
virtual void setDestKey (const OverlayKey &destKey)
virtual OverlayKeygetID ()
virtual const OverlayKeygetID () const
virtual void setID (const OverlayKey &ID)
- Public Member Functions inherited from GiaMessage
 GiaMessage (const char *name=NULL, int kind=0)
 GiaMessage (const GiaMessage &other)
virtual ~GiaMessage ()
GiaMessageoperator= (const GiaMessage &other)
virtual NodeHandlegetSrcNode ()
virtual const NodeHandlegetSrcNode () const
virtual void setSrcNode (const NodeHandle &srcNode)
virtual int getHopCount () const
virtual void setHopCount (int hopCount)
virtual int getCommand () const
virtual void setCommand (int command)
virtual double getSrcCapacity () const
virtual void setSrcCapacity (double srcCapacity)
virtual int getSrcDegree () const
virtual void setSrcDegree (int srcDegree)
- 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 GiaIDMessage &)
- Protected Member Functions inherited from GiaMessage
bool operator== (const GiaMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

OverlayKey destKey_var
OverlayKey ID_var
- Protected Attributes inherited from GiaMessage
NodeHandle srcNode_var
int hopCount_var
int command_var
double srcCapacity_var
int srcDegree_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const GiaIDMessage &other)

Detailed Description

Class generated from overlay/gia/GiaMessage.msg by opp_msgc.

message GiaIDMessage extends GiaMessage
{
        OverlayKey destKey;    
        OverlayKey ID;    
};

Definition at line 229 of file GiaMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

GiaIDMessage::GiaIDMessage ( const GiaIDMessage other)
virtual GiaIDMessage::~GiaIDMessage ( )
virtual

Member Function Documentation

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

Reimplemented from GiaMessage.

Reimplemented in SearchResponseMessage, SearchMessage, and GiaRouteMessage.

Definition at line 247 of file GiaMessage_m.h.

{return new GiaIDMessage(*this);}
virtual OverlayKey& GiaIDMessage::getDestKey ( )
virtual

Referenced by Gia::forwardMessage().

virtual const OverlayKey& GiaIDMessage::getDestKey ( ) const
inlinevirtual

Definition at line 253 of file GiaMessage_m.h.

Referenced by getDestKey().

{return const_cast<GiaIDMessage*>(this)->getDestKey();}
virtual const OverlayKey& GiaIDMessage::getID ( ) const
inlinevirtual

Definition at line 256 of file GiaMessage_m.h.

Referenced by getID().

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

Reimplemented from GiaMessage.

Reimplemented in SearchResponseMessage, SearchMessage, and GiaRouteMessage.

Referenced by doPacking().

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

Reimplemented from GiaMessage.

Reimplemented in SearchResponseMessage, SearchMessage, and GiaRouteMessage.

Referenced by doUnpacking().

virtual void GiaIDMessage::setDestKey ( const OverlayKey destKey)
virtual
virtual void GiaIDMessage::setID ( const OverlayKey ID)
virtual

Member Data Documentation

OverlayKey GiaIDMessage::destKey_var
protected

Definition at line 232 of file GiaMessage_m.h.

OverlayKey GiaIDMessage::ID_var
protected

Definition at line 233 of file GiaMessage_m.h.


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