OverSim
NTreePingCall Class Reference

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

#include <NTree_m.h>

Inheritance diagram for NTreePingCall:
BaseCallMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base NTreeNodePingCall

Public Member Functions

 NTreePingCall (const char *name=NULL, int kind=0)
 NTreePingCall (const NTreePingCall &other)
virtual ~NTreePingCall ()
NTreePingCalloperator= (const NTreePingCall &other)
virtual NTreePingCalldup () 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 NodeHandlegetParent ()
virtual const NodeHandlegetParent () const
virtual void setParent (const NodeHandle &parent)
- 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 NTreePingCall &)
- 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

Vector2D origin_var
double size_var
NodeHandle parent_var

Private Member Functions

void copy (const NTreePingCall &other)

Detailed Description

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

packet NTreePingCall extends BaseCallMessage
{
        Vector2D origin;
        double size;
        NodeHandle parent;
}

Definition at line 230 of file NTree_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

NTreePingCall::NTreePingCall ( const NTreePingCall other)
virtual NTreePingCall::~NTreePingCall ( )
virtual

Member Function Documentation

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

Reimplemented from BaseCallMessage.

Reimplemented in NTreeNodePingCall.

Definition at line 249 of file NTree_m.h.

{return new NTreePingCall(*this);}
virtual Vector2D& NTreePingCall::getOrigin ( )
virtual

Referenced by NTree::handlePingCall().

virtual const Vector2D& NTreePingCall::getOrigin ( ) const
inlinevirtual

Definition at line 255 of file NTree_m.h.

Referenced by getOrigin().

{return const_cast<NTreePingCall*>(this)->getOrigin();}
virtual NodeHandle& NTreePingCall::getParent ( )
virtual
virtual const NodeHandle& NTreePingCall::getParent ( ) const
inlinevirtual

Definition at line 260 of file NTree_m.h.

Referenced by getParent().

{return const_cast<NTreePingCall*>(this)->getParent();}
virtual double NTreePingCall::getSize ( ) const
virtual

Referenced by NTree::handlePingCall().

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

Reimplemented from BaseCallMessage.

Reimplemented in NTreeNodePingCall.

Referenced by doPacking().

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

Reimplemented from BaseCallMessage.

Reimplemented in NTreeNodePingCall.

Referenced by doUnpacking().

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

Referenced by NTree::pingNodes().

virtual void NTreePingCall::setParent ( const NodeHandle parent)
virtual

Referenced by NTree::pingNodes().

virtual void NTreePingCall::setSize ( double  size)
virtual

Referenced by NTree::pingNodes().

Member Data Documentation

Vector2D NTreePingCall::origin_var
protected

Definition at line 233 of file NTree_m.h.

NodeHandle NTreePingCall::parent_var
protected

Definition at line 235 of file NTree_m.h.

double NTreePingCall::size_var
protected

Definition at line 234 of file NTree_m.h.


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