OverSim
SearchMessage Class Reference

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

#include <GiaMessage_m.h>

Inheritance diagram for SearchMessage:
GiaIDMessage GiaMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 SearchMessage (const char *name=NULL, int kind=0)
 SearchMessage (const SearchMessage &other)
virtual ~SearchMessage ()
SearchMessageoperator= (const SearchMessage &other)
virtual SearchMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual OverlayKeygetSearchKey ()
virtual const OverlayKeygetSearchKey () const
virtual void setSearchKey (const OverlayKey &searchKey)
virtual int getMaxResponses () const
virtual void setMaxResponses (int maxResponses)
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 void setFoundNodeArraySize (unsigned int size)
virtual unsigned int getFoundNodeArraySize () const
virtual OverlayKeygetFoundNode (unsigned int k)
virtual const OverlayKeygetFoundNode (unsigned int k) const
virtual void setFoundNode (unsigned int k, const OverlayKey &foundNode)
- 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 SearchMessage &)
- 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
int maxResponses_var
OverlayKeyreversePath_var
unsigned int reversePath_arraysize
OverlayKeyfoundNode_var
unsigned int foundNode_arraysize
- 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 SearchMessage &other)

Detailed Description

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

message SearchMessage extends GiaIDMessage
{
        OverlayKey searchKey;    
        int maxResponses;    
        OverlayKey reversePath[];    
        OverlayKey foundNode[];    
};

Definition at line 365 of file GiaMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

SearchMessage::SearchMessage ( const SearchMessage other)
virtual SearchMessage::~SearchMessage ( )
virtual

Member Function Documentation

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

Reimplemented from GiaIDMessage.

Definition at line 387 of file GiaMessage_m.h.

{return new SearchMessage(*this);}
virtual OverlayKey& SearchMessage::getFoundNode ( unsigned int  k)
virtual
virtual const OverlayKey& SearchMessage::getFoundNode ( unsigned int  k) const
inlinevirtual

Definition at line 405 of file GiaMessage_m.h.

Referenced by getFoundNode().

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

Definition at line 400 of file GiaMessage_m.h.

Referenced by getReversePath().

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

Definition at line 393 of file GiaMessage_m.h.

Referenced by getSearchKey().

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

Reimplemented from GiaIDMessage.

Referenced by doPacking().

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

Reimplemented from GiaIDMessage.

Referenced by doUnpacking().

virtual void SearchMessage::setFoundNode ( unsigned int  k,
const OverlayKey foundNode 
)
virtual
virtual void SearchMessage::setFoundNodeArraySize ( unsigned int  size)
virtual
virtual void SearchMessage::setMaxResponses ( int  maxResponses)
virtual
virtual void SearchMessage::setReversePath ( unsigned int  k,
const OverlayKey reversePath 
)
virtual
virtual void SearchMessage::setReversePathArraySize ( unsigned int  size)
virtual
virtual void SearchMessage::setSearchKey ( const OverlayKey searchKey)
virtual

Member Data Documentation

unsigned int SearchMessage::foundNode_arraysize
protected

Definition at line 373 of file GiaMessage_m.h.

OverlayKey* SearchMessage::foundNode_var
protected

Definition at line 372 of file GiaMessage_m.h.

int SearchMessage::maxResponses_var
protected

Definition at line 369 of file GiaMessage_m.h.

unsigned int SearchMessage::reversePath_arraysize
protected

Definition at line 371 of file GiaMessage_m.h.

OverlayKey* SearchMessage::reversePath_var
protected

Definition at line 370 of file GiaMessage_m.h.

OverlayKey SearchMessage::searchKey_var
protected

Definition at line 368 of file GiaMessage_m.h.


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