dtn::Globals Class Reference

Inheritance diagram for dtn::Globals:

oasys::SerializableObject

List of all members.


Detailed Description

Definition at line 36 of file GlobalStore.cc.


Public Member Functions

 Globals ()
 Globals (const oasys::Builder &)
virtual void serialize (oasys::SerializeAction *a)
 Virtual from SerializableObject.

Public Attributes

u_int32_t version_
 on-disk copy of CURRENT_VERSION
u_int32_t next_bundleid_
 running serial number for bundles
u_int32_t next_regid_
 running serial number for registrations
u_char digest_ [oasys::MD5::MD5LEN]
 MD5 digest of all serialized fields.

Constructor & Destructor Documentation

dtn::Globals::Globals (  )  [inline]

Definition at line 39 of file GlobalStore.cc.

dtn::Globals::Globals ( const oasys::Builder  )  [inline]

Definition at line 40 of file GlobalStore.cc.


Member Function Documentation

void dtn::Globals::serialize ( oasys::SerializeAction a  )  [virtual]

Virtual from SerializableObject.

Implements oasys::SerializableObject.

Definition at line 55 of file GlobalStore.cc.

References digest_, next_bundleid_, next_regid_, oasys::SerializeAction::process(), and version_.


Member Data Documentation

u_int32_t dtn::Globals::version_

on-disk copy of CURRENT_VERSION

Definition at line 42 of file GlobalStore.cc.

Referenced by dtn::GlobalStore::do_init(), dtn::GlobalStore::load(), and serialize().

u_int32_t dtn::Globals::next_bundleid_

running serial number for bundles

Definition at line 43 of file GlobalStore.cc.

Referenced by dtn::GlobalStore::do_init(), dtn::GlobalStore::next_bundleid(), and serialize().

u_int32_t dtn::Globals::next_regid_

running serial number for registrations

Definition at line 44 of file GlobalStore.cc.

Referenced by dtn::GlobalStore::do_init(), dtn::GlobalStore::next_regid(), and serialize().

u_char dtn::Globals::digest_[oasys::MD5::MD5LEN]

MD5 digest of all serialized fields.

Definition at line 45 of file GlobalStore.cc.

Referenced by dtn::GlobalStore::do_init(), dtn::GlobalStore::load(), and serialize().


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