#include <BundleStore.h>
Inheritance diagram for dtn::BundleStore:
Definition at line 59 of file BundleStore.h.
Public Member Functions | |
BundleStore () | |
Constructor. | |
Static Public Member Functions | |
static BundleStore * | instance () |
Singleton instance accessor. | |
static int | init (const oasys::StorageConfig &cfg, oasys::DurableStore *store) |
Boot time initializer that takes as a parameter the storage configuration to use. | |
static bool | initialized () |
Return true if initialization has completed. | |
Static Protected Attributes | |
static BundleStore * | instance_ |
singleton instance |
dtn::BundleStore::BundleStore | ( | ) |
static BundleStore* dtn::BundleStore::instance | ( | ) | [inline, static] |
Singleton instance accessor.
Definition at line 64 of file BundleStore.h.
References instance_.
Referenced by dtn::DTNServer::close_datastore(), dtn::BundleDaemon::load_bundles(), dtn::BundleActions::store_add(), dtn::BundleActions::store_del(), and dtn::BundleActions::store_update().
static int dtn::BundleStore::init | ( | const oasys::StorageConfig & | cfg, | |
oasys::DurableStore * | store | |||
) | [inline, static] |
Boot time initializer that takes as a parameter the storage configuration to use.
Definition at line 75 of file BundleStore.h.
References BundleStore(), oasys::InternalKeyDurableTable< _ShimType, _KeyType, _DataType >::do_init(), and instance_.
Referenced by dtn::DTNServer::init_datastore().
static bool dtn::BundleStore::initialized | ( | ) | [inline, static] |
Return true if initialization has completed.
Definition at line 93 of file BundleStore.h.
References instance_.
BundleStore * dtn::BundleStore::instance_ [static, protected] |
singleton instance
Definition at line 96 of file BundleStore.h.
Referenced by init(), initialized(), and instance().