OverSim
MyNeighborCall Class Reference

Class generated from overlay/myoverlay/MyOverlay.msg by opp_msgc. More...

#include <MyOverlay_m.h>

Inheritance diagram for MyNeighborCall:
BaseCallMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 MyNeighborCall (const char *name=NULL, int kind=0)
 MyNeighborCall (const MyNeighborCall &other)
virtual ~MyNeighborCall ()
MyNeighborCalloperator= (const MyNeighborCall &other)
virtual MyNeighborCalldup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual OverlayKeygetDestinationKey ()
virtual const OverlayKeygetDestinationKey () const
virtual void setDestinationKey (const OverlayKey &destinationKey)
- Public Member Functions inherited from BaseCallMessage
 BaseCallMessage (const char *name=NULL, int kind=0)
 BaseCallMessage (const BaseCallMessage &other)
virtual ~BaseCallMessage ()
BaseCallMessageoperator= (const BaseCallMessage &other)
- Public Member Functions inherited from BaseRpcMessage
 BaseRpcMessage (const char *name=NULL, int kind=0)
 BaseRpcMessage (const BaseRpcMessage &other)
virtual ~BaseRpcMessage ()
BaseRpcMessageoperator= (const BaseRpcMessage &other)
virtual unsigned int getNonce () const
virtual void setNonce (unsigned int nonce)
virtual NodeHandlegetSrcNode ()
virtual const NodeHandlegetSrcNode () const
virtual void setSrcNode (const NodeHandle &srcNode)
virtual void setAuthBlockArraySize (uint8_t size)
virtual uint8_t getAuthBlockArraySize () const
virtual AuthBlockgetAuthBlock (uint8_t k)
virtual const AuthBlockgetAuthBlock (uint8_t k) const
virtual void setAuthBlock (uint8_t k, const AuthBlock &authBlock)
- 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 MyNeighborCall &)
- Protected Member Functions inherited from BaseCallMessage
bool operator== (const BaseCallMessage &)
- Protected Member Functions inherited from BaseRpcMessage
bool operator== (const BaseRpcMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

OverlayKey destinationKey_var

Private Member Functions

void copy (const MyNeighborCall &other)

Detailed Description

Class generated from overlay/myoverlay/MyOverlay.msg by opp_msgc.

packet MyNeighborCall extends BaseCallMessage
{
    OverlayKey destinationKey;
};

Definition at line 33 of file MyOverlay_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

MyNeighborCall::MyNeighborCall ( const MyNeighborCall other)
virtual MyNeighborCall::~MyNeighborCall ( )
virtual

Member Function Documentation

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

Reimplemented from BaseCallMessage.

Definition at line 50 of file MyOverlay_m.h.

{return new MyNeighborCall(*this);}
virtual OverlayKey& MyNeighborCall::getDestinationKey ( )
virtual
virtual const OverlayKey& MyNeighborCall::getDestinationKey ( ) const
inlinevirtual

Definition at line 56 of file MyOverlay_m.h.

Referenced by getDestinationKey().

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

Reimplemented from BaseCallMessage.

Referenced by doPacking().

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

Reimplemented from BaseCallMessage.

Referenced by doUnpacking().

virtual void MyNeighborCall::setDestinationKey ( const OverlayKey destinationKey)
virtual

Referenced by MyOverlay::getNeighbors().

Member Data Documentation

OverlayKey MyNeighborCall::destinationKey_var
protected

Definition at line 36 of file MyOverlay_m.h.


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