OverSim
QuonMoveMessage Class Reference

Class generated from overlay/quon/Quon.msg by opp_msgc. More...

#include <Quon_m.h>

Inheritance diagram for QuonMoveMessage:
QuonListMessage QuonMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 QuonMoveMessage (const char *name=NULL, int kind=0)
 QuonMoveMessage (const QuonMoveMessage &other)
virtual ~QuonMoveMessage ()
QuonMoveMessageoperator= (const QuonMoveMessage &other)
virtual QuonMoveMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual Vector2DgetNewPosition ()
virtual const Vector2DgetNewPosition () const
virtual void setNewPosition (const Vector2D &newPosition)
virtual bool getIsBinding () const
virtual void setIsBinding (bool isBinding)
- Public Member Functions inherited from QuonListMessage
 QuonListMessage (const char *name=NULL, int kind=0)
 QuonListMessage (const QuonListMessage &other)
virtual ~QuonListMessage ()
QuonListMessageoperator= (const QuonListMessage &other)
virtual void setNeighborHandleArraySize (unsigned int size)
virtual unsigned int getNeighborHandleArraySize () const
virtual NodeHandlegetNeighborHandle (unsigned int k)
virtual const NodeHandlegetNeighborHandle (unsigned int k) const
virtual void setNeighborHandle (unsigned int k, const NodeHandle &neighborHandle)
virtual void setNeighborPositionArraySize (unsigned int size)
virtual unsigned int getNeighborPositionArraySize () const
virtual Vector2DgetNeighborPosition (unsigned int k)
virtual const Vector2DgetNeighborPosition (unsigned int k) const
virtual void setNeighborPosition (unsigned int k, const Vector2D &neighborPosition)
- Public Member Functions inherited from QuonMessage
 QuonMessage (const char *name=NULL, int kind=0)
 QuonMessage (const QuonMessage &other)
virtual ~QuonMessage ()
QuonMessageoperator= (const QuonMessage &other)
virtual int getCommand () const
virtual void setCommand (int command)
virtual NodeHandlegetSender ()
virtual const NodeHandlegetSender () const
virtual void setSender (const NodeHandle &sender)
virtual Vector2DgetPosition ()
virtual const Vector2DgetPosition () const
virtual void setPosition (const Vector2D &position)
virtual double getAOIsize () const
virtual void setAOIsize (double AOIsize)
- 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 QuonMoveMessage &)
- Protected Member Functions inherited from QuonListMessage
bool operator== (const QuonListMessage &)
- Protected Member Functions inherited from QuonMessage
bool operator== (const QuonMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

Vector2D newPosition_var
bool isBinding_var
- Protected Attributes inherited from QuonListMessage
NodeHandleneighborHandle_var
unsigned int neighborHandle_arraysize
Vector2DneighborPosition_var
unsigned int neighborPosition_arraysize
- Protected Attributes inherited from QuonMessage
int command_var
NodeHandle sender_var
Vector2D position_var
double AOIsize_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const QuonMoveMessage &other)

Detailed Description

Class generated from overlay/quon/Quon.msg by opp_msgc.

packet QuonMoveMessage extends QuonListMessage 
{
    Vector2D newPosition;
    bool isBinding = false;
}

Definition at line 211 of file Quon_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

QuonMoveMessage::QuonMoveMessage ( const QuonMoveMessage other)
virtual QuonMoveMessage::~QuonMoveMessage ( )
virtual

Member Function Documentation

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

Reimplemented from QuonListMessage.

Definition at line 229 of file Quon_m.h.

{return new QuonMoveMessage(*this);}
virtual bool QuonMoveMessage::getIsBinding ( ) const
virtual

Referenced by Quon::handleNodeMove().

virtual Vector2D& QuonMoveMessage::getNewPosition ( )
virtual

Referenced by Quon::handleNodeMove().

virtual const Vector2D& QuonMoveMessage::getNewPosition ( ) const
inlinevirtual

Definition at line 235 of file Quon_m.h.

Referenced by getNewPosition().

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

Reimplemented from QuonListMessage.

Referenced by doPacking().

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

Reimplemented from QuonListMessage.

Referenced by doUnpacking().

virtual void QuonMoveMessage::setIsBinding ( bool  isBinding)
virtual
virtual void QuonMoveMessage::setNewPosition ( const Vector2D newPosition)
virtual

Member Data Documentation

bool QuonMoveMessage::isBinding_var
protected

Definition at line 215 of file Quon_m.h.

Vector2D QuonMoveMessage::newPosition_var
protected

Definition at line 214 of file Quon_m.h.


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