OverSim
GameAPIListMessage Class Reference

Class generated from common/CommonMessages.msg by opp_msgc. More...

#include <CommonMessages_m.h>

Inheritance diagram for GameAPIListMessage:
GameAPIMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 GameAPIListMessage (const char *name=NULL, int kind=0)
 GameAPIListMessage (const GameAPIListMessage &other)
virtual ~GameAPIListMessage ()
GameAPIListMessageoperator= (const GameAPIListMessage &other)
virtual GameAPIListMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual void setRemoveNeighborArraySize (unsigned int size)
virtual unsigned int getRemoveNeighborArraySize () const
virtual NodeHandlegetRemoveNeighbor (unsigned int k)
virtual const NodeHandlegetRemoveNeighbor (unsigned int k) const
virtual void setRemoveNeighbor (unsigned int k, const NodeHandle &removeNeighbor)
virtual void setAddNeighborArraySize (unsigned int size)
virtual unsigned int getAddNeighborArraySize () const
virtual NodeHandlegetAddNeighbor (unsigned int k)
virtual const NodeHandlegetAddNeighbor (unsigned int k) const
virtual void setAddNeighbor (unsigned int k, const NodeHandle &addNeighbor)
virtual void setNeighborPositionArraySize (unsigned int size)
virtual unsigned int getNeighborPositionArraySize () const
virtual Vector2DgetNeighborPosition (unsigned int k)
virtual const Vector2DgetNeighborPosition (unsigned int k) const
virtual void setNeighborPosition (unsigned int k, const Vector2D &neighborPosition)
- Public Member Functions inherited from GameAPIMessage
 GameAPIMessage (const char *name=NULL, int kind=0)
 GameAPIMessage (const GameAPIMessage &other)
virtual ~GameAPIMessage ()
GameAPIMessageoperator= (const GameAPIMessage &other)
virtual int getCommand () const
virtual void setCommand (int command)
- 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 GameAPIListMessage &)
- Protected Member Functions inherited from GameAPIMessage
bool operator== (const GameAPIMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

NodeHandleremoveNeighbor_var
unsigned int removeNeighbor_arraysize
NodeHandleaddNeighbor_var
unsigned int addNeighbor_arraysize
Vector2DneighborPosition_var
unsigned int neighborPosition_arraysize
- Protected Attributes inherited from GameAPIMessage
int command_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const GameAPIListMessage &other)

Detailed Description

Class generated from common/CommonMessages.msg by opp_msgc.

packet GameAPIListMessage extends GameAPIMessage 
{
    NodeHandle removeNeighbor[];
    NodeHandle addNeighbor[];
    Vector2D neighborPosition[];
}

Definition at line 2380 of file CommonMessages_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

GameAPIListMessage::GameAPIListMessage ( const GameAPIListMessage other)
virtual GameAPIListMessage::~GameAPIListMessage ( )
virtual

Member Function Documentation

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

Reimplemented from GameAPIMessage.

Definition at line 2402 of file CommonMessages_m.h.

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

Definition at line 2415 of file CommonMessages_m.h.

Referenced by getAddNeighbor().

{return const_cast<GameAPIListMessage*>(this)->getAddNeighbor(k);}
virtual unsigned int GameAPIListMessage::getAddNeighborArraySize ( ) const
virtual
virtual Vector2D& GameAPIListMessage::getNeighborPosition ( unsigned int  k)
virtual
virtual const Vector2D& GameAPIListMessage::getNeighborPosition ( unsigned int  k) const
inlinevirtual

Definition at line 2420 of file CommonMessages_m.h.

Referenced by getNeighborPosition().

{return const_cast<GameAPIListMessage*>(this)->getNeighborPosition(k);}
virtual unsigned int GameAPIListMessage::getNeighborPositionArraySize ( ) const
virtual
virtual NodeHandle& GameAPIListMessage::getRemoveNeighbor ( unsigned int  k)
virtual
virtual const NodeHandle& GameAPIListMessage::getRemoveNeighbor ( unsigned int  k) const
inlinevirtual

Definition at line 2410 of file CommonMessages_m.h.

Referenced by getRemoveNeighbor().

{return const_cast<GameAPIListMessage*>(this)->getRemoveNeighbor(k);}
virtual unsigned int GameAPIListMessage::getRemoveNeighborArraySize ( ) const
virtual
GameAPIListMessage& GameAPIListMessage::operator= ( const GameAPIListMessage other)
bool GameAPIListMessage::operator== ( const GameAPIListMessage )
protected
virtual void GameAPIListMessage::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from GameAPIMessage.

Referenced by doPacking().

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

Reimplemented from GameAPIMessage.

Referenced by doUnpacking().

virtual void GameAPIListMessage::setAddNeighbor ( unsigned int  k,
const NodeHandle addNeighbor 
)
virtual
virtual void GameAPIListMessage::setAddNeighborArraySize ( unsigned int  size)
virtual
virtual void GameAPIListMessage::setNeighborPosition ( unsigned int  k,
const Vector2D neighborPosition 
)
virtual
virtual void GameAPIListMessage::setNeighborPositionArraySize ( unsigned int  size)
virtual
virtual void GameAPIListMessage::setRemoveNeighbor ( unsigned int  k,
const NodeHandle removeNeighbor 
)
virtual
virtual void GameAPIListMessage::setRemoveNeighborArraySize ( unsigned int  size)
virtual

Member Data Documentation

unsigned int GameAPIListMessage::addNeighbor_arraysize
protected

Definition at line 2386 of file CommonMessages_m.h.

NodeHandle* GameAPIListMessage::addNeighbor_var
protected

Definition at line 2385 of file CommonMessages_m.h.

unsigned int GameAPIListMessage::neighborPosition_arraysize
protected

Definition at line 2388 of file CommonMessages_m.h.

Vector2D* GameAPIListMessage::neighborPosition_var
protected

Definition at line 2387 of file CommonMessages_m.h.

unsigned int GameAPIListMessage::removeNeighbor_arraysize
protected

Definition at line 2384 of file CommonMessages_m.h.

NodeHandle* GameAPIListMessage::removeNeighbor_var
protected

Definition at line 2383 of file CommonMessages_m.h.


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