SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
simics::systemc::InterfaceProviderAddOn Class Reference

#include <interface_provider.h>

Inheritance diagram for simics::systemc::InterfaceProviderAddOn:
simics::systemc::InterfaceProvider simics::systemc::InterfaceProvider::TargetUpdateListener

Public Member Functions

 InterfaceProviderAddOn (InterfaceProvider *parent, const char *interface_name)
 
 ~InterfaceProviderAddOn ()
 
virtual void set_target (const ConfObjectRef &obj)
 
virtual void set_optional (bool optional)
 
virtual bool optional () const
 
- Public Member Functions inherited from simics::systemc::InterfaceProvider
 InterfaceProvider (const char *interface_name)
 
 InterfaceProvider (const InterfaceProvider &)=delete
 
InterfaceProvideroperator= (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
 
- Public Member Functions inherited from simics::systemc::InterfaceProvider::TargetUpdateListener
virtual ~TargetUpdateListener ()
 
virtual void update_target (ConfObjectRef old_target, ConfObjectRef new_target)=0
 

Protected Member Functions

virtual void update_target (ConfObjectRef old_target, ConfObjectRef new_target)
 
- Protected Member Functions inherited from simics::systemc::InterfaceProvider
virtual const interface_t * get_interface ()
 

Protected Attributes

InterfaceProviderparent_
 
- Protected Attributes inherited from simics::systemc::InterfaceProvider
simics::ConfObjectRef target_obj_
 
const interface_t * interface_
 
const char * interface_name_
 
bool optional_
 
std::set< TargetUpdateListener * > * target_update_listeners_
 

Constructor & Destructor Documentation

◆ InterfaceProviderAddOn()

simics::systemc::InterfaceProviderAddOn::InterfaceProviderAddOn ( InterfaceProvider parent,
const char *  interface_name 
)
inline

◆ ~InterfaceProviderAddOn()

simics::systemc::InterfaceProviderAddOn::~InterfaceProviderAddOn ( )
inline

Member Function Documentation

◆ optional()

virtual bool simics::systemc::InterfaceProviderAddOn::optional ( ) const
inlinevirtual

◆ set_optional()

virtual void simics::systemc::InterfaceProviderAddOn::set_optional ( bool  optional)
inlinevirtual

◆ set_target()

virtual void simics::systemc::InterfaceProviderAddOn::set_target ( const ConfObjectRef &  obj)
inlinevirtual

◆ update_target()

virtual void simics::systemc::InterfaceProviderAddOn::update_target ( ConfObjectRef  old_target,
ConfObjectRef  new_target 
)
inlineprotectedvirtual

Member Data Documentation

◆ parent_

InterfaceProvider* simics::systemc::InterfaceProviderAddOn::parent_
protected

The documentation for this class was generated from the following file: