OverSim
PubSubReplacementMessage Class Reference

Class generated from overlay/pubsubmmog/PubSubMessage.msg by opp_msgc. More...

#include <PubSubMessage_m.h>

Inheritance diagram for PubSubReplacementMessage:
BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 PubSubReplacementMessage (const char *name=NULL, int kind=0)
 PubSubReplacementMessage (const PubSubReplacementMessage &other)
virtual ~PubSubReplacementMessage ()
PubSubReplacementMessageoperator= (const PubSubReplacementMessage &other)
virtual PubSubReplacementMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual int getSubspaceId () const
virtual void setSubspaceId (int subspaceId)
virtual NodeHandlegetNewResponsibleNode ()
virtual const NodeHandlegetNewResponsibleNode () const
virtual void setNewResponsibleNode (const NodeHandle &newResponsibleNode)
- 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 PubSubReplacementMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

int subspaceId_var
NodeHandle newResponsibleNode_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const PubSubReplacementMessage &other)

Detailed Description

Class generated from overlay/pubsubmmog/PubSubMessage.msg by opp_msgc.

packet PubSubReplacementMessage extends BaseOverlayMessage
{
        int subspaceId;
        NodeHandle newResponsibleNode;
}

Definition at line 874 of file PubSubMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

PubSubReplacementMessage::PubSubReplacementMessage ( const PubSubReplacementMessage other)
virtual PubSubReplacementMessage::~PubSubReplacementMessage ( )
virtual

Member Function Documentation

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

Reimplemented from BaseOverlayMessage.

Definition at line 892 of file PubSubMessage_m.h.

{return new PubSubReplacementMessage(*this);}
virtual NodeHandle& PubSubReplacementMessage::getNewResponsibleNode ( )
virtual
virtual const NodeHandle& PubSubReplacementMessage::getNewResponsibleNode ( ) const
inlinevirtual

Definition at line 900 of file PubSubMessage_m.h.

Referenced by getNewResponsibleNode().

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

Reimplemented from BaseOverlayMessage.

Referenced by doPacking().

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

Reimplemented from BaseOverlayMessage.

Referenced by doUnpacking().

virtual void PubSubReplacementMessage::setNewResponsibleNode ( const NodeHandle newResponsibleNode)
virtual
virtual void PubSubReplacementMessage::setSubspaceId ( int  subspaceId)
virtual

Member Data Documentation

NodeHandle PubSubReplacementMessage::newResponsibleNode_var
protected

Definition at line 878 of file PubSubMessage_m.h.

int PubSubReplacementMessage::subspaceId_var
protected

Definition at line 877 of file PubSubMessage_m.h.


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