OverSim
NTreeLeaveMessage Class Reference

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

#include <NTree_m.h>

Inheritance diagram for NTreeLeaveMessage:
BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 NTreeLeaveMessage (const char *name=NULL, int kind=0)
 NTreeLeaveMessage (const NTreeLeaveMessage &other)
virtual ~NTreeLeaveMessage ()
NTreeLeaveMessageoperator= (const NTreeLeaveMessage &other)
virtual NTreeLeaveMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual NodeHandlegetPlayer ()
virtual const NodeHandlegetPlayer () const
virtual void setPlayer (const NodeHandle &player)
virtual Vector2DgetPosition ()
virtual const Vector2DgetPosition () const
virtual void setPosition (const Vector2D &position)
- 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 NTreeLeaveMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

NodeHandle player_var
Vector2D position_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const NTreeLeaveMessage &other)

Detailed Description

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

packet NTreeLeaveMessage extends BaseOverlayMessage
{
        NodeHandle player;
        Vector2D position;
}

Definition at line 498 of file NTree_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

NTreeLeaveMessage::NTreeLeaveMessage ( const NTreeLeaveMessage other)
virtual NTreeLeaveMessage::~NTreeLeaveMessage ( )
virtual

Member Function Documentation

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

Reimplemented from BaseOverlayMessage.

Definition at line 516 of file NTree_m.h.

{return new NTreeLeaveMessage(*this);}
virtual NodeHandle& NTreeLeaveMessage::getPlayer ( )
virtual
virtual const NodeHandle& NTreeLeaveMessage::getPlayer ( ) const
inlinevirtual

Definition at line 522 of file NTree_m.h.

Referenced by getPlayer().

{return const_cast<NTreeLeaveMessage*>(this)->getPlayer();}
virtual Vector2D& NTreeLeaveMessage::getPosition ( )
virtual
virtual const Vector2D& NTreeLeaveMessage::getPosition ( ) const
inlinevirtual

Definition at line 525 of file NTree_m.h.

Referenced by getPosition().

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

Reimplemented from BaseOverlayMessage.

Referenced by doPacking().

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

Reimplemented from BaseOverlayMessage.

Referenced by doUnpacking().

virtual void NTreeLeaveMessage::setPlayer ( const NodeHandle player)
virtual
virtual void NTreeLeaveMessage::setPosition ( const Vector2D position)
virtual

Member Data Documentation

NodeHandle NTreeLeaveMessage::player_var
protected

Definition at line 501 of file NTree_m.h.

Vector2D NTreeLeaveMessage::position_var
protected

Definition at line 502 of file NTree_m.h.


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