OverSim
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

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)
virtual int getRessources () const
virtual void setRessources (int ressources)
- Public Member Functions inherited from BaseCallMessage
 BaseCallMessage (const char *name=NULL, int kind=0)
 BaseCallMessage (const BaseCallMessage &other)
virtual ~BaseCallMessage ()
BaseCallMessageoperator= (const BaseCallMessage &other)
- Public Member Functions inherited from BaseRpcMessage
 BaseRpcMessage (const char *name=NULL, int kind=0)
 BaseRpcMessage (const BaseRpcMessage &other)
virtual ~BaseRpcMessage ()
BaseRpcMessageoperator= (const BaseRpcMessage &other)
virtual unsigned int getNonce () const
virtual void setNonce (unsigned int nonce)
virtual NodeHandlegetSrcNode ()
virtual const NodeHandlegetSrcNode () const
virtual void setSrcNode (const NodeHandle &srcNode)
virtual void setAuthBlockArraySize (uint8_t size)
virtual uint8_t getAuthBlockArraySize () const
virtual AuthBlockgetAuthBlock (uint8_t k)
virtual const AuthBlockgetAuthBlock (uint8_t k) const
virtual void setAuthBlock (uint8_t k, const AuthBlock &authBlock)
- 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 PubSubJoinCall &)
- Protected Member Functions inherited from BaseCallMessage
bool operator== (const BaseCallMessage &)
- Protected Member Functions inherited from BaseRpcMessage
bool operator== (const BaseRpcMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

Vector2D position_var
int ressources_var

Private Member Functions

void copy (const PubSubJoinCall &other)

Detailed Description

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

packet PubSubJoinCall extends BaseCallMessage
{
        Vector2D position;
        int ressources;
}

Definition at line 168 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

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

Reimplemented from BaseCallMessage.

Definition at line 186 of file PubSubMessage_m.h.

{return new PubSubJoinCall(*this);}
virtual Vector2D& PubSubJoinCall::getPosition ( )
virtual

Referenced by PubSubLobby::handleJoin().

virtual const Vector2D& PubSubJoinCall::getPosition ( ) const
inlinevirtual

Definition at line 192 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)
virtual
virtual void PubSubJoinCall::setRessources ( int  ressources)
virtual

Member Data Documentation

Vector2D PubSubJoinCall::position_var
protected

Definition at line 171 of file PubSubMessage_m.h.

int PubSubJoinCall::ressources_var
protected

Definition at line 172 of file PubSubMessage_m.h.


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