dtn::DiscoveryTable Class Reference

#include <DiscoveryTable.h>

List of all members.

Public Member Functions

virtual ~DiscoveryTable ()
bool add (const std::string &name, const char *addr_family, int argc, const char *argv[], const char **error)
bool del (const std::string &name)
void dump (oasys::StringBuffer *buf)
void shutdown ()

Static Public Member Functions

static void init ()

Protected Member Functions

 DiscoveryTable ()
bool find (const std::string &name, DiscoveryList::iterator *iter)

Protected Attributes

DiscoveryList dlist_

Friends

class DiscoveryCommand
class oasys::Singleton< DiscoveryTable >

Detailed Description

Definition at line 31 of file DiscoveryTable.h.


Constructor & Destructor Documentation

dtn::DiscoveryTable::~DiscoveryTable (  )  [virtual]

Definition at line 33 of file DiscoveryTable.cc.

dtn::DiscoveryTable::DiscoveryTable (  )  [protected]

Definition at line 28 of file DiscoveryTable.cc.

Referenced by init().


Member Function Documentation

bool dtn::DiscoveryTable::add ( const std::string &  name,
const char *  addr_family,
int  argc,
const char *  argv[],
const char **  error 
)

Definition at line 66 of file DiscoveryTable.cc.

References dtn::Discovery::create_discovery(), dlist_, and find().

bool dtn::DiscoveryTable::del ( const std::string &  name  ) 

Definition at line 94 of file DiscoveryTable.cc.

References dlist_, find(), and dtn::Discovery::shutdown().

void dtn::DiscoveryTable::dump ( oasys::StringBuffer *  buf  ) 

Definition at line 116 of file DiscoveryTable.cc.

References dlist_, and dtn::Discovery::dump().

bool dtn::DiscoveryTable::find ( const std::string &  name,
DiscoveryList::iterator *  iter 
) [protected]

Definition at line 52 of file DiscoveryTable.cc.

References dlist_, and dtn::Discovery::name().

Referenced by add(), and del().

static void dtn::DiscoveryTable::init (  )  [inline, static]

Definition at line 37 of file DiscoveryTable.h.

References DiscoveryTable().

void dtn::DiscoveryTable::shutdown (  ) 

Definition at line 38 of file DiscoveryTable.cc.

References dlist_, and dtn::Discovery::shutdown().


Friends And Related Function Documentation

friend class DiscoveryCommand [friend]

Definition at line 56 of file DiscoveryTable.h.

friend class oasys::Singleton< DiscoveryTable > [friend]

Definition at line 57 of file DiscoveryTable.h.


Member Data Documentation

Definition at line 63 of file DiscoveryTable.h.

Referenced by add(), del(), dump(), find(), and shutdown().


The documentation for this class was generated from the following files:
Generated on Sun Nov 21 13:21:20 2010 for DTN Reference Implementation by  doxygen 1.6.3