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

#include <sc_context.hh>

Public Member Functions

 sc_context (const T &, sc_context_begin=SC_NOW)
 
 ~sc_context ()
 
void begin ()
 
void end ()
 
const T & value () const
 

Static Public Member Functions

static const T & default_value ()
 

Private Member Functions

 sc_context (const sc_context< T > &)
 
void * operator new (std::size_t)
 
sc_contextoperator= (const sc_context &)
 

Private Attributes

const T m_value
 
const T *& m_def_value_ptr
 
const T * m_old_value_ptr
 

Detailed Description

template<class T>
class sc_dt::sc_context< T >

Definition at line 106 of file sc_context.hh.

Constructor & Destructor Documentation

◆ sc_context() [1/2]

template<class T >
sc_dt::sc_context< T >::sc_context ( const sc_context< T > &  )
private

◆ sc_context() [2/2]

template<class T >
sc_dt::sc_context< T >::sc_context ( const T &  value_,
sc_context_begin  begin_ = SC_NOW 
)
inlineexplicit

Definition at line 251 of file sc_context.hh.

◆ ~sc_context()

template<class T >
sc_dt::sc_context< T >::~sc_context
inline

Definition at line 263 of file sc_context.hh.

Member Function Documentation

◆ begin()

template<class T >
void sc_dt::sc_context< T >::begin
inline

Definition at line 274 of file sc_context.hh.

◆ default_value()

template<class T >
const T & sc_dt::sc_context< T >::default_value
inlinestatic

◆ end()

template<class T >
void sc_dt::sc_context< T >::end
inline

Definition at line 286 of file sc_context.hh.

◆ operator new()

template<class T >
void* sc_dt::sc_context< T >::operator new ( std::size_t  )
private

◆ operator=()

template<class T >
sc_context& sc_dt::sc_context< T >::operator= ( const sc_context< T > &  )
private

◆ value()

template<class T >
const T & sc_dt::sc_context< T >::value
inline

Definition at line 306 of file sc_context.hh.

Member Data Documentation

◆ m_def_value_ptr

template<class T >
const T*& sc_dt::sc_context< T >::m_def_value_ptr
private

Definition at line 183 of file sc_context.hh.

◆ m_old_value_ptr

template<class T >
const T* sc_dt::sc_context< T >::m_old_value_ptr
private

Definition at line 184 of file sc_context.hh.

◆ m_value

template<class T >
const T sc_dt::sc_context< T >::m_value
private

Definition at line 182 of file sc_context.hh.


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

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