gem5
v20.1.0.0
|
#include <proxy_ptr.hh>
Public Types | |
using | Type = T |
Public Member Functions | |
template<typename ... Args, typename std::enable_if< std::is_constructible< Proxy, Args &&... >::value, int >::type = 0> | |
ConstProxyPtr (Addr _ptr, Args &&... args) | |
template<typename ... Args, typename std::enable_if< std::is_constructible< Proxy, Args &&... >::value, int >::type = 0> | |
ConstProxyPtr (Args &&... args) | |
template<typename O , typename Enabled = typename std::enable_if<std::is_assignable<T *, O *>::value>::type> | |
ConstProxyPtr (const ConstProxyPtr< O, Proxy > &other) | |
ConstProxyPtr (const CPP &other) | |
void | load () |
Addr | addr () const |
operator bool () const | |
template<typename A > | |
std::enable_if< std::is_integral< A >::value, CPP >::type | operator+ (A a) const |
template<typename A > | |
std::enable_if< std::is_integral< A >::value, CPP >::type | operator- (A a) const |
ptrdiff_t | operator- (const CPP &other) const |
CPP & | operator= (const CPP &other) |
CPP & | operator= (const Addr &a) |
operator const T * () const | |
const T & | operator* () const |
const T * | operator-> () const |
Protected Types | |
using | CPP = ConstProxyPtr< T, Proxy > |
Protected Member Functions | |
void | nullCheck () const |
void | setAddr (Addr ptr) |
ConstProxyPtr (Addr _ptr, std::shared_ptr< Proxy > _proxy) | |
Protected Attributes | |
std::shared_ptr< Proxy > | proxy |
std::shared_ptr< ProxyPtrBuffer< Proxy > > | buffer |
Friends | |
template<typename O , typename P > | |
class | ProxyPtr |
Definition at line 106 of file proxy_ptr.hh.
|
protected |
Definition at line 131 of file proxy_ptr.hh.
using ConstProxyPtr< T, Proxy >::Type = T |
Definition at line 134 of file proxy_ptr.hh.
|
inlineprotected |
Definition at line 126 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::setAddr().
|
inlineexplicit |
Definition at line 139 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::setAddr().
|
inlineexplicit |
Definition at line 147 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::setAddr().
|
inline |
Definition at line 155 of file proxy_ptr.hh.
|
inline |
Definition at line 159 of file proxy_ptr.hh.
|
inline |
Definition at line 170 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::buffer.
Referenced by abiTestFunc(), abiTestFuncConst(), ConstProxyPtr< T, Proxy >::operator+(), ProxyPtr< T, Proxy >::operator+(), ConstProxyPtr< T, Proxy >::operator-(), ProxyPtr< T, Proxy >::operator-(), operator<<(), and TEST().
|
inline |
Definition at line 164 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::buffer, and ConstProxyPtr< T, Proxy >::nullCheck().
|
inlineprotected |
Definition at line 115 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::buffer, and panic_if.
Referenced by ProxyPtr< T, Proxy >::flush(), ConstProxyPtr< T, Proxy >::load(), ConstProxyPtr< T, Proxy >::operator*(), ProxyPtr< T, Proxy >::operator*(), ConstProxyPtr< T, Proxy >::operator->(), and ProxyPtr< T, Proxy >::operator->().
|
inline |
Definition at line 171 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::buffer.
|
inline |
Definition at line 208 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::buffer.
|
inline |
Definition at line 214 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::buffer, and ConstProxyPtr< T, Proxy >::nullCheck().
|
inline |
Definition at line 175 of file proxy_ptr.hh.
References ArmISA::a, ConstProxyPtr< T, Proxy >::addr(), and ConstProxyPtr< T, Proxy >::proxy.
|
inline |
Definition at line 182 of file proxy_ptr.hh.
References ArmISA::a, ConstProxyPtr< T, Proxy >::addr(), and ConstProxyPtr< T, Proxy >::proxy.
|
inline |
Definition at line 188 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::addr().
|
inline |
Definition at line 220 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::buffer, and ConstProxyPtr< T, Proxy >::nullCheck().
|
inline |
Definition at line 202 of file proxy_ptr.hh.
References ArmISA::a, and ConstProxyPtr< T, Proxy >::setAddr().
|
inline |
Definition at line 194 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::buffer, and ConstProxyPtr< T, Proxy >::proxy.
|
inlineprotected |
Definition at line 118 of file proxy_ptr.hh.
References ConstProxyPtr< T, Proxy >::buffer, and ConstProxyPtr< T, Proxy >::proxy.
Referenced by ConstProxyPtr< T, Proxy >::ConstProxyPtr(), ConstProxyPtr< T, Proxy >::operator=(), and ProxyPtr< T, Proxy >::operator=().
|
friend |
Definition at line 113 of file proxy_ptr.hh.
|
protected |
Definition at line 110 of file proxy_ptr.hh.
Referenced by ConstProxyPtr< T, Proxy >::addr(), ProxyPtr< T, Proxy >::flush(), ConstProxyPtr< T, Proxy >::load(), ConstProxyPtr< T, Proxy >::nullCheck(), ConstProxyPtr< T, Proxy >::operator bool(), ProxyPtr< T, Proxy >::operator bool(), ConstProxyPtr< T, Proxy >::operator const T *(), ProxyPtr< T, Proxy >::operator T*(), ConstProxyPtr< T, Proxy >::operator*(), ProxyPtr< T, Proxy >::operator*(), ConstProxyPtr< T, Proxy >::operator->(), ProxyPtr< T, Proxy >::operator->(), ConstProxyPtr< T, Proxy >::operator=(), ProxyPtr< T, Proxy >::operator=(), and ConstProxyPtr< T, Proxy >::setAddr().
|
protected |
Definition at line 109 of file proxy_ptr.hh.
Referenced by ConstProxyPtr< T, Proxy >::operator+(), ProxyPtr< T, Proxy >::operator+(), ConstProxyPtr< T, Proxy >::operator-(), ProxyPtr< T, Proxy >::operator-(), ConstProxyPtr< T, Proxy >::operator=(), ProxyPtr< T, Proxy >::operator=(), and ConstProxyPtr< T, Proxy >::setAddr().