OverSim
NTreeJoinResponse Class Reference

Class generated from overlay/ntree/NTree.msg by opp_msgc. More...

#include <NTree_m.h>

Inheritance diagram for NTreeJoinResponse:
BaseResponseMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 NTreeJoinResponse (const char *name=NULL, int kind=0)
 NTreeJoinResponse (const NTreeJoinResponse &other)
virtual ~NTreeJoinResponse ()
NTreeJoinResponseoperator= (const NTreeJoinResponse &other)
virtual NTreeJoinResponsedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual Vector2DgetOrigin ()
virtual const Vector2DgetOrigin () const
virtual void setOrigin (const Vector2D &origin)
virtual double getSize () const
virtual void setSize (double size)
virtual void setMembersArraySize (unsigned int size)
virtual unsigned int getMembersArraySize () const
virtual NodeHandlegetMembers (unsigned int k)
virtual const NodeHandlegetMembers (unsigned int k) const
virtual void setMembers (unsigned int k, const NodeHandle &members)
- 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 NTreeJoinResponse &)
- 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

Vector2D origin_var
double size_var
NodeHandlemembers_var
unsigned int members_arraysize
- 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 NTreeJoinResponse &other)

Detailed Description

Class generated from overlay/ntree/NTree.msg by opp_msgc.

packet NTreeJoinResponse extends BaseResponseMessage
{
        Vector2D origin;
        double size;
        NodeHandle members[];
}

Definition at line 94 of file NTree_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

NTreeJoinResponse::NTreeJoinResponse ( const NTreeJoinResponse other)
virtual NTreeJoinResponse::~NTreeJoinResponse ( )
virtual

Member Function Documentation

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

Reimplemented from BaseResponseMessage.

Definition at line 114 of file NTree_m.h.

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

Definition at line 127 of file NTree_m.h.

Referenced by getMembers().

{return const_cast<NTreeJoinResponse*>(this)->getMembers(k);}
virtual unsigned int NTreeJoinResponse::getMembersArraySize ( ) const
virtual
virtual Vector2D& NTreeJoinResponse::getOrigin ( )
virtual
virtual const Vector2D& NTreeJoinResponse::getOrigin ( ) const
inlinevirtual

Definition at line 120 of file NTree_m.h.

Referenced by getOrigin().

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

Reimplemented from BaseResponseMessage.

Referenced by doPacking().

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

Reimplemented from BaseResponseMessage.

Referenced by doUnpacking().

virtual void NTreeJoinResponse::setMembers ( unsigned int  k,
const NodeHandle members 
)
virtual

Referenced by NTree::handleJoinCall().

virtual void NTreeJoinResponse::setMembersArraySize ( unsigned int  size)
virtual

Referenced by NTree::handleJoinCall().

virtual void NTreeJoinResponse::setOrigin ( const Vector2D origin)
virtual

Referenced by NTree::handleJoinCall().

virtual void NTreeJoinResponse::setSize ( double  size)
virtual

Referenced by NTree::handleJoinCall().

Member Data Documentation

unsigned int NTreeJoinResponse::members_arraysize
protected

Definition at line 100 of file NTree_m.h.

NodeHandle* NTreeJoinResponse::members_var
protected

Definition at line 99 of file NTree_m.h.

Vector2D NTreeJoinResponse::origin_var
protected

Definition at line 97 of file NTree_m.h.

double NTreeJoinResponse::size_var
protected

Definition at line 98 of file NTree_m.h.


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