TLM-2.0  2.0.4
Accellera TLM-2.0 proof-of-concept library
tlm::tlm_array< T > Class Template Reference

#include <tlm_core/tlm_2/tlm_generic_payload/tlm_array.h>

Inheritance diagram for tlm::tlm_array< T >:
Collaboration diagram for tlm::tlm_array< 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_type > m_entries
 

Private Attributes

elements
 STL member. More...
 

Detailed Description

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

Definition at line 53 of file tlm_array.h.

Constructor & Destructor Documentation

◆ tlm_array()

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

Definition at line 61 of file tlm_array.h.

Member Function Documentation

◆ expand()

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

Definition at line 81 of file tlm_array.h.

◆ free_entire_cache()

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

Definition at line 102 of file tlm_array.h.

◆ insert_in_cache()

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

Definition at line 95 of file tlm_array.h.

◆ kind()

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

Definition at line 91 of file tlm_array.h.

Member Data Documentation

◆ kind_string

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

Definition at line 90 of file tlm_array.h.

◆ m_entries

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

Definition at line 114 of file tlm_array.h.


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