Utility class that can unmarshal a Simics interface embedded as an Extension in the tlm::tlm_generic_payload and dispatch the interface method to a callback method on the corresponding receiver class, implementing the ReceiverInterface.
More...
#include <extension_dispatcher.h>
Utility class that can unmarshal a Simics interface embedded as an Extension in the tlm::tlm_generic_payload and dispatch the interface method to a callback method on the corresponding receiver class, implementing the ReceiverInterface.
There is no limit to the number of receivers that can subscribe to the same dispatcher.
◆ ~ExtensionDispatcher()
virtual simics::systemc::iface::ExtensionDispatcher::~ExtensionDispatcher |
( |
| ) |
|
|
inlinevirtual |
◆ handle()
bool simics::systemc::iface::ExtensionDispatcher::handle |
( |
tlm::tlm_generic_payload * |
payload | ) |
|
|
inlineoverridevirtual |
◆ probe()
bool simics::systemc::iface::ExtensionDispatcher::probe |
( |
tlm::tlm_generic_payload * |
payload | ) |
|
|
inlineoverridevirtual |
◆ subscribe()
void simics::systemc::iface::ExtensionDispatcher::subscribe |
( |
ReceiverInterface * |
receiver | ) |
|
|
inline |
◆ receivers_
std::vector<ReceiverInterface *> simics::systemc::iface::ExtensionDispatcher::receivers_ |
|
protected |
The documentation for this class was generated from the following file: