gem5  v20.1.0.0
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
sc_dt::sc_global< T > Class Template Reference

#include <sc_context.hh>

Public Member Functions

const T *& value_ptr ()
 

Static Public Member Functions

static sc_global< T > * instance ()
 

Private Member Functions

 sc_global ()
 
void update ()
 

Private Attributes

std::map< void *, const T * > m_map
 
void * m_proc
 
const T * m_value_ptr
 

Static Private Attributes

static sc_global< T > * m_instance = 0
 

Detailed Description

template<class T>
class sc_dt::sc_global< T >

Definition at line 104 of file sc_context.hh.

Constructor & Destructor Documentation

◆ sc_global()

template<class T >
sc_dt::sc_global< T >::sc_global
inlineprivate

Definition at line 200 of file sc_context.hh.

Member Function Documentation

◆ instance()

template<class T >
sc_global< T > * sc_dt::sc_global< T >::instance
inlinestatic

Definition at line 226 of file sc_context.hh.

◆ update()

template<class T >
void sc_dt::sc_global< T >::update
inlineprivate

Definition at line 209 of file sc_context.hh.

◆ value_ptr()

template<class T >
const T *& sc_dt::sc_global< T >::value_ptr
inline

Definition at line 237 of file sc_context.hh.

Member Data Documentation

◆ m_instance

template<class T >
sc_global< T > * sc_dt::sc_global< T >::m_instance = 0
staticprivate

Definition at line 135 of file sc_context.hh.

◆ m_map

template<class T >
std::map<void *, const T *> sc_dt::sc_global< T >::m_map
private

Definition at line 137 of file sc_context.hh.

◆ m_proc

template<class T >
void* sc_dt::sc_global< T >::m_proc
private

Definition at line 138 of file sc_context.hh.

◆ m_value_ptr

template<class T >
const T* sc_dt::sc_global< T >::m_value_ptr
private

Definition at line 139 of file sc_context.hh.


The documentation for this class was generated from the following file:

Generated on Wed Sep 30 2020 14:03:10 for gem5 by doxygen 1.8.17