gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::ProxyPtr< void, Proxy > Class Template Reference

#include <proxy_ptr.hh>

Inheritance diagram for gem5::ProxyPtr< void, Proxy >:
gem5::ConstProxyPtr< T, Proxy >

Public Member Functions

 ProxyPtr (Addr new_addr,...)
template<typename T>
 ProxyPtr (const ProxyPtr< T, Proxy > &other)
ProxyPtr< void, Proxy > & operator= (Addr new_addr)
 operator Addr () const
Addr addr () const
 operator const void * () const
 operator bool () const
void flush (bool force=false)
std::enable_if_t< std::is_integral_v< A >, PPoperator+ (A a) const
std::enable_if_t< std::is_integral_v< A >, PPoperator- (A a) const
 operator void * () const
void & operator* () const
void * operator-> () const
 operator const void * () const
Public Member Functions inherited from gem5::ConstProxyPtr< T, Proxy >
template<typename ... Args, typename std::enable_if_t< std::is_constructible_v< Proxy, Args &&... >, int > = 0>
 ConstProxyPtr (Addr _ptr, Args &&... args)
template<typename ... Args, typename std::enable_if_t< std::is_constructible_v< Proxy, Args &&... >, int > = 0>
 ConstProxyPtr (Args &&... args)
template<typename O, typename Enabled = typename std::enable_if_t<std::is_assignable_v<T *, O *>>>
 ConstProxyPtr (const ConstProxyPtr< O, Proxy > &other)
 ConstProxyPtr (const CPP &other)
void load ()
Addr addr () const
 operator bool () const
template<typename A>
std::enable_if_t< std::is_integral_v< A >, CPPoperator+ (A a) const
template<typename A>
std::enable_if_t< std::is_integral_v< A >, CPPoperator- (A a) const
ptrdiff_t operator- (const CPP &other) const
CPPoperator= (const CPP &other)
CPPoperator= (const Addr &a)
 operator const T * () const
const T & operator* () const
const T * operator-> () const

Protected Types

using CPP
using PP
Protected Types inherited from gem5::ConstProxyPtr< T, Proxy >
using CPP = ConstProxyPtr<T, Proxy>

Protected Attributes

Addr _addr
Protected Attributes inherited from gem5::ConstProxyPtr< T, Proxy >
std::shared_ptr< Proxy > proxy
std::shared_ptr< ProxyPtrBuffer< Proxy > > buffer

Additional Inherited Members

Public Types inherited from gem5::ConstProxyPtr< T, Proxy >
using Type = T
Protected Member Functions inherited from gem5::ConstProxyPtr< T, Proxy >
void nullCheck () const
void setAddr (Addr ptr)
 ConstProxyPtr (Addr _ptr, std::shared_ptr< Proxy > _proxy)

Detailed Description

template<typename Proxy>
class gem5::ProxyPtr< void, Proxy >

Definition at line 330 of file proxy_ptr.hh.

Member Typedef Documentation

◆ CPP

using gem5::ProxyPtr< void, Proxy >::CPP
protected

Definition at line 241 of file proxy_ptr.hh.

◆ PP

using gem5::ProxyPtr< void, Proxy >::PP
protected

Definition at line 242 of file proxy_ptr.hh.

Constructor & Destructor Documentation

◆ ProxyPtr() [1/2]

template<typename Proxy>
gem5::ProxyPtr< void, Proxy >::ProxyPtr ( Addr new_addr,
... )
inline

Definition at line 336 of file proxy_ptr.hh.

References _addr.

Referenced by ProxyPtr().

◆ ProxyPtr() [2/2]

template<typename Proxy>
template<typename T>
gem5::ProxyPtr< void, Proxy >::ProxyPtr ( const ProxyPtr< T, Proxy > & other)
inline

Definition at line 339 of file proxy_ptr.hh.

References _addr, addr(), and ProxyPtr().

Member Function Documentation

◆ addr()

template<typename Proxy>
Addr gem5::ProxyPtr< void, Proxy >::addr ( ) const
inline

Definition at line 350 of file proxy_ptr.hh.

References _addr.

Referenced by ProxyPtr().

◆ flush()

void gem5::ProxyPtr< void, Proxy >::flush ( bool force = false)
inline

Definition at line 265 of file proxy_ptr.hh.

◆ operator Addr()

template<typename Proxy>
gem5::ProxyPtr< void, Proxy >::operator Addr ( ) const
inline

Definition at line 348 of file proxy_ptr.hh.

References _addr.

◆ operator bool()

gem5::ProxyPtr< void, Proxy >::operator bool ( ) const
inline

Definition at line 262 of file proxy_ptr.hh.

◆ operator const void *() [1/2]

( ) const

◆ operator const void *() [2/2]

gem5::ConstProxyPtr< void, Proxy >::operator const void * ( ) const
inline

Definition at line 306 of file proxy_ptr.hh.

◆ operator void *()

gem5::ProxyPtr< void, Proxy >::operator void* ( ) const
inline

Definition at line 307 of file proxy_ptr.hh.

◆ operator*()

void & gem5::ProxyPtr< void, Proxy >::operator* ( ) const
inline

Definition at line 314 of file proxy_ptr.hh.

◆ operator+()

std::enable_if_t< std::is_integral_v< A >, PP > gem5::ProxyPtr< void, Proxy >::operator+ ( A a) const
inline

Definition at line 273 of file proxy_ptr.hh.

◆ operator-()

std::enable_if_t< std::is_integral_v< A >, PP > gem5::ProxyPtr< void, Proxy >::operator- ( A a) const
inline

Definition at line 280 of file proxy_ptr.hh.

◆ operator->()

void * gem5::ProxyPtr< void, Proxy >::operator-> ( ) const
inline

Definition at line 322 of file proxy_ptr.hh.

◆ operator=()

template<typename Proxy>
ProxyPtr< void, Proxy > & gem5::ProxyPtr< void, Proxy >::operator= ( Addr new_addr)
inline

Definition at line 342 of file proxy_ptr.hh.

References _addr.

Member Data Documentation

◆ _addr

template<typename Proxy>
Addr gem5::ProxyPtr< void, Proxy >::_addr
protected

Definition at line 333 of file proxy_ptr.hh.

Referenced by addr(), operator Addr(), operator=(), ProxyPtr(), and ProxyPtr().


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

Generated on Sat Oct 18 2025 08:06:53 for gem5 by doxygen 1.14.0