OverSim
SearchResponseMessage Class Reference

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

#include <GiaMessage_m.h>

Inheritance diagram for SearchResponseMessage:
GiaIDMessage GiaMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 SearchResponseMessage (const char *name=NULL, int kind=0)
 SearchResponseMessage (const SearchResponseMessage &other)
virtual ~SearchResponseMessage ()
SearchResponseMessageoperator= (const SearchResponseMessage &other)
virtual SearchResponseMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual OverlayKeygetSearchKey ()
virtual const OverlayKeygetSearchKey () const
virtual void setSearchKey (const OverlayKey &searchKey)
virtual void setReversePathArraySize (unsigned int size)
virtual unsigned int getReversePathArraySize () const
virtual OverlayKeygetReversePath (unsigned int k)
virtual const OverlayKeygetReversePath (unsigned int k) const
virtual void setReversePath (unsigned int k, const OverlayKey &reversePath)
virtual GiaNodegetFoundNode ()
virtual const GiaNodegetFoundNode () const
virtual void setFoundNode (const GiaNode &foundNode)
virtual int getSearchHopCount () const
virtual void setSearchHopCount (int searchHopCount)
- Public Member Functions inherited from GiaIDMessage
 GiaIDMessage (const char *name=NULL, int kind=0)
 GiaIDMessage (const GiaIDMessage &other)
virtual ~GiaIDMessage ()
GiaIDMessageoperator= (const GiaIDMessage &other)
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 SearchResponseMessage &)
- Protected Member Functions inherited from GiaIDMessage
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 searchKey_var
OverlayKeyreversePath_var
unsigned int reversePath_arraysize
GiaNode foundNode_var
int searchHopCount_var
- Protected Attributes inherited from GiaIDMessage
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 SearchResponseMessage &other)

Detailed Description

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

message SearchResponseMessage extends GiaIDMessage
{
       OverlayKey searchKey;        
       OverlayKey reversePath[];    
       GiaNode foundNode;    
       int searchHopCount;    
};

Definition at line 424 of file GiaMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

SearchResponseMessage::SearchResponseMessage ( const SearchResponseMessage other)
virtual SearchResponseMessage::~SearchResponseMessage ( )
virtual

Member Function Documentation

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

Reimplemented from GiaIDMessage.

Definition at line 445 of file GiaMessage_m.h.

{return new SearchResponseMessage(*this);}
virtual GiaNode& SearchResponseMessage::getFoundNode ( )
virtual
virtual const GiaNode& SearchResponseMessage::getFoundNode ( ) const
inlinevirtual

Definition at line 459 of file GiaMessage_m.h.

Referenced by getFoundNode().

{return const_cast<SearchResponseMessage*>(this)->getFoundNode();}
virtual OverlayKey& SearchResponseMessage::getReversePath ( unsigned int  k)
virtual
virtual const OverlayKey& SearchResponseMessage::getReversePath ( unsigned int  k) const
inlinevirtual

Definition at line 456 of file GiaMessage_m.h.

Referenced by getReversePath().

{return const_cast<SearchResponseMessage*>(this)->getReversePath(k);}
virtual unsigned int SearchResponseMessage::getReversePathArraySize ( ) const
virtual
virtual int SearchResponseMessage::getSearchHopCount ( ) const
virtual
virtual OverlayKey& SearchResponseMessage::getSearchKey ( )
virtual
virtual const OverlayKey& SearchResponseMessage::getSearchKey ( ) const
inlinevirtual

Definition at line 451 of file GiaMessage_m.h.

Referenced by getSearchKey().

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

Reimplemented from GiaIDMessage.

Referenced by doPacking().

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

Reimplemented from GiaIDMessage.

Referenced by doUnpacking().

virtual void SearchResponseMessage::setFoundNode ( const GiaNode foundNode)
virtual
virtual void SearchResponseMessage::setReversePath ( unsigned int  k,
const OverlayKey reversePath 
)
virtual
virtual void SearchResponseMessage::setReversePathArraySize ( unsigned int  size)
virtual
virtual void SearchResponseMessage::setSearchHopCount ( int  searchHopCount)
virtual
virtual void SearchResponseMessage::setSearchKey ( const OverlayKey searchKey)
virtual

Member Data Documentation

GiaNode SearchResponseMessage::foundNode_var
protected

Definition at line 430 of file GiaMessage_m.h.

unsigned int SearchResponseMessage::reversePath_arraysize
protected

Definition at line 429 of file GiaMessage_m.h.

OverlayKey* SearchResponseMessage::reversePath_var
protected

Definition at line 428 of file GiaMessage_m.h.

int SearchResponseMessage::searchHopCount_var
protected

Definition at line 431 of file GiaMessage_m.h.

OverlayKey SearchResponseMessage::searchKey_var
protected

Definition at line 427 of file GiaMessage_m.h.


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