OverSim
GiaNeighborMessage Class Reference

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

#include <GiaMessage_m.h>

Inheritance diagram for GiaNeighborMessage:
GiaMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 GiaNeighborMessage (const char *name=NULL, int kind=0)
 GiaNeighborMessage (const GiaNeighborMessage &other)
virtual ~GiaNeighborMessage ()
GiaNeighborMessageoperator= (const GiaNeighborMessage &other)
virtual GiaNeighborMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual void setNeighborsArraySize (unsigned int size)
virtual unsigned int getNeighborsArraySize () const
virtual GiaNodegetNeighbors (unsigned int k)
virtual const GiaNodegetNeighbors (unsigned int k) const
virtual void setNeighbors (unsigned int k, const GiaNode &neighbors)
- 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 GiaNeighborMessage &)
- Protected Member Functions inherited from GiaMessage
bool operator== (const GiaMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

GiaNodeneighbors_var
unsigned int neighbors_arraysize
- 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 GiaNeighborMessage &other)

Detailed Description

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

message GiaNeighborMessage extends GiaMessage
{
        GiaNode neighbors[];
};

Definition at line 144 of file GiaMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

GiaNeighborMessage::GiaNeighborMessage ( const GiaNeighborMessage other)
virtual GiaNeighborMessage::~GiaNeighborMessage ( )
virtual

Member Function Documentation

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

Reimplemented from GiaMessage.

Definition at line 162 of file GiaMessage_m.h.

{return new GiaNeighborMessage(*this);}
virtual GiaNode& GiaNeighborMessage::getNeighbors ( unsigned int  k)
virtual
virtual const GiaNode& GiaNeighborMessage::getNeighbors ( unsigned int  k) const
inlinevirtual

Definition at line 170 of file GiaMessage_m.h.

Referenced by getNeighbors().

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

Reimplemented from GiaMessage.

Referenced by doPacking().

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

Reimplemented from GiaMessage.

Referenced by doUnpacking().

virtual void GiaNeighborMessage::setNeighbors ( unsigned int  k,
const GiaNode neighbors 
)
virtual
virtual void GiaNeighborMessage::setNeighborsArraySize ( unsigned int  size)
virtual

Member Data Documentation

unsigned int GiaNeighborMessage::neighbors_arraysize
protected

Definition at line 148 of file GiaMessage_m.h.

GiaNode* GiaNeighborMessage::neighbors_var
protected

Definition at line 147 of file GiaMessage_m.h.


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