Class generated from overlay/pubsubmmog/PubSubMessage.msg
by opp_msgc.
More...
#include <PubSubMessage_m.h>
Public Member Functions | |
PubSubJoinCall (const char *name=NULL, int kind=0) | |
PubSubJoinCall (const PubSubJoinCall &other) | |
virtual | ~PubSubJoinCall () |
PubSubJoinCall & | operator= (const PubSubJoinCall &other) |
virtual PubSubJoinCall * | dup () const |
virtual void | parsimPack (cCommBuffer *b) |
virtual void | parsimUnpack (cCommBuffer *b) |
virtual Vector2D & | getPosition () |
virtual const Vector2D & | getPosition () const |
virtual void | setPosition (const Vector2D &position_var) |
virtual int | getRessources () const |
virtual void | setRessources (int ressources_var) |
Protected Member Functions | |
bool | operator== (const PubSubJoinCall &) |
Protected Attributes | |
::Vector2D | position_var |
int | ressources_var |
Class generated from overlay/pubsubmmog/PubSubMessage.msg
by opp_msgc.
packet PubSubJoinCall extends BaseCallMessage { Vector2D position; int ressources; }
Definition at line 164 of file PubSubMessage_m.h.
PubSubJoinCall::PubSubJoinCall | ( | const char * | name = NULL , |
|
int | kind = 0 | |||
) |
Referenced by dup().
PubSubJoinCall::PubSubJoinCall | ( | const PubSubJoinCall & | other | ) |
virtual PubSubJoinCall::~PubSubJoinCall | ( | ) | [virtual] |
virtual PubSubJoinCall* PubSubJoinCall::dup | ( | ) | const [inline, virtual] |
Reimplemented from BaseCallMessage.
Definition at line 178 of file PubSubMessage_m.h.
{return new PubSubJoinCall(*this);}
virtual Vector2D& PubSubJoinCall::getPosition | ( | ) | [virtual] |
Referenced by PubSubLobby::handleJoin().
virtual const Vector2D& PubSubJoinCall::getPosition | ( | ) | const [inline, virtual] |
Definition at line 184 of file PubSubMessage_m.h.
Referenced by getPosition().
{return const_cast<PubSubJoinCall*>(this)->getPosition();}
virtual int PubSubJoinCall::getRessources | ( | ) | const [virtual] |
Referenced by PubSubLobby::handleJoin().
PubSubJoinCall& PubSubJoinCall::operator= | ( | const PubSubJoinCall & | other | ) |
bool PubSubJoinCall::operator== | ( | const PubSubJoinCall & | ) | [protected] |
virtual void PubSubJoinCall::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented from BaseCallMessage.
Referenced by doPacking().
virtual void PubSubJoinCall::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented from BaseCallMessage.
Referenced by doUnpacking().
virtual void PubSubJoinCall::setPosition | ( | const Vector2D & | position_var | ) | [virtual] |
Referenced by PubSubMMOG::handleAppMessage().
virtual void PubSubJoinCall::setRessources | ( | int | ressources_var | ) | [virtual] |
Referenced by PubSubMMOG::handleAppMessage().
::Vector2D PubSubJoinCall::position_var [protected] |
Definition at line 167 of file PubSubMessage_m.h.
int PubSubJoinCall::ressources_var [protected] |
Definition at line 168 of file PubSubMessage_m.h.