OverSim
VastMoveMessage Class Reference

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

#include <Vast_m.h>

Inheritance diagram for VastMoveMessage:
VastMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 VastMoveMessage (const char *name=NULL, int kind=0)
 VastMoveMessage (const VastMoveMessage &other)
virtual ~VastMoveMessage ()
VastMoveMessageoperator= (const VastMoveMessage &other)
virtual VastMoveMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual Vector2DgetNewPos ()
virtual const Vector2DgetNewPos () const
virtual void setNewPos (const Vector2D &newPos)
virtual bool getIs_boundary () const
virtual void setIs_boundary (bool is_boundary)
virtual bool getRequest_list () const
virtual void setRequest_list (bool request_list)
- 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 VastMoveMessage &)
- Protected Member Functions inherited from VastMessage
bool operator== (const VastMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

Vector2D newPos_var
bool is_boundary_var
bool request_list_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 VastMoveMessage &other)

Detailed Description

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

packet VastMoveMessage extends VastMessage 
{
    Vector2D newPos;
    bool is_boundary = false;
    bool request_list = false;
}

Definition at line 192 of file Vast_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

VastMoveMessage::VastMoveMessage ( const VastMoveMessage other)
virtual VastMoveMessage::~VastMoveMessage ( )
virtual

Member Function Documentation

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

Reimplemented from VastMessage.

Definition at line 211 of file Vast_m.h.

{return new VastMoveMessage(*this);}
virtual bool VastMoveMessage::getIs_boundary ( ) const
virtual

Referenced by Vast::handleNodeMove().

virtual Vector2D& VastMoveMessage::getNewPos ( )
virtual
virtual const Vector2D& VastMoveMessage::getNewPos ( ) const
inlinevirtual

Definition at line 217 of file Vast_m.h.

Referenced by getNewPos().

{return const_cast<VastMoveMessage*>(this)->getNewPos();}
virtual bool VastMoveMessage::getRequest_list ( ) const
virtual

Referenced by Vast::handleNodeMove().

VastMoveMessage& VastMoveMessage::operator= ( const VastMoveMessage other)
bool VastMoveMessage::operator== ( const VastMoveMessage )
protected
virtual void VastMoveMessage::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from VastMessage.

Referenced by doPacking().

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

Reimplemented from VastMessage.

Referenced by doUnpacking().

virtual void VastMoveMessage::setIs_boundary ( bool  is_boundary)
virtual
virtual void VastMoveMessage::setNewPos ( const Vector2D newPos)
virtual
virtual void VastMoveMessage::setRequest_list ( bool  request_list)
virtual

Member Data Documentation

bool VastMoveMessage::is_boundary_var
protected

Definition at line 196 of file Vast_m.h.

Vector2D VastMoveMessage::newPos_var
protected

Definition at line 195 of file Vast_m.h.

bool VastMoveMessage::request_list_var
protected

Definition at line 197 of file Vast_m.h.


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