78 class sc_without_context;
110 const T*& value_ptr();
117 const T* m_value_ptr;
146 void*
operator new( std::size_t );
156 static const T& default_value();
157 const T&
value()
const;
163 const T*& m_def_value_ptr;
164 const T* m_old_value_ptr;
184 , m_proc( &m_instance )
197 const T* vp = m_map[p];
200 vp =
new T( sc_without_context() );
201 m_map.insert( p, vp );
214 if( m_instance == 0 )
242 m_def_value_ptr(
sc_global<T>::instance()->value_ptr() ),
247 m_old_value_ptr = m_def_value_ptr;
248 m_def_value_ptr = &m_value;
256 if( m_old_value_ptr != 0 )
258 m_def_value_ptr = m_old_value_ptr;
269 if( m_old_value_ptr == 0 )
271 m_old_value_ptr = m_def_value_ptr;
272 m_def_value_ptr = &m_value;
285 if( m_old_value_ptr != 0 )
287 m_def_value_ptr = m_old_value_ptr;
Report ids for the datatypes/fx code.
sc_process_b * sc_get_current_process_b()
static sc_global< T > * instance()
Empty class that is used for its type only.
static const T & default_value()
Template context class; co-routine safe.
Template global variable class; singleton; co-routine safe.
sc_clock period is zero sc_clock low time is zero sc_fifo< T > cannot have more than one writer bind interface to port failed complete binding failed remove port failed insert primitive channel failed sc_signal< T > cannot have more than one driver resolved port not bound to resolved signal sc_semaphore requires an initial value
SC_API unsigned default_ptr_hash_fn(const void *)
Definition of the simulation context class.
#define SC_REPORT_ERROR(msg_type, msg)
sc_process_b sc_process_b
sc_context_begin
Enumeration of context begin options.