gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
sc_core::sc_attribute< T > Class Template Reference

#include <sc_attr.hh>

Inheritance diagram for sc_core::sc_attribute< T >:
sc_core::sc_attr_base

Public Member Functions

 sc_attribute (const std::string &_name)
 
 sc_attribute (const std::string &_name, const T &t)
 
 sc_attribute (const sc_attribute< T > &other)
 
virtual ~sc_attribute ()
 
- Public Member Functions inherited from sc_core::sc_attr_base
 sc_attr_base (const std::string &_name)
 
 sc_attr_base (const sc_attr_base &other)
 
virtual ~sc_attr_base ()
 
const std::string & name () const
 

Public Attributes

value
 

Private Member Functions

 sc_attribute ()
 
sc_attribute< T > & operator= (const sc_attribute< T > &)
 

Detailed Description

template<class T>
class sc_core::sc_attribute< T >

Definition at line 55 of file sc_attr.hh.

Constructor & Destructor Documentation

◆ sc_attribute() [1/4]

template<class T>
sc_core::sc_attribute< T >::sc_attribute ( const std::string & _name)
inline

Definition at line 58 of file sc_attr.hh.

References sc_core::sc_attr_base::_name, and sc_core::sc_attr_base::sc_attr_base().

Referenced by operator=(), and sc_attribute().

◆ sc_attribute() [2/4]

template<class T>
sc_core::sc_attribute< T >::sc_attribute ( const std::string & _name,
const T & t )
inline

◆ sc_attribute() [3/4]

template<class T>
sc_core::sc_attribute< T >::sc_attribute ( const sc_attribute< T > & other)
inline

◆ ~sc_attribute()

template<class T>
virtual sc_core::sc_attribute< T >::~sc_attribute ( )
inlinevirtual

Definition at line 65 of file sc_attr.hh.

◆ sc_attribute() [4/4]

template<class T>
sc_core::sc_attribute< T >::sc_attribute ( )
inlineprivate

Definition at line 70 of file sc_attr.hh.

Member Function Documentation

◆ operator=()

template<class T>
sc_attribute< T > & sc_core::sc_attribute< T >::operator= ( const sc_attribute< T > & )
inlineprivate

Definition at line 71 of file sc_attr.hh.

References sc_attribute().

Member Data Documentation

◆ value

template<class T>
T sc_core::sc_attribute< T >::value

Definition at line 66 of file sc_attr.hh.

Referenced by sc_attribute(), and sc_attribute().


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

Generated on Mon May 26 2025 09:20:43 for gem5 by doxygen 1.13.2