Public Member Functions | Protected Member Functions | Protected Attributes

PubSubJoinCall Class Reference

Class generated from overlay/pubsubmmog/PubSubMessage.msg by opp_msgc. More...

#include <PubSubMessage_m.h>

Inheritance diagram for PubSubJoinCall:
BaseCallMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

List of all members.

Public Member Functions

 PubSubJoinCall (const char *name=NULL, int kind=0)
 PubSubJoinCall (const PubSubJoinCall &other)
virtual ~PubSubJoinCall ()
PubSubJoinCalloperator= (const PubSubJoinCall &other)
virtual PubSubJoinCalldup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual Vector2DgetPosition ()
virtual const Vector2DgetPosition () 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

Detailed Description

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.


Constructor & Destructor Documentation

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

Referenced by dup().

PubSubJoinCall::PubSubJoinCall ( const PubSubJoinCall other  ) 
virtual PubSubJoinCall::~PubSubJoinCall (  )  [virtual]

Member Function Documentation

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]
virtual void PubSubJoinCall::setRessources ( int  ressources_var  )  [virtual]

Member Data Documentation

Definition at line 167 of file PubSubMessage_m.h.

Definition at line 168 of file PubSubMessage_m.h.


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