SimpleInfo Class Reference

#include <SimpleInfo.h>

Inheritance diagram for SimpleInfo:

PeerInfo

List of all members.

Public Member Functions

 SimpleInfo (uint32_t type, int moduleId)
 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 
)

constructor

Definition at line 25 of file SimpleInfo.cc.

00025                                                   : PeerInfo(type, moduleId)
00026 {
00027     entry = NULL;
00028 }

SimpleInfo::~SimpleInfo (  ) 

Definition at line 30 of file SimpleInfo.cc.

00031 {
00032     delete entry;
00033 }


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.

00035 {}

SimpleNodeEntry* SimpleInfo::getEntry (  )  [inline]

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

setter and getter

Definition at line 43 of file SimpleInfo.h.

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

00043 { 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:

Generated on Tue Sep 8 17:27:02 2009 for OverSim by  doxygen 1.5.8