gem5  v22.0.0.1
Public Member Functions | Public Attributes | Private Member Functions | List of all members
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.

◆ sc_attribute() [2/4]

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

Definition at line 59 of file sc_attr.hh.

◆ sc_attribute() [3/4]

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

Definition at line 62 of file sc_attr.hh.

◆ ~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.

Member Data Documentation

◆ value

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

Definition at line 66 of file sc_attr.hh.


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

Generated on Sat Jun 18 2022 08:15:22 for gem5 by doxygen 1.8.17