OverSim
QuonMessage Class Reference

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

#include <Quon_m.h>

Inheritance diagram for QuonMessage:
BaseOverlayMessage OverSimMessage OverSimMessage_Base QuonEventMessage QuonListMessage QuonMoveMessage

Public Member Functions

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

Protected Attributes

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

Detailed Description

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

packet QuonMessage extends BaseOverlayMessage 
{
    int command enum(QUONCommand);
    NodeHandle sender;
    Vector2D position;
    double AOIsize;
}

Definition at line 111 of file Quon_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

QuonMessage::QuonMessage ( const QuonMessage other)
virtual QuonMessage::~QuonMessage ( )
virtual

Member Function Documentation

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

Reimplemented from BaseOverlayMessage.

Reimplemented in QuonEventMessage, QuonMoveMessage, and QuonListMessage.

Definition at line 131 of file Quon_m.h.

{return new QuonMessage(*this);}
virtual double QuonMessage::getAOIsize ( ) const
virtual
virtual int QuonMessage::getCommand ( ) const
virtual
virtual Vector2D& QuonMessage::getPosition ( )
virtual
virtual const Vector2D& QuonMessage::getPosition ( ) const
inlinevirtual

Definition at line 142 of file Quon_m.h.

Referenced by getPosition().

{return const_cast<QuonMessage*>(this)->getPosition();}
virtual const NodeHandle& QuonMessage::getSender ( ) const
inlinevirtual

Definition at line 139 of file Quon_m.h.

Referenced by getSender().

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

Reimplemented from BaseOverlayMessage.

Reimplemented in QuonEventMessage, QuonMoveMessage, and QuonListMessage.

Referenced by doPacking().

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

Reimplemented from BaseOverlayMessage.

Reimplemented in QuonEventMessage, QuonMoveMessage, and QuonListMessage.

Referenced by doUnpacking().

Member Data Documentation

double QuonMessage::AOIsize_var
protected

Definition at line 117 of file Quon_m.h.

int QuonMessage::command_var
protected

Definition at line 114 of file Quon_m.h.

Vector2D QuonMessage::position_var
protected

Definition at line 116 of file Quon_m.h.

NodeHandle QuonMessage::sender_var
protected

Definition at line 115 of file Quon_m.h.


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