OverSim
QuonListMessage Class Reference

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

#include <Quon_m.h>

Inheritance diagram for QuonListMessage:
QuonMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base QuonMoveMessage

Public Member Functions

 QuonListMessage (const char *name=NULL, int kind=0)
 QuonListMessage (const QuonListMessage &other)
virtual ~QuonListMessage ()
QuonListMessageoperator= (const QuonListMessage &other)
virtual QuonListMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
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 QuonListMessage &)
- Protected Member Functions inherited from QuonMessage
bool operator== (const QuonMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

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 QuonListMessage &other)

Detailed Description

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

packet QuonListMessage extends QuonMessage 
{
    NodeHandle neighborHandle[];
    Vector2D neighborPosition[];
}

Definition at line 161 of file Quon_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

QuonListMessage::QuonListMessage ( const QuonListMessage other)
virtual QuonListMessage::~QuonListMessage ( )
virtual

Member Function Documentation

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

Reimplemented from QuonMessage.

Reimplemented in QuonMoveMessage.

Definition at line 181 of file Quon_m.h.

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

Definition at line 189 of file Quon_m.h.

Referenced by getNeighborHandle().

{return const_cast<QuonListMessage*>(this)->getNeighborHandle(k);}
virtual unsigned int QuonListMessage::getNeighborHandleArraySize ( ) const
virtual
virtual Vector2D& QuonListMessage::getNeighborPosition ( unsigned int  k)
virtual
virtual const Vector2D& QuonListMessage::getNeighborPosition ( unsigned int  k) const
inlinevirtual

Definition at line 194 of file Quon_m.h.

Referenced by getNeighborPosition().

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

Reimplemented from QuonMessage.

Reimplemented in QuonMoveMessage.

Referenced by doPacking().

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

Reimplemented from QuonMessage.

Reimplemented in QuonMoveMessage.

Referenced by doUnpacking().

virtual void QuonListMessage::setNeighborHandle ( unsigned int  k,
const NodeHandle neighborHandle 
)
virtual
virtual void QuonListMessage::setNeighborHandleArraySize ( unsigned int  size)
virtual
virtual void QuonListMessage::setNeighborPosition ( unsigned int  k,
const Vector2D neighborPosition 
)
virtual
virtual void QuonListMessage::setNeighborPositionArraySize ( unsigned int  size)
virtual

Member Data Documentation

unsigned int QuonListMessage::neighborHandle_arraysize
protected

Definition at line 165 of file Quon_m.h.

NodeHandle* QuonListMessage::neighborHandle_var
protected

Definition at line 164 of file Quon_m.h.

unsigned int QuonListMessage::neighborPosition_arraysize
protected

Definition at line 167 of file Quon_m.h.

Vector2D* QuonListMessage::neighborPosition_var
protected

Definition at line 166 of file Quon_m.h.


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