gem5  v22.1.0.0
Public Member Functions | Static Public Attributes | Protected Attributes | Private Types | List of all members
tlm::tlm_array< T > Class Template Reference

#include <array.hh>

Inheritance diagram for tlm::tlm_array< T >:
std::vector< T >

Public Member Functions

 tlm_array (size_type size=0)
 
void expand (size_type new_size)
 
const char * kind () const
 
void insert_in_cache (T *p)
 
void free_entire_cache ()
 

Static Public Attributes

static const char *const kind_string = "tlm_array"
 

Protected Attributes

std::vector< size_typem_entries
 

Private Types

typedef std::vector< T > base_type
 
typedef base_type::size_type size_type
 

Additional Inherited Members

- Private Attributes inherited from std::vector< T >
item
 Dummy Item. More...
 

Detailed Description

template<typename T>
class tlm::tlm_array< T >

Definition at line 43 of file array.hh.

Member Typedef Documentation

◆ base_type

template<typename T >
typedef std::vector<T> tlm::tlm_array< T >::base_type
private

Definition at line 46 of file array.hh.

◆ size_type

template<typename T >
typedef base_type::size_type tlm::tlm_array< T >::size_type
private

Definition at line 47 of file array.hh.

Constructor & Destructor Documentation

◆ tlm_array()

template<typename T >
tlm::tlm_array< T >::tlm_array ( size_type  size = 0)
inline

Definition at line 50 of file array.hh.

Member Function Documentation

◆ expand()

template<typename T >
void tlm::tlm_array< T >::expand ( size_type  new_size)
inline

Definition at line 60 of file array.hh.

◆ free_entire_cache()

template<typename T >
void tlm::tlm_array< T >::free_entire_cache ( )
inline

Definition at line 75 of file array.hh.

References tlm::tlm_array< T >::m_entries.

◆ insert_in_cache()

template<typename T >
void tlm::tlm_array< T >::insert_in_cache ( T *  p)
inline

Definition at line 71 of file array.hh.

References tlm::tlm_array< T >::m_entries, and gem5::VegaISA::p.

◆ kind()

template<typename T >
const char* tlm::tlm_array< T >::kind ( ) const
inline

Definition at line 67 of file array.hh.

References tlm::tlm_array< T >::kind_string.

Member Data Documentation

◆ kind_string

template<typename T >
const char *const tlm::tlm_array< T >::kind_string = "tlm_array"
static

Definition at line 66 of file array.hh.

Referenced by tlm::tlm_array< T >::kind().

◆ m_entries

template<typename T >
std::vector<size_type> tlm::tlm_array< T >::m_entries
protected

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

Generated on Wed Dec 21 2022 10:25:12 for gem5 by doxygen 1.9.1