SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
simics::systemc::Connector< InterfaceProvider > Class Template Reference

Provides get/set functionality for a connector attribute, typically registered by using the ConnectorAttribute class. More...

#include <connector.h>

Inheritance diagram for simics::systemc::Connector< InterfaceProvider >:
simics::systemc::ConnectorBase simics::systemc::ConnectorProxy< InterfaceProvider >

Public Types

enum  { is_proxy = false }
 

Public Member Functions

 Connector ()=default
 
 Connector (const Connector &other)
 
Connectoroperator= (const Connector &other)
 
bool set (const ConfObjectRef &connect) override
 
InterfaceProviderprovider ()
 
const InterfaceProviderprovider () const
 
InterfaceProvideroperator-> ()
 
const InterfaceProvideroperator-> () const
 

Additional Inherited Members

- Static Protected Attributes inherited from simics::systemc::ConnectorBase
static std::multimap< ConnectorBase *, ConnectorBase * > root_to_proxy_
 

Detailed Description

template<typename InterfaceProvider>
class simics::systemc::Connector< InterfaceProvider >

Provides get/set functionality for a connector attribute, typically registered by using the ConnectorAttribute class.

The class derived from InterfaceProvider passed as template parameter to Connector makes sure that the Simics conf-object implements the expected interface (on the given port).

Member Enumeration Documentation

◆ anonymous enum

template<typename InterfaceProvider >
anonymous enum
Enumerator
is_proxy 

Constructor & Destructor Documentation

◆ Connector() [1/2]

template<typename InterfaceProvider >
simics::systemc::Connector< InterfaceProvider >::Connector ( )
default

◆ Connector() [2/2]

template<typename InterfaceProvider >
simics::systemc::Connector< InterfaceProvider >::Connector ( const Connector< InterfaceProvider > &  other)
inline

Member Function Documentation

◆ operator->() [1/2]

template<typename InterfaceProvider >
InterfaceProvider * simics::systemc::Connector< InterfaceProvider >::operator-> ( )
inline

◆ operator->() [2/2]

template<typename InterfaceProvider >
const InterfaceProvider * simics::systemc::Connector< InterfaceProvider >::operator-> ( ) const
inline

◆ operator=()

template<typename InterfaceProvider >
Connector & simics::systemc::Connector< InterfaceProvider >::operator= ( const Connector< InterfaceProvider > &  other)
inline

◆ provider() [1/2]

◆ provider() [2/2]

template<typename InterfaceProvider >
const InterfaceProvider & simics::systemc::Connector< InterfaceProvider >::provider ( ) const
inline

◆ set()

template<typename InterfaceProvider >
bool simics::systemc::Connector< InterfaceProvider >::set ( const ConfObjectRef &  connect)
inlineoverride

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