OverSim
DiscoveryCall Class Reference

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

#include <DiscoveryMode_m.h>

Inheritance diagram for DiscoveryCall:
BaseCallMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 DiscoveryCall (const char *name=NULL, int kind=0)
 DiscoveryCall (const DiscoveryCall &other)
virtual ~DiscoveryCall ()
DiscoveryCalloperator= (const DiscoveryCall &other)
virtual DiscoveryCalldup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual unsigned int getNodesType () const
virtual void setNodesType (unsigned int nodesType)
virtual int getNumberOfNodes () const
virtual void setNumberOfNodes (int numberOfNodes)
virtual int getIndex () const
virtual void setIndex (int index)
- 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 DiscoveryCall &)
- 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

unsigned int nodesType_var
int numberOfNodes_var
int index_var

Private Member Functions

void copy (const DiscoveryCall &other)

Detailed Description

Class generated from common/DiscoveryMode.msg by opp_msgc.

packet DiscoveryCall extends BaseCallMessage {
    unsigned int nodesType enum(DiscoveryNodesType) = CLOSE_NODES;
    int numberOfNodes = -1;
    int index = -1;
}

Definition at line 47 of file DiscoveryMode_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

DiscoveryCall::DiscoveryCall ( const DiscoveryCall other)
virtual DiscoveryCall::~DiscoveryCall ( )
virtual

Member Function Documentation

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

Reimplemented from BaseCallMessage.

Definition at line 66 of file DiscoveryMode_m.h.

{return new DiscoveryCall(*this);}
virtual int DiscoveryCall::getIndex ( ) const
virtual
virtual unsigned int DiscoveryCall::getNodesType ( ) const
virtual
virtual int DiscoveryCall::getNumberOfNodes ( ) const
virtual
DiscoveryCall& DiscoveryCall::operator= ( const DiscoveryCall other)
bool DiscoveryCall::operator== ( const DiscoveryCall )
protected
virtual void DiscoveryCall::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from BaseCallMessage.

Referenced by doPacking().

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

Reimplemented from BaseCallMessage.

Referenced by doUnpacking().

virtual void DiscoveryCall::setIndex ( int  index)
virtual
virtual void DiscoveryCall::setNodesType ( unsigned int  nodesType)
virtual
virtual void DiscoveryCall::setNumberOfNodes ( int  numberOfNodes)
virtual

Member Data Documentation

int DiscoveryCall::index_var
protected

Definition at line 52 of file DiscoveryMode_m.h.

unsigned int DiscoveryCall::nodesType_var
protected

Definition at line 50 of file DiscoveryMode_m.h.

int DiscoveryCall::numberOfNodes_var
protected

Definition at line 51 of file DiscoveryMode_m.h.


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