OverSim
|
Class generated from overlay/quon/Quon.msg
by opp_msgc.
More...
#include <Quon_m.h>
Public Member Functions | |
QuonMoveMessage (const char *name=NULL, int kind=0) | |
QuonMoveMessage (const QuonMoveMessage &other) | |
virtual | ~QuonMoveMessage () |
QuonMoveMessage & | operator= (const QuonMoveMessage &other) |
virtual QuonMoveMessage * | dup () const |
virtual void | parsimPack (cCommBuffer *b) |
virtual void | parsimUnpack (cCommBuffer *b) |
virtual Vector2D & | getNewPosition () |
virtual const Vector2D & | getNewPosition () 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 () |
QuonListMessage & | operator= (const QuonListMessage &other) |
virtual void | setNeighborHandleArraySize (unsigned int size) |
virtual unsigned int | getNeighborHandleArraySize () const |
virtual NodeHandle & | getNeighborHandle (unsigned int k) |
virtual const NodeHandle & | getNeighborHandle (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 Vector2D & | getNeighborPosition (unsigned int k) |
virtual const Vector2D & | getNeighborPosition (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 () |
QuonMessage & | operator= (const QuonMessage &other) |
virtual int | getCommand () const |
virtual void | setCommand (int command) |
virtual NodeHandle & | getSender () |
virtual const NodeHandle & | getSender () const |
virtual void | setSender (const NodeHandle &sender) |
virtual Vector2D & | getPosition () |
virtual const Vector2D & | getPosition () 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 () |
BaseOverlayMessage & | operator= (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) | |
OverSimMessage & | operator= (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 | |
NodeHandle * | neighborHandle_var |
unsigned int | neighborHandle_arraysize |
Vector2D * | neighborPosition_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) |
Class generated from overlay/quon/Quon.msg
by opp_msgc.
packet QuonMoveMessage extends QuonListMessage { Vector2D newPosition; bool isBinding = false; }
QuonMoveMessage::QuonMoveMessage | ( | const char * | name = NULL , |
int | kind = 0 |
||
) |
Referenced by dup().
QuonMoveMessage::QuonMoveMessage | ( | const QuonMoveMessage & | other | ) |
|
virtual |
|
private |
|
inlinevirtual |
|
virtual |
Referenced by Quon::handleNodeMove().
|
virtual |
Referenced by Quon::handleNodeMove().
|
inlinevirtual |
QuonMoveMessage& QuonMoveMessage::operator= | ( | const QuonMoveMessage & | other | ) |
|
protected |
|
virtual |
Reimplemented from QuonListMessage.
Referenced by doPacking().
|
virtual |
Reimplemented from QuonListMessage.
Referenced by doUnpacking().
|
virtual |
Referenced by Quon::handleJoinAcknowledge(), Quon::handleMove(), and Quon::processBackupTimer().
|
virtual |
Referenced by Quon::handleJoinAcknowledge(), Quon::handleMove(), and Quon::processBackupTimer().