SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_dt::sc_global< T > Class Template Reference

Template global variable class; singleton; co-routine safe. More...

#include <sysc/datatypes/fx/sc_context.h>

Public Member Functions

const T *& value_ptr ()
 

Static Public Member Functions

static sc_global< T > * instance ()
 

Detailed Description

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

Template global variable class; singleton; co-routine safe.

Definition at line 79 of file sc_context.h.

Member Function Documentation

◆ instance()

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

Definition at line 212 of file sc_context.h.

◆ value_ptr()

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

Definition at line 225 of file sc_context.h.


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