gem5 v24.0.0.0
|
#include <instance_specific_extensions_int.h>
Public Types | |
typedef instance_specific_extension_container | container_type |
Public Member Functions | |
instance_specific_extensions_per_accessor (container_type *container) | |
template<typename T > | |
T * | set_extension (T *ext) |
ispex_base * | set_extension (unsigned int index, ispex_base *ext) |
template<typename T > | |
void | get_extension (T *&ext) const |
ispex_base * | get_extension (unsigned int index) const |
template<typename T > | |
void | clear_extension (const T *) |
void | clear_extension (unsigned int index) |
void | resize_extensions () |
Private Attributes | |
tlm::tlm_array< ispex_base * > | m_extensions |
container_type * | m_container |
Definition at line 69 of file instance_specific_extensions_int.h.
typedef instance_specific_extension_container tlm_utils::instance_specific_extensions_per_accessor::container_type |
Definition at line 72 of file instance_specific_extensions_int.h.
|
inlineexplicit |
Definition at line 75 of file instance_specific_extensions_int.h.
|
inline |
Definition at line 100 of file instance_specific_extensions_int.h.
Referenced by tlm_utils::instance_specific_extension_accessor::release_carrier().
void tlm_utils::instance_specific_extensions_per_accessor::clear_extension | ( | unsigned int | index | ) |
Definition at line 244 of file instance_specific_extensions.cc.
References tlm_utils::instance_specific_extension_container::dec_use_count(), m_container, and m_extensions.
|
inline |
Definition at line 91 of file instance_specific_extensions_int.h.
ispex_base * tlm_utils::instance_specific_extensions_per_accessor::get_extension | ( | unsigned int | index | ) | const |
Definition at line 237 of file instance_specific_extensions.cc.
References m_extensions.
void tlm_utils::instance_specific_extensions_per_accessor::resize_extensions | ( | ) |
Definition at line 254 of file instance_specific_extensions.cc.
References m_extensions.
Referenced by set_extension().
|
inline |
Definition at line 81 of file instance_specific_extensions_int.h.
ispex_base * tlm_utils::instance_specific_extensions_per_accessor::set_extension | ( | unsigned int | index, |
ispex_base * | ext ) |
Definition at line 225 of file instance_specific_extensions.cc.
References tlm_utils::instance_specific_extension_container::inc_use_count(), m_container, m_extensions, and resize_extensions().
|
private |
Definition at line 117 of file instance_specific_extensions_int.h.
Referenced by clear_extension(), and set_extension().
|
private |
Definition at line 116 of file instance_specific_extensions_int.h.
Referenced by clear_extension(), get_extension(), resize_extensions(), and set_extension().