OverSim
GameAPIPositionMessage Class Reference

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

#include <CommonMessages_m.h>

Inheritance diagram for GameAPIPositionMessage:
GameAPIMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 GameAPIPositionMessage (const char *name=NULL, int kind=0)
 GameAPIPositionMessage (const GameAPIPositionMessage &other)
virtual ~GameAPIPositionMessage ()
GameAPIPositionMessageoperator= (const GameAPIPositionMessage &other)
virtual GameAPIPositionMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual Vector2DgetPosition ()
virtual const Vector2DgetPosition () const
virtual void setPosition (const Vector2D &position)
- 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 GameAPIPositionMessage &)
- Protected Member Functions inherited from GameAPIMessage
bool operator== (const GameAPIMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

Vector2D position_var
- 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 GameAPIPositionMessage &other)

Detailed Description

Class generated from common/CommonMessages.msg by opp_msgc.

packet GameAPIPositionMessage extends GameAPIMessage 
{
    Vector2D position;
}

Definition at line 2436 of file CommonMessages_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

GameAPIPositionMessage::GameAPIPositionMessage ( const GameAPIPositionMessage other)
virtual GameAPIPositionMessage::~GameAPIPositionMessage ( )
virtual

Member Function Documentation

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

Reimplemented from GameAPIMessage.

Definition at line 2453 of file CommonMessages_m.h.

{return new GameAPIPositionMessage(*this);}
virtual const Vector2D& GameAPIPositionMessage::getPosition ( ) const
inlinevirtual

Definition at line 2459 of file CommonMessages_m.h.

Referenced by getPosition().

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

Reimplemented from GameAPIMessage.

Referenced by doPacking().

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

Reimplemented from GameAPIMessage.

Referenced by doUnpacking().

virtual void GameAPIPositionMessage::setPosition ( const Vector2D position)
virtual

Member Data Documentation

Vector2D GameAPIPositionMessage::position_var
protected

Definition at line 2439 of file CommonMessages_m.h.


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