tlm_utils::tlm_quantumkeeper Class Reference

#include <tlm_quantumkeeper.h>

List of all members.

Public Member Functions

 tlm_quantumkeeper ()
virtual ~tlm_quantumkeeper ()
virtual void inc (const sc_core::sc_time &t)
virtual void set (const sc_core::sc_time &t)
virtual bool need_sync () const
virtual void sync ()
virtual void reset ()
virtual sc_core::sc_time get_current_time () const
virtual sc_core::sc_time get_local_time () const

Static Public Member Functions

static void set_global_quantum (const sc_core::sc_time &t)
static const
sc_core::sc_time & 
get_global_quantum ()

Protected Member Functions

virtual sc_core::sc_time compute_local_quantum ()

Protected Attributes

sc_core::sc_time m_next_sync_point
sc_core::sc_time m_local_time


Detailed Description

Definition at line 32 of file tlm_quantumkeeper.h.


Constructor & Destructor Documentation

tlm_utils::tlm_quantumkeeper::tlm_quantumkeeper (  )  [inline]

Definition at line 53 of file tlm_quantumkeeper.h.

virtual tlm_utils::tlm_quantumkeeper::~tlm_quantumkeeper (  )  [inline, virtual]

Definition at line 59 of file tlm_quantumkeeper.h.


Member Function Documentation

static void tlm_utils::tlm_quantumkeeper::set_global_quantum ( const sc_core::sc_time &  t  )  [inline, static]

Definition at line 42 of file tlm_quantumkeeper.h.

References tlm::tlm_qk_internal::tlm_global_quantum< Dummy >::instance().

Here is the call graph for this function:

static const sc_core::sc_time& tlm_utils::tlm_quantumkeeper::get_global_quantum (  )  [inline, static]

Definition at line 47 of file tlm_quantumkeeper.h.

References tlm::tlm_qk_internal::tlm_global_quantum< Dummy >::instance().

Here is the call graph for this function:

virtual void tlm_utils::tlm_quantumkeeper::inc ( const sc_core::sc_time &  t  )  [inline, virtual]

Definition at line 66 of file tlm_quantumkeeper.h.

References m_local_time.

virtual void tlm_utils::tlm_quantumkeeper::set ( const sc_core::sc_time &  t  )  [inline, virtual]

Definition at line 76 of file tlm_quantumkeeper.h.

References m_local_time.

virtual bool tlm_utils::tlm_quantumkeeper::need_sync (  )  const [inline, virtual]

Definition at line 86 of file tlm_quantumkeeper.h.

References m_local_time, and m_next_sync_point.

virtual void tlm_utils::tlm_quantumkeeper::sync (  )  [inline, virtual]

Definition at line 96 of file tlm_quantumkeeper.h.

References m_local_time, and reset().

Here is the call graph for this function:

virtual void tlm_utils::tlm_quantumkeeper::reset (  )  [inline, virtual]

Definition at line 108 of file tlm_quantumkeeper.h.

References compute_local_quantum(), m_local_time, and m_next_sync_point.

Referenced by sync().

Here is the call graph for this function:

virtual sc_core::sc_time tlm_utils::tlm_quantumkeeper::get_current_time (  )  const [inline, virtual]

Definition at line 120 of file tlm_quantumkeeper.h.

References m_local_time.

virtual sc_core::sc_time tlm_utils::tlm_quantumkeeper::get_local_time (  )  const [inline, virtual]

Definition at line 130 of file tlm_quantumkeeper.h.

References m_local_time.

virtual sc_core::sc_time tlm_utils::tlm_quantumkeeper::compute_local_quantum (  )  [inline, protected, virtual]

Definition at line 145 of file tlm_quantumkeeper.h.

References tlm::tlm_qk_internal::tlm_global_quantum< Dummy >::instance().

Referenced by reset().

Here is the call graph for this function:


Member Data Documentation

sc_core::sc_time tlm_utils::tlm_quantumkeeper::m_next_sync_point [protected]

Definition at line 151 of file tlm_quantumkeeper.h.

Referenced by need_sync(), and reset().

sc_core::sc_time tlm_utils::tlm_quantumkeeper::m_local_time [protected]

Definition at line 152 of file tlm_quantumkeeper.h.

Referenced by get_current_time(), get_local_time(), inc(), need_sync(), reset(), set(), and sync().


The documentation for this class was generated from the following file:
Generated on Thu Jun 5 17:44:44 2008 for TLM 2 by  doxygen 1.5.3