INET Framework for OMNeT++/OMNEST
PIMHello Class Reference

#include <PIMPacket_m.h>

Inheritance diagram for PIMHello:
PIMPacket

List of all members.

Public Member Functions

 PIMHello (const char *name=NULL, int kind=0)
 PIMHello (const PIMHello &other)
virtual ~PIMHello ()
PIMHello & operator= (const PIMHello &other)
virtual PIMHello * dup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual short getType () const
virtual void setType (short type)
virtual void setHelloContentArraySize (unsigned int size)
virtual unsigned int getHelloContentArraySize () const
virtual HelloEntry & getHelloContent (unsigned int k)
virtual const HelloEntry & getHelloContent (unsigned int k) const
virtual void setHelloContent (unsigned int k, const HelloEntry &helloContent)

Protected Member Functions

bool operator== (const PIMHello &)

Protected Attributes

short type_var
HelloEntry * helloContent_var
unsigned int helloContent_arraysize

Private Member Functions

void copy (const PIMHello &other)

Detailed Description

Class generated from ansa/pim/PIMPacket.msg by opp_msgc.

 packet PIMHello extends PIMPacket
 {
 	short 			type enum(PIMPacketType) = Hello;
 	HelloEntry		helloContent[];	   
 }
 

Definition at line 173 of file PIMPacket_m.h.


Constructor & Destructor Documentation

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

Referenced by dup().

PIMHello::PIMHello ( const PIMHello &  other)
virtual PIMHello::~PIMHello ( ) [virtual]

Member Function Documentation

void PIMHello::copy ( const PIMHello &  other) [private]
virtual PIMHello* PIMHello::dup ( ) const [inline, virtual]

Reimplemented from PIMPacket.

Definition at line 192 of file PIMPacket_m.h.

{return new PIMHello(*this);}
virtual HelloEntry& PIMHello::getHelloContent ( unsigned int  k) [virtual]
virtual const HelloEntry& PIMHello::getHelloContent ( unsigned int  k) const [inline, virtual]

Definition at line 202 of file PIMPacket_m.h.

Referenced by getHelloContent().

{return const_cast<PIMHello*>(this)->getHelloContent(k);}
virtual unsigned int PIMHello::getHelloContentArraySize ( ) const [virtual]
virtual short PIMHello::getType ( ) const [virtual]

Reimplemented from PIMPacket.

PIMHello& PIMHello::operator= ( const PIMHello &  other)
bool PIMHello::operator== ( const PIMHello &  ) [protected]
virtual void PIMHello::parsimPack ( cCommBuffer *  b) [virtual]

Reimplemented from PIMPacket.

Referenced by doPacking().

virtual void PIMHello::parsimUnpack ( cCommBuffer *  b) [virtual]

Reimplemented from PIMPacket.

Referenced by doUnpacking().

virtual void PIMHello::setHelloContent ( unsigned int  k,
const HelloEntry &  helloContent 
) [virtual]
virtual void PIMHello::setHelloContentArraySize ( unsigned int  size) [virtual]
virtual void PIMHello::setType ( short  type) [virtual]

Reimplemented from PIMPacket.


Member Data Documentation

unsigned int PIMHello::helloContent_arraysize [protected]

Definition at line 178 of file PIMPacket_m.h.

Definition at line 177 of file PIMPacket_m.h.

short PIMHello::type_var [protected]

Reimplemented from PIMPacket.

Definition at line 176 of file PIMPacket_m.h.


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