16#ifndef SIMICS_SYSTEMC_INJECTION_B_TRANSPORT_INVOKER_H
17#define SIMICS_SYSTEMC_INJECTION_B_TRANSPORT_INVOKER_H
30template <
typename TYPES>
32 typedef typename TYPES::tlm_payload_type transaction_type;
33 typedef typename TYPES::tlm_phase_type phase_type;
37 Invoker(transaction_type *transaction, sc_core::sc_time *offset,
38 tlm::tlm_fw_transport_if<TYPES> *socket)
39 : transaction_(transaction), offset_(*offset), socket_(socket) {}
41 socket_->b_transport(*transaction_, offset_);
42 transaction_->release();
47 transaction_type *transaction_;
48 sc_core::sc_time offset_;
49 tlm::tlm_fw_transport_if<TYPES> *socket_;
53 void enqueue(tlm::tlm_base_socket_if *socket, transaction_type *trans,
54 sc_core::sc_time *offset) {
55 tlm::tlm_fw_transport_if<TYPES> *socket_
56 =
dynamic_cast<tlm::tlm_fw_transport_if<TYPES> *
>(
57 socket->get_port_base().get_interface());
60 Invoker call(trans, offset, socket_);
Definition: b_transport_invoker.h:31
void enqueue(tlm::tlm_base_socket_if *socket, transaction_type *trans, sc_core::sc_time *offset)
Definition: b_transport_invoker.h:53
std::set< sc_core::sc_process_handle > InternalProcesses
Definition: pci_bus_interface.h:24