OverSim
VastListMessage Class Reference

Class generated from overlay/vast/Vast.msg by opp_msgc. More...

#include <Vast_m.h>

Inheritance diagram for VastListMessage:
VastMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 VastListMessage (const char *name=NULL, int kind=0)
 VastListMessage (const VastListMessage &other)
virtual ~VastListMessage ()
VastListMessageoperator= (const VastListMessage &other)
virtual VastListMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual void setNeighborNodeArraySize (unsigned int size)
virtual unsigned int getNeighborNodeArraySize () const
virtual NodeHandlegetNeighborNode (unsigned int k)
virtual const NodeHandlegetNeighborNode (unsigned int k) const
virtual void setNeighborNode (unsigned int k, const NodeHandle &neighborNode)
virtual void setNeighborPosArraySize (unsigned int size)
virtual unsigned int getNeighborPosArraySize () const
virtual Vector2DgetNeighborPos (unsigned int k)
virtual const Vector2DgetNeighborPos (unsigned int k) const
virtual void setNeighborPos (unsigned int k, const Vector2D &neighborPos)
virtual bool getRequestEnclosingNeighbors () const
virtual void setRequestEnclosingNeighbors (bool requestEnclosingNeighbors)
- Public Member Functions inherited from VastMessage
 VastMessage (const char *name=NULL, int kind=0)
 VastMessage (const VastMessage &other)
virtual ~VastMessage ()
VastMessageoperator= (const VastMessage &other)
virtual int getCommand () const
virtual void setCommand (int command)
virtual NodeHandlegetSourceNode ()
virtual const NodeHandlegetSourceNode () const
virtual void setSourceNode (const NodeHandle &sourceNode)
virtual OverlayKeygetDestKey ()
virtual const OverlayKeygetDestKey () const
virtual void setDestKey (const OverlayKey &destKey)
virtual Vector2DgetPos ()
virtual const Vector2DgetPos () const
virtual void setPos (const Vector2D &pos)
virtual int getNeighborCount () const
virtual void setNeighborCount (int neighborCount)
- 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 VastListMessage &)
- Protected Member Functions inherited from VastMessage
bool operator== (const VastMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

NodeHandleneighborNode_var
unsigned int neighborNode_arraysize
Vector2DneighborPos_var
unsigned int neighborPos_arraysize
bool requestEnclosingNeighbors_var
- Protected Attributes inherited from VastMessage
int command_var
NodeHandle sourceNode_var
OverlayKey destKey_var
Vector2D pos_var
int neighborCount_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const VastListMessage &other)

Detailed Description

Class generated from overlay/vast/Vast.msg by opp_msgc.

packet VastListMessage extends VastMessage 
{
    NodeHandle neighborNode[];
    Vector2D neighborPos[];
    bool requestEnclosingNeighbors = false;
}

Definition at line 138 of file Vast_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

VastListMessage::VastListMessage ( const VastListMessage other)
virtual VastListMessage::~VastListMessage ( )
virtual

Member Function Documentation

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

Reimplemented from VastMessage.

Definition at line 159 of file Vast_m.h.

{return new VastListMessage(*this);}
virtual NodeHandle& VastListMessage::getNeighborNode ( unsigned int  k)
virtual
virtual const NodeHandle& VastListMessage::getNeighborNode ( unsigned int  k) const
inlinevirtual

Definition at line 167 of file Vast_m.h.

Referenced by getNeighborNode().

{return const_cast<VastListMessage*>(this)->getNeighborNode(k);}
virtual Vector2D& VastListMessage::getNeighborPos ( unsigned int  k)
virtual
virtual const Vector2D& VastListMessage::getNeighborPos ( unsigned int  k) const
inlinevirtual

Definition at line 172 of file Vast_m.h.

Referenced by getNeighborPos().

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

Reimplemented from VastMessage.

Referenced by doPacking().

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

Reimplemented from VastMessage.

Referenced by doUnpacking().

virtual void VastListMessage::setNeighborNode ( unsigned int  k,
const NodeHandle neighborNode 
)
virtual
virtual void VastListMessage::setNeighborNodeArraySize ( unsigned int  size)
virtual
virtual void VastListMessage::setNeighborPos ( unsigned int  k,
const Vector2D neighborPos 
)
virtual
virtual void VastListMessage::setNeighborPosArraySize ( unsigned int  size)
virtual
virtual void VastListMessage::setRequestEnclosingNeighbors ( bool  requestEnclosingNeighbors)
virtual

Referenced by Vast::handleNodeMove().

Member Data Documentation

unsigned int VastListMessage::neighborNode_arraysize
protected

Definition at line 142 of file Vast_m.h.

NodeHandle* VastListMessage::neighborNode_var
protected

Definition at line 141 of file Vast_m.h.

unsigned int VastListMessage::neighborPos_arraysize
protected

Definition at line 144 of file Vast_m.h.

Vector2D* VastListMessage::neighborPos_var
protected

Definition at line 143 of file Vast_m.h.

bool VastListMessage::requestEnclosingNeighbors_var
protected

Definition at line 145 of file Vast_m.h.


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