dtn::LinkStore Class Reference

#include <LinkStore.h>

Inheritance diagram for dtn::LinkStore:

oasys::InternalKeyDurableTable< _ShimType, _KeyType, _DataType > oasys::Logger List of all members.

Detailed Description

The class for link storage.

Definition at line 59 of file LinkStore.h.

Public Member Functions

 LinkStore ()
 Constructor.

Static Public Member Functions

static LinkStoreinstance ()
 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 LinkStoreinstance_
 singleton instance


Constructor & Destructor Documentation

dtn::LinkStore::LinkStore (  ) 

Constructor.

Definition at line 46 of file LinkStore.cc.

Referenced by init().


Member Function Documentation

static LinkStore* dtn::LinkStore::instance (  )  [inline, static]

Singleton instance accessor.

Definition at line 64 of file LinkStore.h.

References instance_.

Referenced by dtn::DTNServer::close_datastore().

static int dtn::LinkStore::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 LinkStore.h.

References oasys::InternalKeyDurableTable< _ShimType, _KeyType, _DataType >::do_init(), instance_, and LinkStore().

Referenced by dtn::DTNServer::init_datastore().

static bool dtn::LinkStore::initialized (  )  [inline, static]

Return true if initialization has completed.

Definition at line 93 of file LinkStore.h.

References instance_.


Member Data Documentation

LinkStore * dtn::LinkStore::instance_ [static, protected]

singleton instance

Definition at line 96 of file LinkStore.h.

Referenced by init(), initialized(), and instance().


The documentation for this class was generated from the following files:
Generated on Fri Dec 22 14:48:05 2006 for DTN Reference Implementation by  doxygen 1.5.1