#include <DiscoveryTable.h>
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 > |
Definition at line 31 of file DiscoveryTable.h.
| 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().
| 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().
| 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().
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.
DiscoveryList dtn::DiscoveryTable::dlist_ [protected] |
Definition at line 63 of file DiscoveryTable.h.
Referenced by add(), del(), dump(), find(), and shutdown().
1.6.3