OverSim
VastDiscardMessage Class Reference

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

#include <Vast_m.h>

Inheritance diagram for VastDiscardMessage:
VastMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 VastDiscardMessage (const char *name=NULL, int kind=0)
 VastDiscardMessage (const VastDiscardMessage &other)
virtual ~VastDiscardMessage ()
VastDiscardMessageoperator= (const VastDiscardMessage &other)
virtual VastDiscardMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual NodeHandlegetDiscardNode ()
virtual const NodeHandlegetDiscardNode () const
virtual void setDiscardNode (const NodeHandle &discardNode)
- 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 VastDiscardMessage &)
- Protected Member Functions inherited from VastMessage
bool operator== (const VastMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

NodeHandle discardNode_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 VastDiscardMessage &other)

Detailed Description

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

packet VastDiscardMessage extends VastMessage 
{
    NodeHandle discardNode;
}

Definition at line 237 of file Vast_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

VastDiscardMessage::VastDiscardMessage ( const VastDiscardMessage other)
virtual VastDiscardMessage::~VastDiscardMessage ( )
virtual

Member Function Documentation

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

Reimplemented from VastMessage.

Definition at line 254 of file Vast_m.h.

{return new VastDiscardMessage(*this);}
virtual NodeHandle& VastDiscardMessage::getDiscardNode ( )
virtual

Referenced by Vast::handleDiscardNode().

virtual const NodeHandle& VastDiscardMessage::getDiscardNode ( ) const
inlinevirtual

Definition at line 260 of file Vast_m.h.

Referenced by getDiscardNode().

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

Reimplemented from VastMessage.

Referenced by doPacking().

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

Reimplemented from VastMessage.

Referenced by doUnpacking().

virtual void VastDiscardMessage::setDiscardNode ( const NodeHandle discardNode)
virtual

Referenced by Vast::sendDiscardNode().

Member Data Documentation

NodeHandle VastDiscardMessage::discardNode_var
protected

Definition at line 240 of file Vast_m.h.


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