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

#include <registry.h>

Public Member Functions

 ~Registry ()
 
void add (T *impl)
 
void remove (T *impl)
 
template<class F >
bool iterate (F *f)
 
template<class F >
bool reverseIterate (F *f)
 

Static Public Member Functions

static Registry< T > * instance ()
 

Protected Types

typedef std::list< T * > Items
 
typedef std::map< T *, typename Items::iterator > Iterators
 

Protected Attributes

Items items_
 
Iterators iterators_
 

Member Typedef Documentation

◆ Items

template<class T >
typedef std::list<T *> simics::systemc::Registry< T >::Items
protected

◆ Iterators

template<class T >
typedef std::map<T *, typename Items::iterator> simics::systemc::Registry< T >::Iterators
protected

Constructor & Destructor Documentation

◆ ~Registry()

template<class T >
simics::systemc::Registry< T >::~Registry ( )
inline

Member Function Documentation

◆ add()

template<class T >
void simics::systemc::Registry< T >::add ( T *  impl)
inline

◆ instance()

template<class T >
static Registry< T > * simics::systemc::Registry< T >::instance ( )
inlinestatic

◆ iterate()

template<class T >
template<class F >
bool simics::systemc::Registry< T >::iterate ( F *  f)
inline

◆ remove()

template<class T >
void simics::systemc::Registry< T >::remove ( T *  impl)
inline

◆ reverseIterate()

template<class T >
template<class F >
bool simics::systemc::Registry< T >::reverseIterate ( F *  f)
inline

Member Data Documentation

◆ items_

template<class T >
Items simics::systemc::Registry< T >::items_
protected

◆ iterators_

template<class T >
Iterators simics::systemc::Registry< T >::iterators_
protected

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