gem5  v21.2.0.0
Public Member Functions | Private Attributes | List of all members
SimpleATInitiator1::MyTransaction< DT > Class Template Reference

#include <SimpleATInitiator1.h>

Inheritance diagram for SimpleATInitiator1::MyTransaction< DT >:
tlm::tlm_generic_payload

Public Member Functions

 MyTransaction ()
 
 MyTransaction (tlm::tlm_mm_interface *mm)
 
void setData (DT &data)
 
DT getData () const
 
- Public Member Functions inherited from tlm::tlm_generic_payload
 tlm_generic_payload ()
 
 tlm_generic_payload (tlm_mm_interface *mm)
 
void acquire ()
 
void release ()
 
int get_ref_count () const
 
void set_mm (tlm_mm_interface *mm)
 
bool has_mm () const
 
void reset ()
 
void deep_copy_from (const tlm_generic_payload &other)
 
void update_original_from (const tlm_generic_payload &other, bool use_byte_enable_on_read=true)
 
void update_extensions_from (const tlm_generic_payload &other)
 
void free_all_extensions ()
 
virtual ~tlm_generic_payload ()
 
bool is_read () const
 
void set_read ()
 
bool is_write () const
 
void set_write ()
 
tlm_command get_command () const
 
void set_command (const tlm_command command)
 
sc_dt::uint64 get_address () const
 
void set_address (const sc_dt::uint64 address)
 
unsigned char * get_data_ptr () const
 
void set_data_ptr (unsigned char *data)
 
unsigned int get_data_length () const
 
void set_data_length (const unsigned int length)
 
bool is_response_ok () const
 
bool is_response_error () const
 
tlm_response_status get_response_status () const
 
void set_response_status (const tlm_response_status response_status)
 
std::string get_response_string () const
 
unsigned int get_streaming_width () const
 
void set_streaming_width (const unsigned int streaming_width)
 
unsigned char * get_byte_enable_ptr () const
 
void set_byte_enable_ptr (unsigned char *byte_enable)
 
unsigned int get_byte_enable_length () const
 
void set_byte_enable_length (const unsigned int byte_enable_length)
 
void set_dmi_allowed (bool dmi_allowed)
 
bool is_dmi_allowed () const
 
tlm_gp_option get_gp_option () const
 
void set_gp_option (const tlm_gp_option gp_opt)
 
template<typename T >
T * set_extension (T *ext)
 
tlm_extension_baseset_extension (unsigned int index, tlm_extension_base *ext)
 
template<typename T >
T * set_auto_extension (T *ext)
 
tlm_extension_baseset_auto_extension (unsigned int index, tlm_extension_base *ext)
 
template<typename T >
void get_extension (T *&ext) const
 
template<typename T >
T * get_extension () const
 
tlm_extension_baseget_extension (unsigned int index) const
 
template<typename T >
void clear_extension (const T *ext)
 
template<typename T >
void clear_extension ()
 
template<typename T >
void release_extension (T *ext)
 
template<typename T >
void release_extension ()
 
void resize_extensions ()
 

Private Attributes

DT mData
 

Detailed Description

template<typename DT>
class SimpleATInitiator1::MyTransaction< DT >

Definition at line 70 of file SimpleATInitiator1.h.

Constructor & Destructor Documentation

◆ MyTransaction() [1/2]

template<typename DT >
SimpleATInitiator1::MyTransaction< DT >::MyTransaction ( )
inline

Definition at line 73 of file SimpleATInitiator1.h.

◆ MyTransaction() [2/2]

template<typename DT >
SimpleATInitiator1::MyTransaction< DT >::MyTransaction ( tlm::tlm_mm_interface mm)
inline

Definition at line 77 of file SimpleATInitiator1.h.

Member Function Documentation

◆ getData()

template<typename DT >
DT SimpleATInitiator1::MyTransaction< DT >::getData ( ) const
inline

Definition at line 83 of file SimpleATInitiator1.h.

◆ setData()

template<typename DT >
void SimpleATInitiator1::MyTransaction< DT >::setData ( DT &  data)
inline

Definition at line 82 of file SimpleATInitiator1.h.

Member Data Documentation

◆ mData

template<typename DT >
DT SimpleATInitiator1::MyTransaction< DT >::mData
private

Definition at line 86 of file SimpleATInitiator1.h.


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

Generated on Tue Dec 21 2021 11:34:53 for gem5 by doxygen 1.8.17