#include <ProxyBase11.h>
Public Types | |
using | pointer = std::shared_ptr< T > |
Public Member Functions | |
void | check () const |
const T & | data () const |
void | destroy () |
bool | isValid () const |
template<typename U > | |
ProxyBase11 & | operator= (std::shared_ptr< U > p) |
ProxyBase11 & | operator= (ProxyBase11 &&other)=default |
ProxyBase11 & | operator= (const ProxyBase11 &other)=default |
ProxyBase11 () | |
ProxyBase11 (T *p) | |
template<typename U > | |
ProxyBase11 (std::shared_ptr< U > p) | |
ProxyBase11 (ProxyBase11 &&other)=default | |
ProxyBase11 (ProxyBase11 const &other)=default | |
int | references () const |
void | reset () |
T & | sharedData () |
void | swap (ProxyBase11 &other) |
T & | unsharedData () |
~ProxyBase11 () | |
Private Attributes | |
std::shared_ptr< T > | theData |
A base class for reference counting proxies. The class to which this one is proxy must inherit from ReferenceCounted. A ProxyBase has value semantics, in contrast to ReferenceCountingPointer, which has pointer semantics. The Proxy class inheriting from ProxyBase must duplicate the part of the interface of the reference counted class that it whiches to expose.
Definition at line 21 of file ProxyBase11.h.
using ProxyBase11< T >::pointer = std::shared_ptr<T> |
Definition at line 24 of file ProxyBase11.h.
|
inline |
Definition at line 28 of file ProxyBase11.h.
|
inlineexplicit |
Definition at line 30 of file ProxyBase11.h.
|
inline |
Definition at line 32 of file ProxyBase11.h.
|
inline |
Definition at line 36 of file ProxyBase11.h.
References ProxyBase11< T >::destroy().
|
default |
|
default |
|
inline |
Definition at line 65 of file ProxyBase11.h.
References ProxyBase11< T >::theData, and unlikely.
Referenced by ProxyBase11< T >::data(), ProxyBase11< T >::sharedData(), and ProxyBase11< T >::unsharedData().
|
inline |
Definition at line 51 of file ProxyBase11.h.
References ProxyBase11< T >::check(), and ProxyBase11< T >::theData.
Referenced by GsfCombinedMaterialEffectsUpdator::compute(), TrajectoryStateOnSurface::update(), and GsfMaterialEffectsUpdator::updateState().
|
inline |
|
inline |
Definition at line 63 of file ProxyBase11.h.
References ProxyBase11< T >::theData.
Referenced by core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 34 of file ProxyBase11.h.
References eostools::move(), and ProxyBase11< T >::theData.
|
default |
|
default |
|
inline |
Definition at line 73 of file ProxyBase11.h.
References ProxyBase11< T >::theData.
Referenced by ProxyBase11< T >::unsharedData().
|
inline |
|
inline |
Definition at line 61 of file ProxyBase11.h.
References ProxyBase11< T >::check(), and ProxyBase11< T >::theData.
|
inline |
Definition at line 40 of file ProxyBase11.h.
References std::swap(), and ProxyBase11< T >::theData.
|
inline |
Definition at line 53 of file ProxyBase11.h.
References ProxyBase11< T >::check(), ProxyBase11< T >::references(), and ProxyBase11< T >::theData.
Referenced by TrajectoryStateOnSurface::update().
|
private |
Definition at line 76 of file ProxyBase11.h.
Referenced by ProxyBase11< T >::check(), ProxyBase11< T >::data(), ProxyBase11< T >::isValid(), ProxyBase11< T >::operator=(), ProxyBase11< T >::references(), ProxyBase11< T >::reset(), ProxyBase11< T >::sharedData(), ProxyBase11< T >::swap(), and ProxyBase11< T >::unsharedData().