OverSim
KeyListMessage Class Reference

Class generated from overlay/gia/GiaMessage.msg by opp_msgc. More...

#include <GiaMessage_m.h>

Inheritance diagram for KeyListMessage:
GiaMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 KeyListMessage (const char *name=NULL, int kind=0)
 KeyListMessage (const KeyListMessage &other)
virtual ~KeyListMessage ()
KeyListMessageoperator= (const KeyListMessage &other)
virtual KeyListMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual void setKeysArraySize (unsigned int size)
virtual unsigned int getKeysArraySize () const
virtual OverlayKeygetKeys (unsigned int k)
virtual const OverlayKeygetKeys (unsigned int k) const
virtual void setKeys (unsigned int k, const OverlayKey &keys)
- Public Member Functions inherited from GiaMessage
 GiaMessage (const char *name=NULL, int kind=0)
 GiaMessage (const GiaMessage &other)
virtual ~GiaMessage ()
GiaMessageoperator= (const GiaMessage &other)
virtual NodeHandlegetSrcNode ()
virtual const NodeHandlegetSrcNode () const
virtual void setSrcNode (const NodeHandle &srcNode)
virtual int getHopCount () const
virtual void setHopCount (int hopCount)
virtual int getCommand () const
virtual void setCommand (int command)
virtual double getSrcCapacity () const
virtual void setSrcCapacity (double srcCapacity)
virtual int getSrcDegree () const
virtual void setSrcDegree (int srcDegree)
- 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 KeyListMessage &)
- Protected Member Functions inherited from GiaMessage
bool operator== (const GiaMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

OverlayKeykeys_var
unsigned int keys_arraysize
- Protected Attributes inherited from GiaMessage
NodeHandle srcNode_var
int hopCount_var
int command_var
double srcCapacity_var
int srcDegree_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const KeyListMessage &other)

Detailed Description

Class generated from overlay/gia/GiaMessage.msg by opp_msgc.

message KeyListMessage extends GiaMessage
{
       OverlayKey keys[];    
};

Definition at line 320 of file GiaMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

KeyListMessage::KeyListMessage ( const KeyListMessage other)
virtual KeyListMessage::~KeyListMessage ( )
virtual

Member Function Documentation

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

Reimplemented from GiaMessage.

Definition at line 338 of file GiaMessage_m.h.

{return new KeyListMessage(*this);}
virtual OverlayKey& KeyListMessage::getKeys ( unsigned int  k)
virtual

Referenced by Gia::handleUDPMessage().

virtual const OverlayKey& KeyListMessage::getKeys ( unsigned int  k) const
inlinevirtual

Definition at line 346 of file GiaMessage_m.h.

Referenced by getKeys().

{return const_cast<KeyListMessage*>(this)->getKeys(k);}
virtual unsigned int KeyListMessage::getKeysArraySize ( ) const
virtual

Referenced by Gia::handleUDPMessage().

KeyListMessage& KeyListMessage::operator= ( const KeyListMessage other)
bool KeyListMessage::operator== ( const KeyListMessage )
protected
virtual void KeyListMessage::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from GiaMessage.

Referenced by doPacking().

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

Reimplemented from GiaMessage.

Referenced by doUnpacking().

virtual void KeyListMessage::setKeys ( unsigned int  k,
const OverlayKey keys 
)
virtual
virtual void KeyListMessage::setKeysArraySize ( unsigned int  size)
virtual

Member Data Documentation

unsigned int KeyListMessage::keys_arraysize
protected

Definition at line 324 of file GiaMessage_m.h.

OverlayKey* KeyListMessage::keys_var
protected

Definition at line 323 of file GiaMessage_m.h.


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