OverSim
MyNeighborResponse Class Reference

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

#include <MyOverlay_m.h>

Inheritance diagram for MyNeighborResponse:
BaseResponseMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 MyNeighborResponse (const char *name=NULL, int kind=0)
 MyNeighborResponse (const MyNeighborResponse &other)
virtual ~MyNeighborResponse ()
MyNeighborResponseoperator= (const MyNeighborResponse &other)
virtual MyNeighborResponsedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual NodeHandlegetRespondingNode ()
virtual const NodeHandlegetRespondingNode () const
virtual void setRespondingNode (const NodeHandle &respondingNode)
virtual NodeHandlegetPrevNeighbor ()
virtual const NodeHandlegetPrevNeighbor () const
virtual void setPrevNeighbor (const NodeHandle &prevNeighbor)
virtual NodeHandlegetNextNeighbor ()
virtual const NodeHandlegetNextNeighbor () const
virtual void setNextNeighbor (const NodeHandle &nextNeighbor)
- Public Member Functions inherited from BaseResponseMessage
 BaseResponseMessage (const char *name=NULL, int kind=0)
 BaseResponseMessage (const BaseResponseMessage &other)
virtual ~BaseResponseMessage ()
BaseResponseMessageoperator= (const BaseResponseMessage &other)
virtual int getCallHopCount () const
virtual void setCallHopCount (int callHopCount)
virtual void setNcsInfoArraySize (unsigned int size)
virtual unsigned int getNcsInfoArraySize () const
virtual double getNcsInfo (unsigned int k) const
virtual void setNcsInfo (unsigned int k, double ncsInfo)
- 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 MyNeighborResponse &)
- Protected Member Functions inherited from BaseResponseMessage
bool operator== (const BaseResponseMessage &)
- Protected Member Functions inherited from BaseRpcMessage
bool operator== (const BaseRpcMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

NodeHandle respondingNode_var
NodeHandle prevNeighbor_var
NodeHandle nextNeighbor_var
- Protected Attributes inherited from BaseResponseMessage
int callHopCount_var
double * ncsInfo_var
unsigned int ncsInfo_arraysize
- Protected Attributes inherited from BaseRpcMessage
unsigned int nonce_var
NodeHandle srcNode_var
AuthBlockauthBlock_var
uint8_t authBlock_arraysize
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const MyNeighborResponse &other)

Detailed Description

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

packet MyNeighborResponse extends BaseResponseMessage
{
    NodeHandle respondingNode;
    NodeHandle prevNeighbor;
    NodeHandle nextNeighbor;
};

Definition at line 74 of file MyOverlay_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

MyNeighborResponse::MyNeighborResponse ( const MyNeighborResponse other)
virtual MyNeighborResponse::~MyNeighborResponse ( )
virtual

Member Function Documentation

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

Reimplemented from BaseResponseMessage.

Definition at line 93 of file MyOverlay_m.h.

{return new MyNeighborResponse(*this);}
virtual NodeHandle& MyNeighborResponse::getNextNeighbor ( )
virtual
virtual const NodeHandle& MyNeighborResponse::getNextNeighbor ( ) const
inlinevirtual

Definition at line 105 of file MyOverlay_m.h.

Referenced by getNextNeighbor().

{return const_cast<MyNeighborResponse*>(this)->getNextNeighbor();}
virtual NodeHandle& MyNeighborResponse::getPrevNeighbor ( )
virtual
virtual const NodeHandle& MyNeighborResponse::getPrevNeighbor ( ) const
inlinevirtual

Definition at line 102 of file MyOverlay_m.h.

Referenced by getPrevNeighbor().

{return const_cast<MyNeighborResponse*>(this)->getPrevNeighbor();}
virtual NodeHandle& MyNeighborResponse::getRespondingNode ( )
virtual
virtual const NodeHandle& MyNeighborResponse::getRespondingNode ( ) const
inlinevirtual

Definition at line 99 of file MyOverlay_m.h.

Referenced by getRespondingNode().

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

Reimplemented from BaseResponseMessage.

Referenced by doPacking().

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

Reimplemented from BaseResponseMessage.

Referenced by doUnpacking().

virtual void MyNeighborResponse::setNextNeighbor ( const NodeHandle nextNeighbor)
virtual
virtual void MyNeighborResponse::setPrevNeighbor ( const NodeHandle prevNeighbor)
virtual
virtual void MyNeighborResponse::setRespondingNode ( const NodeHandle respondingNode)
virtual

Member Data Documentation

NodeHandle MyNeighborResponse::nextNeighbor_var
protected

Definition at line 79 of file MyOverlay_m.h.

NodeHandle MyNeighborResponse::prevNeighbor_var
protected

Definition at line 78 of file MyOverlay_m.h.

NodeHandle MyNeighborResponse::respondingNode_var
protected

Definition at line 77 of file MyOverlay_m.h.


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