OverSim
NTreeTakeOverMessage Class Reference

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

#include <NTree_m.h>

Inheritance diagram for NTreeTakeOverMessage:
BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 NTreeTakeOverMessage (const char *name=NULL, int kind=0)
 NTreeTakeOverMessage (const NTreeTakeOverMessage &other)
virtual ~NTreeTakeOverMessage ()
NTreeTakeOverMessageoperator= (const NTreeTakeOverMessage &other)
virtual NTreeTakeOverMessagedup () 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 NodeHandlegetPlayer ()
virtual const NodeHandlegetPlayer () const
virtual void setPlayer (const NodeHandle &player)
- 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 NTreeTakeOverMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

Vector2D origin_var
double size_var
NodeHandle player_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const NTreeTakeOverMessage &other)

Detailed Description

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

packet NTreeTakeOverMessage extends BaseOverlayMessage
{
        Vector2D origin;
        double size;
        NodeHandle player;
}

Definition at line 696 of file NTree_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

NTreeTakeOverMessage::NTreeTakeOverMessage ( const NTreeTakeOverMessage other)
virtual NTreeTakeOverMessage::~NTreeTakeOverMessage ( )
virtual

Member Function Documentation

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

Reimplemented from BaseOverlayMessage.

Definition at line 715 of file NTree_m.h.

Referenced by NTree::handleReplaceMessage().

{return new NTreeTakeOverMessage(*this);}
virtual Vector2D& NTreeTakeOverMessage::getOrigin ( )
virtual
virtual const Vector2D& NTreeTakeOverMessage::getOrigin ( ) const
inlinevirtual

Definition at line 721 of file NTree_m.h.

Referenced by getOrigin().

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

Definition at line 726 of file NTree_m.h.

Referenced by getPlayer().

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

Reimplemented from BaseOverlayMessage.

Referenced by doPacking().

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

Reimplemented from BaseOverlayMessage.

Referenced by doUnpacking().

virtual void NTreeTakeOverMessage::setOrigin ( const Vector2D origin)
virtual
virtual void NTreeTakeOverMessage::setPlayer ( const NodeHandle player)
virtual
virtual void NTreeTakeOverMessage::setSize ( double  size)
virtual

Member Data Documentation

Vector2D NTreeTakeOverMessage::origin_var
protected

Definition at line 699 of file NTree_m.h.

NodeHandle NTreeTakeOverMessage::player_var
protected

Definition at line 701 of file NTree_m.h.

double NTreeTakeOverMessage::size_var
protected

Definition at line 700 of file NTree_m.h.


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