16#ifndef SIMICS_SYSTEMC_IFACE_TRANSACTION_EXTENSION_H
17#define SIMICS_SYSTEMC_IFACE_TRANSACTION_EXTENSION_H
44 return status_ ==
FAIL;
72 transport_debug_ =
false;
79 return transport_debug_;
91 virtual tlm::tlm_extension_base *
clone()
const {
94 virtual void copy_from(tlm::tlm_extension_base
const &ext) {
100 bool transport_debug_;
Definition: transaction_extension.h:56
virtual void defer(iface::Transaction *transaction)=0
virtual bool is_async(iface::Transaction *transaction)=0
virtual ~Callback()
Definition: transaction_extension.h:62
virtual void complete(iface::Transaction *transaction, bool success)=0
Definition: transaction_extension.h:54
void set_callback(Callback *callback)
Definition: transaction_extension.h:85
void set_status(TransactionStatus status)
Definition: transaction_extension.h:75
void reset()
Definition: transaction_extension.h:70
TransactionExtension()
Definition: transaction_extension.h:64
void set_transport_debug(bool transport_debug)
For true, the gasket uses transport_dbg instead of b_transport.
Definition: transaction_extension.h:82
virtual tlm::tlm_extension_base * clone() const
Definition: transaction_extension.h:91
virtual void copy_from(tlm::tlm_extension_base const &ext)
Definition: transaction_extension.h:94
bool transport_debug()
Definition: transaction_extension.h:78
TransactionStatus status()
Definition: transaction_extension.h:67
Callback * callback()
Definition: transaction_extension.h:88
Definition: transaction_extension.h:27
bool invalid()
Definition: transaction_extension.h:37
bool active()
Definition: transaction_extension.h:46
bool fail()
Definition: transaction_extension.h:43
bool ok()
Definition: transaction_extension.h:40
Status
Definition: transaction_extension.h:29
@ ACTIVE
Definition: transaction_extension.h:33
@ INVALID
Definition: transaction_extension.h:30
@ OK
Definition: transaction_extension.h:31
@ FAIL
Definition: transaction_extension.h:32
TransactionStatus(Status status)
Definition: transaction_extension.h:36
TransactionStatus()
Definition: transaction_extension.h:35
Class that encapsulates a generic_payload and returns it to the TransactionPool when the Transaction ...
Definition: transaction.h:31
Definition: pci_bus_interface.h:24