#include <ProxyBase11.h>
Public Types | |
using | pointer = std::shared_ptr< T > |
Public Member Functions | |
void | check () const |
const T & | data () const |
void | destroy () noexcept |
bool | isValid () const |
template<typename U > | |
ProxyBase11 & | operator= (std::shared_ptr< U > p) |
ProxyBase11 & | operator= (ProxyBase11 &&other) noexcept=default |
ProxyBase11 & | operator= (const ProxyBase11 &other)=default |
ProxyBase11 () | |
ProxyBase11 (T *p) | |
template<typename U > | |
ProxyBase11 (std::shared_ptr< U > p) | |
ProxyBase11 (ProxyBase11 &&other) noexcept=default | |
ProxyBase11 (ProxyBase11 const &other)=default | |
int | references () const |
void | reset () |
T & | sharedData () |
void | swap (ProxyBase11 &other) noexcept |
T & | unsharedData () |
~ProxyBase11 () noexcept | |
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 23 of file ProxyBase11.h.
using ProxyBase11< T >::pointer = std::shared_ptr<T> |
Definition at line 29 of file ProxyBase11.h.
|
inline |
Definition at line 34 of file ProxyBase11.h.
|
inlineexplicit |
Definition at line 36 of file ProxyBase11.h.
|
inline |
Definition at line 39 of file ProxyBase11.h.
|
inlinenoexcept |
Definition at line 44 of file ProxyBase11.h.
References ProxyBase11< T >::destroy().
|
defaultnoexcept |
|
default |
|
inline |
Definition at line 80 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 66 of file ProxyBase11.h.
References ProxyBase11< T >::check(), and ProxyBase11< T >::theData.
Referenced by cuy.FindIssue::__init__(), TrajectoryStateOnSurface::cartesianError(), TrajectoryStateOnSurface::charge(), TrajectoryStateOnSurface::components(), TrajectoryStateOnSurface::curvilinearError(), TrajectoryStateOnSurface::freeState(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalParameters(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::hasError(), TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localDirection(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localMomentum(), TrajectoryStateOnSurface::localParameters(), TrajectoryStateOnSurface::localPosition(), TrajectoryStateOnSurface::magneticField(), TrajectoryStateOnSurface::signedInverseMomentum(), TrajectoryStateOnSurface::surface(), TrajectoryStateOnSurface::surfaceSide(), TrajectoryStateOnSurface::transverseCurvature(), TrajectoryStateOnSurface::update(), and TrajectoryStateOnSurface::weight().
|
inlinenoexcept |
|
inline |
Definition at line 78 of file ProxyBase11.h.
References ProxyBase11< T >::theData.
Referenced by TrajectoryStateOnSurface::isValid().
|
inline |
Definition at line 41 of file ProxyBase11.h.
References ProxyBase11< T >::theData.
Referenced by TrajectoryStateOnSurface::operator=().
|
defaultnoexcept |
|
default |
|
inline |
Definition at line 89 of file ProxyBase11.h.
References ProxyBase11< T >::theData.
Referenced by ProxyBase11< T >::unsharedData().
|
inline |
Definition at line 64 of file ProxyBase11.h.
References ProxyBase11< T >::theData.
Referenced by MultiHitGeneratorFromChi2::hitSets().
|
inline |
Definition at line 76 of file ProxyBase11.h.
References ProxyBase11< T >::check(), and ProxyBase11< T >::theData.
Referenced by TrajectoryStateOnSurface::setCurvilinearError().
|
inlinenoexcept |
Definition at line 48 of file ProxyBase11.h.
References std::swap(), and ProxyBase11< T >::theData.
Referenced by TrajectoryStateOnSurface::operator=(), and TrajectoryStateOnSurface::swap().
|
inline |
Definition at line 68 of file ProxyBase11.h.
References ProxyBase11< T >::check(), ProxyBase11< T >::references(), and ProxyBase11< T >::theData.
Referenced by TrajectoryStateOnSurface::rescaleError(), and TrajectoryStateOnSurface::update().
|
private |
Definition at line 98 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().