16#ifndef SIMICS_SYSTEMC_IFACE_TRANSACTION_H
17#define SIMICS_SYSTEMC_IFACE_TRANSACTION_H
40 payload_ = t.payload_;
49 payload_ = t.payload_;
66 operator tlm::tlm_generic_payload &() {
70 operator tlm::tlm_generic_payload *() {
82 payload_->get_extension(e);
88 if (payload_ && payload_->has_mm())
92 if (payload_ && payload_->has_mm())
96 tlm::tlm_generic_payload *payload_;
Definition: transaction_extension.h:54
Class that encapsulates a generic_payload and returns it to the TransactionPool when the Transaction ...
Definition: transaction.h:31
Transaction(const Transaction &t)
Increases usage count for payload.
Definition: transaction.h:39
Transaction(tlm::tlm_generic_payload *payload)
Definition: transaction.h:33
const tlm::tlm_generic_payload * operator->() const
Access payload with ->
Definition: transaction.h:62
Transaction()
Definition: transaction.h:37
TransactionExtension * extension()
Definition: transaction.h:77
~Transaction()
Returns payload to pool.
Definition: transaction.h:54
tlm::tlm_generic_payload * operator->()
Access payload with ->
Definition: transaction.h:58
Transaction & operator=(const Transaction &t)
Increases usage count for new payload and returns former to pool.
Definition: transaction.h:44
tlm::tlm_generic_payload * payload()
Access payload by payload()
Definition: transaction.h:74
Definition: pci_bus_interface.h:24