dtn::Prophet::UniqueID Class Reference

#include <Prophet.h>

List of all members.


Detailed Description

Utility class to generate the transaction ID (tid) and instance numbers required by ProphetHeader.

Definition at line 555 of file Prophet.h.


Static Public Member Functions

static u_int32_t tid ()
static u_int16_t instance_id ()
static UniqueIDinstance ()
static void init ()

Protected Member Functions

 UniqueID ()
 ~UniqueID ()
u_int32_t get_tid ()
u_int16_t get_instance_id ()

Protected Attributes

u_int32_t tid_
u_int16_t iid_
oasys::SpinLocklock_

Static Protected Attributes

static UniqueIDinstance_ = NULL

Constructor & Destructor Documentation

dtn::Prophet::UniqueID::UniqueID (  )  [inline, protected]

Definition at line 577 of file Prophet.h.

Referenced by init().

dtn::Prophet::UniqueID::~UniqueID (  )  [inline, protected]

Definition at line 581 of file Prophet.h.

References lock_.


Member Function Documentation

static u_int32_t dtn::Prophet::UniqueID::tid (  )  [inline, static]

Definition at line 557 of file Prophet.h.

References get_tid(), and instance().

Referenced by dtn::ProphetEncounter::send_dictionary().

static u_int16_t dtn::Prophet::UniqueID::instance_id (  )  [inline, static]

Definition at line 561 of file Prophet.h.

References get_instance_id(), and instance().

static UniqueID* dtn::Prophet::UniqueID::instance (  )  [inline, static]

Definition at line 565 of file Prophet.h.

References instance_.

Referenced by instance_id(), and tid().

static void dtn::Prophet::UniqueID::init (  )  [inline, static]

Definition at line 571 of file Prophet.h.

References instance_, and UniqueID().

Referenced by dtn::ProphetController::ProphetController().

u_int32_t dtn::Prophet::UniqueID::get_tid (  )  [inline, protected]

Definition at line 583 of file Prophet.h.

References ExamineDump::l, lock_, and tid_.

Referenced by tid().

u_int16_t dtn::Prophet::UniqueID::get_instance_id (  )  [inline, protected]

Definition at line 587 of file Prophet.h.

References iid_, ExamineDump::l, and lock_.

Referenced by instance_id().


Member Data Documentation

u_int32_t dtn::Prophet::UniqueID::tid_ [protected]

Definition at line 595 of file Prophet.h.

Referenced by get_tid().

u_int16_t dtn::Prophet::UniqueID::iid_ [protected]

Definition at line 596 of file Prophet.h.

Referenced by get_instance_id().

oasys::SpinLock* dtn::Prophet::UniqueID::lock_ [protected]

Definition at line 597 of file Prophet.h.

Referenced by get_instance_id(), get_tid(), and ~UniqueID().

Prophet::UniqueID * dtn::Prophet::UniqueID::instance_ = NULL [static, protected]

Definition at line 598 of file Prophet.h.

Referenced by init(), and instance().


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