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 38 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 25 of file LinkStore.cc.

Referenced by init().


Member Function Documentation

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

Singleton instance accessor.

Definition at line 43 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 54 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 72 of file LinkStore.h.

References instance_.


Member Data Documentation

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

singleton instance

Definition at line 75 of file LinkStore.h.

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


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 08:43:49 2007 for DTN Reference Implementation by  doxygen 1.5.3