gem5  v21.1.0.0
Classes | Namespaces | Functions
refcnt.hh File Reference
#include <type_traits>

Go to the source code of this file.

Classes

class  gem5::RefCounted
 Derive from RefCounted if you want to enable reference counting of this class. More...
 
class  gem5::RefCountingPtr< T >
 If you want a reference counting pointer to a mutable object, create it like this: More...
 

Namespaces

 gem5
 Reference material can be found at the JEDEC website: UFS standard http://www.jedec.org/standards-documents/results/jesd220 UFS HCI specification http://www.jedec.org/standards-documents/results/jesd223.
 

Functions

template<class T >
bool gem5::operator== (const RefCountingPtr< T > &l, const RefCountingPtr< T > &r)
 Check for equality of two reference counting pointers. More...
 
template<class T >
bool gem5::operator== (const RefCountingPtr< T > &l, const T *r)
 Check for equality of of a reference counting pointers and a regular pointer. More...
 
template<class T >
bool gem5::operator== (const T *l, const RefCountingPtr< T > &r)
 Check for equality of of a reference counting pointers and a regular pointer. More...
 
template<class T >
bool gem5::operator!= (const RefCountingPtr< T > &l, const RefCountingPtr< T > &r)
 Check for inequality of two reference counting pointers. More...
 
template<class T >
bool gem5::operator!= (const RefCountingPtr< T > &l, const T *r)
 Check for inequality of of a reference counting pointers and a regular pointer. More...
 
template<class T >
bool gem5::operator!= (const T *l, const RefCountingPtr< T > &r)
 Check for inequality of of a reference counting pointers and a regular pointer. More...
 

Detailed Description

Classes for managing reference counted objects.

Definition in file refcnt.hh.


Generated on Wed Jul 28 2021 12:10:32 for gem5 by doxygen 1.8.17