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

#include <simics_lock.h>

Public Member Functions

 SimicsLock (iface::SimulationInterface *simulation, T *pointer)
 
virtual ~SimicsLock ()
 
 SimicsLock (const SimicsLock &)=delete
 
SimicsLock operator= (const SimicsLock &)=delete
 
 SimicsLock (SimicsLock &&)=default
 
SimicsLockoperator= (SimicsLock &&)=default
 
T & operator* ()
 
const T & operator* () const
 
T * operator-> ()
 
const T * operator-> () const
 
 operator bool () const
 

Protected Attributes

domain_lock_t * lock_
 
T * pointer_
 
conf_object_t * object_
 

Constructor & Destructor Documentation

◆ SimicsLock() [1/3]

template<typename T >
simics::systemc::SimicsLock< T >::SimicsLock ( iface::SimulationInterface simulation,
T *  pointer 
)
inline

◆ ~SimicsLock()

template<typename T >
virtual simics::systemc::SimicsLock< T >::~SimicsLock ( )
inlinevirtual

◆ SimicsLock() [2/3]

template<typename T >
simics::systemc::SimicsLock< T >::SimicsLock ( const SimicsLock< T > &  )
delete

◆ SimicsLock() [3/3]

template<typename T >
simics::systemc::SimicsLock< T >::SimicsLock ( SimicsLock< T > &&  )
default

Member Function Documentation

◆ operator bool()

template<typename T >
simics::systemc::SimicsLock< T >::operator bool ( ) const
inline

◆ operator*() [1/2]

template<typename T >
T & simics::systemc::SimicsLock< T >::operator* ( )
inline

◆ operator*() [2/2]

template<typename T >
const T & simics::systemc::SimicsLock< T >::operator* ( ) const
inline

◆ operator->() [1/2]

template<typename T >
T * simics::systemc::SimicsLock< T >::operator-> ( )
inline

◆ operator->() [2/2]

template<typename T >
const T * simics::systemc::SimicsLock< T >::operator-> ( ) const
inline

◆ operator=() [1/2]

template<typename T >
SimicsLock simics::systemc::SimicsLock< T >::operator= ( const SimicsLock< T > &  )
delete

◆ operator=() [2/2]

template<typename T >
SimicsLock & simics::systemc::SimicsLock< T >::operator= ( SimicsLock< T > &&  )
default

Member Data Documentation

◆ lock_

template<typename T >
domain_lock_t* simics::systemc::SimicsLock< T >::lock_
protected

◆ object_

template<typename T >
conf_object_t* simics::systemc::SimicsLock< T >::object_
protected

◆ pointer_

template<typename T >
T* simics::systemc::SimicsLock< T >::pointer_
protected

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