gem5  [DEVELOP-FOR-23.0]
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
sc_gem5::ScInterfaceWrapper< IF > Class Template Reference

#include <sc_port_wrapper.hh>

Public Member Functions

 ScInterfaceWrapper (IF &i, const std::string name, gem5::PortID id)
 
IF & interface ()
 
void unbind () override
 
void bind (gem5::Port &peer) override
 

Private Attributes

IF & iface_
 

Detailed Description

template<typename IF>
class sc_gem5::ScInterfaceWrapper< IF >

Definition at line 47 of file sc_port_wrapper.hh.

Constructor & Destructor Documentation

◆ ScInterfaceWrapper()

template<typename IF >
sc_gem5::ScInterfaceWrapper< IF >::ScInterfaceWrapper ( IF &  i,
const std::string  name,
gem5::PortID  id 
)
inline

Definition at line 101 of file sc_port_wrapper.hh.

Member Function Documentation

◆ bind()

template<typename IF >
void sc_gem5::ScInterfaceWrapper< IF >::bind ( gem5::Port peer)
inlineoverride

Definition at line 120 of file sc_port_wrapper.hh.

References gem5::Port::bind(), fatal_if, name(), and gem5::Port::name().

◆ interface()

template<typename IF >
IF& sc_gem5::ScInterfaceWrapper< IF >::interface ( )
inline

Definition at line 106 of file sc_port_wrapper.hh.

◆ unbind()

template<typename IF >
void sc_gem5::ScInterfaceWrapper< IF >::unbind ( )
inlineoverride

Definition at line 112 of file sc_port_wrapper.hh.

References panic.

Member Data Documentation

◆ iface_

template<typename IF >
IF& sc_gem5::ScInterfaceWrapper< IF >::iface_
private

Definition at line 137 of file sc_port_wrapper.hh.


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

Generated on Sun Jul 30 2023 01:58:25 for gem5 by doxygen 1.8.17