OverSim
NTreeCollapseMessage Class Reference

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

#include <NTree_m.h>

Inheritance diagram for NTreeCollapseMessage:
BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 NTreeCollapseMessage (const char *name=NULL, int kind=0)
 NTreeCollapseMessage (const NTreeCollapseMessage &other)
virtual ~NTreeCollapseMessage ()
NTreeCollapseMessageoperator= (const NTreeCollapseMessage &other)
virtual NTreeCollapseMessagedup () 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 NTreeCollapseMessage &)
- 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 NTreeCollapseMessage &other)

Detailed Description

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

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

Definition at line 451 of file NTree_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

NTreeCollapseMessage::NTreeCollapseMessage ( const NTreeCollapseMessage other)
virtual NTreeCollapseMessage::~NTreeCollapseMessage ( )
virtual

Member Function Documentation

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

Reimplemented from BaseOverlayMessage.

Definition at line 470 of file NTree_m.h.

Referenced by NTree::collapseTree(), and NTree::handleCollapseMessage().

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

Definition at line 476 of file NTree_m.h.

Referenced by getOrigin().

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

Definition at line 481 of file NTree_m.h.

Referenced by getPlayer().

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

Reimplemented from BaseOverlayMessage.

Referenced by doPacking().

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

Reimplemented from BaseOverlayMessage.

Referenced by doUnpacking().

virtual void NTreeCollapseMessage::setOrigin ( const Vector2D origin)
virtual
virtual void NTreeCollapseMessage::setPlayer ( const NodeHandle player)
virtual

Referenced by NTree::collapseTree().

virtual void NTreeCollapseMessage::setSize ( double  size)
virtual

Member Data Documentation

Vector2D NTreeCollapseMessage::origin_var
protected

Definition at line 454 of file NTree_m.h.

NodeHandle NTreeCollapseMessage::player_var
protected

Definition at line 456 of file NTree_m.h.

double NTreeCollapseMessage::size_var
protected

Definition at line 455 of file NTree_m.h.


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