Returns the interface provided by the associated Simics object. More...
#include <interface_provider.h>
Classes | |
class | TargetUpdateListener |
Public Member Functions | |
InterfaceProvider (const char *interface_name) | |
InterfaceProvider (const InterfaceProvider &)=delete | |
InterfaceProvider & | operator= (const InterfaceProvider &)=delete |
virtual | ~InterfaceProvider () |
virtual void | set_target (const ConfObjectRef &obj) |
virtual void | add_target_update_listener (TargetUpdateListener *l) |
virtual void | remove_target_update_listener (TargetUpdateListener *l) |
virtual const simics::ConfObjectRef & | target () const |
virtual bool | has_interface () |
virtual const char * | get_interface_name () const |
template<typename TInterface > | |
SimicsTargetLock< TInterface > | get_interface () |
virtual void | set_optional (bool optional) |
virtual bool | optional () const |
Protected Member Functions | |
virtual const interface_t * | get_interface () |
Protected Attributes | |
simics::ConfObjectRef | target_obj_ |
const interface_t * | interface_ |
const char * | interface_name_ |
bool | optional_ |
std::set< TargetUpdateListener * > * | target_update_listeners_ |
Returns the interface provided by the associated Simics object.
This class is typically used with tlm2simics gaskets and connector attributes, making sure that the Simics object implements the requested interface.
|
inlineexplicit |
|
delete |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlineprotectedvirtual |
|
inlinevirtual |
|
inlinevirtual |
|
delete |
|
inlinevirtual |
Reimplemented in simics::systemc::InterfaceProviderAddOn.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in simics::systemc::InterfaceProviderAddOn.
|
inlinevirtual |
Reimplemented in simics::systemc::InterfaceProviderAddOn, and simics::systemc::tlm2simics::PciBus.
|
inlinevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |