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

#include <reference_counter.h>

Public Member Functions

 ReferenceCounter (T *ptr)
 
 ReferenceCounter (const ReferenceCounter &reference)
 
ReferenceCounteroperator= (const ReferenceCounter &reference)
 
T * operator-> ()
 
 operator T* () const
 
virtual ~ReferenceCounter ()
 
int references () const
 

Constructor & Destructor Documentation

◆ ReferenceCounter() [1/2]

template<class T >
simics::systemc::ReferenceCounter< T >::ReferenceCounter ( T *  ptr)
inline

◆ ReferenceCounter() [2/2]

template<class T >
simics::systemc::ReferenceCounter< T >::ReferenceCounter ( const ReferenceCounter< T > &  reference)
inline

◆ ~ReferenceCounter()

template<class T >
virtual simics::systemc::ReferenceCounter< T >::~ReferenceCounter ( )
inlinevirtual

Member Function Documentation

◆ operator T*()

template<class T >
simics::systemc::ReferenceCounter< T >::operator T* ( ) const
inline

◆ operator->()

template<class T >
T * simics::systemc::ReferenceCounter< T >::operator-> ( )
inline

◆ operator=()

template<class T >
ReferenceCounter & simics::systemc::ReferenceCounter< T >::operator= ( const ReferenceCounter< T > &  reference)
inline

◆ references()

template<class T >
int simics::systemc::ReferenceCounter< T >::references ( ) const
inline

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