Public Member Functions | Protected Member Functions | Protected Attributes

SimpleInfo Class Reference

#include <SimpleInfo.h>

Inheritance diagram for SimpleInfo:
PeerInfo

List of all members.

Public Member Functions

 SimpleInfo (uint32_t type, int moduleId, cObject **context)
 constructor
 ~SimpleInfo ()
void setEntry (SimpleNodeEntry *entry)
 setter and getter
SimpleNodeEntrygetEntry ()

Protected Member Functions

void dummy ()
 dummy-function to make SimpleInfo polymorphic

Protected Attributes

SimpleNodeEntryentry

Detailed Description

Definition at line 31 of file SimpleInfo.h.


Constructor & Destructor Documentation

SimpleInfo::SimpleInfo ( uint32_t  type,
int  moduleId,
cObject **  context 
)

constructor

Definition at line 25 of file SimpleInfo.cc.

                                                                     : PeerInfo(type, moduleId, context)
{
    entry = NULL;
}

SimpleInfo::~SimpleInfo (  ) 

Definition at line 30 of file SimpleInfo.cc.

{
    delete entry;
}


Member Function Documentation

void SimpleInfo::dummy (  )  [protected, virtual]

dummy-function to make SimpleInfo polymorphic

Reimplemented from PeerInfo.

Definition at line 35 of file SimpleInfo.cc.

{}

void SimpleInfo::setEntry ( SimpleNodeEntry entry  )  [inline]

setter and getter

Definition at line 43 of file SimpleInfo.h.

Referenced by SimpleUnderlayConfigurator::createNode(), and SimpleUnderlayConfigurator::migrateNode().

{ delete this->entry; this->entry = entry; };


Member Data Documentation

Definition at line 49 of file SimpleInfo.h.

Referenced by getEntry(), SimpleInfo(), and ~SimpleInfo().


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