OverSim
NiceMemberMessage Class Reference

Class generated from overlay/nice/NiceMessage.msg by opp_msgc. More...

#include <NiceMessage_m.h>

Inheritance diagram for NiceMemberMessage:
NiceMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base NiceClusterMerge NiceHeartbeat NiceLeaderHeartbeat

Public Member Functions

 NiceMemberMessage (const char *name=NULL, int kind=0)
 NiceMemberMessage (const NiceMemberMessage &other)
virtual ~NiceMemberMessage ()
NiceMemberMessageoperator= (const NiceMemberMessage &other)
virtual NiceMemberMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual void setMembersArraySize (unsigned int size)
virtual unsigned int getMembersArraySize () const
virtual TransportAddressgetMembers (unsigned int k)
virtual const TransportAddressgetMembers (unsigned int k) const
virtual void setMembers (unsigned int k, const TransportAddress &members)
- Public Member Functions inherited from NiceMessage
 NiceMessage (const char *name=NULL, int kind=0)
 NiceMessage (const NiceMessage &other)
virtual ~NiceMessage ()
NiceMessageoperator= (const NiceMessage &other)
virtual int getCommand () const
virtual void setCommand (int command)
virtual TransportAddressgetSrcNode ()
virtual const TransportAddressgetSrcNode () const
virtual void setSrcNode (const TransportAddress &srcNode)
virtual short getLayer () const
virtual void setLayer (short layer)
- 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 NiceMemberMessage &)
- Protected Member Functions inherited from NiceMessage
bool operator== (const NiceMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

TransportAddressmembers_var
unsigned int members_arraysize
- Protected Attributes inherited from NiceMessage
int command_var
TransportAddress srcNode_var
short layer_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const NiceMemberMessage &other)

Detailed Description

Class generated from overlay/nice/NiceMessage.msg by opp_msgc.

message NiceMemberMessage extends NiceMessage
{
    TransportAddress members[];
}

Definition at line 143 of file NiceMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

NiceMemberMessage::NiceMemberMessage ( const NiceMemberMessage other)
virtual NiceMemberMessage::~NiceMemberMessage ( )
virtual

Member Function Documentation

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

Reimplemented from NiceMessage.

Reimplemented in NiceLeaderHeartbeat, NiceHeartbeat, and NiceClusterMerge.

Definition at line 161 of file NiceMessage_m.h.

{return new NiceMemberMessage(*this);}
virtual const TransportAddress& NiceMemberMessage::getMembers ( unsigned int  k) const
inlinevirtual

Definition at line 169 of file NiceMessage_m.h.

Referenced by getMembers().

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

Reimplemented from NiceMessage.

Reimplemented in NiceLeaderHeartbeat, NiceHeartbeat, and NiceClusterMerge.

Referenced by doPacking().

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

Reimplemented from NiceMessage.

Reimplemented in NiceLeaderHeartbeat, NiceHeartbeat, and NiceClusterMerge.

Referenced by doUnpacking().

virtual void NiceMemberMessage::setMembers ( unsigned int  k,
const TransportAddress members 
)
virtual
virtual void NiceMemberMessage::setMembersArraySize ( unsigned int  size)
virtual

Member Data Documentation

unsigned int NiceMemberMessage::members_arraysize
protected

Definition at line 147 of file NiceMessage_m.h.

TransportAddress* NiceMemberMessage::members_var
protected

Definition at line 146 of file NiceMessage_m.h.


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