OverSim
RttToNodeResponse Class Reference

Class generated from common/cbr/CoordMessages.msg by opp_msgc. More...

#include <CoordMessages_m.h>

Inheritance diagram for RttToNodeResponse:
BaseResponseMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 RttToNodeResponse (const char *name=NULL, int kind=0)
 RttToNodeResponse (const RttToNodeResponse &other)
virtual ~RttToNodeResponse ()
RttToNodeResponseoperator= (const RttToNodeResponse &other)
virtual RttToNodeResponsedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual TransportAddressgetPingedNode ()
virtual const TransportAddressgetPingedNode () const
virtual void setPingedNode (const TransportAddress &pingedNode)
virtual void setOwnCoordinatesArraySize (unsigned int size)
virtual unsigned int getOwnCoordinatesArraySize () const
virtual double getOwnCoordinates (unsigned int k) const
virtual void setOwnCoordinates (unsigned int k, double ownCoordinates)
virtual simtime_t getRttToNode () const
virtual void setRttToNode (simtime_t rttToNode)
- 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 RttToNodeResponse &)
- 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

TransportAddress pingedNode_var
double * ownCoordinates_var
unsigned int ownCoordinates_arraysize
simtime_t rttToNode_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 RttToNodeResponse &other)

Detailed Description

Class generated from common/cbr/CoordMessages.msg by opp_msgc.

packet RttToNodeResponse extends BaseResponseMessage
{
    TransportAddress pingedNode;
    double ownCoordinates[];
    simtime_t rttToNode;
}

Definition at line 151 of file CoordMessages_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

RttToNodeResponse::RttToNodeResponse ( const RttToNodeResponse other)
virtual RttToNodeResponse::~RttToNodeResponse ( )
virtual

Member Function Documentation

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

Reimplemented from BaseResponseMessage.

Definition at line 171 of file CoordMessages_m.h.

{return new RttToNodeResponse(*this);}
virtual double RttToNodeResponse::getOwnCoordinates ( unsigned int  k) const
virtual
virtual unsigned int RttToNodeResponse::getOwnCoordinatesArraySize ( ) const
virtual
virtual TransportAddress& RttToNodeResponse::getPingedNode ( )
virtual
virtual const TransportAddress& RttToNodeResponse::getPingedNode ( ) const
inlinevirtual

Definition at line 177 of file CoordMessages_m.h.

Referenced by getPingedNode().

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

Reimplemented from BaseResponseMessage.

Referenced by doPacking().

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

Reimplemented from BaseResponseMessage.

Referenced by doUnpacking().

virtual void RttToNodeResponse::setOwnCoordinates ( unsigned int  k,
double  ownCoordinates 
)
virtual
virtual void RttToNodeResponse::setOwnCoordinatesArraySize ( unsigned int  size)
virtual
virtual void RttToNodeResponse::setPingedNode ( const TransportAddress pingedNode)
virtual
virtual void RttToNodeResponse::setRttToNode ( simtime_t  rttToNode)
virtual

Member Data Documentation

unsigned int RttToNodeResponse::ownCoordinates_arraysize
protected

Definition at line 156 of file CoordMessages_m.h.

double* RttToNodeResponse::ownCoordinates_var
protected

Definition at line 155 of file CoordMessages_m.h.

TransportAddress RttToNodeResponse::pingedNode_var
protected

Definition at line 154 of file CoordMessages_m.h.

simtime_t RttToNodeResponse::rttToNode_var
protected

Definition at line 157 of file CoordMessages_m.h.


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