#include <ProxyBase.h>
Protected Member Functions | |
void | check () const |
const T & | data () const |
void | destroy () noexcept |
bool | isValid () const |
ProxyBase & | operator= (const ProxyBase &other) noexcept |
ProxyBase () noexcept | |
ProxyBase (T *p) noexcept | |
ProxyBase (const ProxyBase &other) noexcept | |
int | references () const |
T & | sharedData () |
void | swap (ProxyBase &other) noexcept |
T & | unsharedData () |
~ProxyBase () noexcept | |
Private Attributes | |
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 20 of file ProxyBase.h.
Definition at line 23 of file ProxyBase.h.
|
inlineexplicitprotectednoexcept |
|
inlineprotectednoexcept |
Definition at line 32 of file ProxyBase.h.
References ProxyBase< T, Cloner >::destroy().
Definition at line 83 of file ProxyBase.h.
References ProxyBase< T, Cloner >::theData, and unlikely.
Referenced by ProxyBase< T, Cloner >::data(), ProxyBase< T, Cloner >::sharedData(), and ProxyBase< T, Cloner >::unsharedData().
Definition at line 67 of file ProxyBase.h.
References ProxyBase< T, Cloner >::check(), and ProxyBase< T, Cloner >::theData.
Referenced by cuy.FindIssue::__init__(), reco::TransientTrack::basicTransientTrack(), reco::GhostTrackState::cartesianCovariance(), reco::GhostTrackState::cartesianError(), reco::TransientTrack::charge(), GCC11_FINAL< T, TOPO >::components(), GCC11_FINAL< T, TOPO >::error(), reco::TransientTrack::field(), reco::GhostTrackState::globalPosition(), reco::TransientTrack::impactPointState(), reco::TransientTrack::impactPointStateAvailable(), reco::TransientTrack::impactPointTSCP(), reco::TransientTrack::initialFreeState(), reco::TransientTrack::innermostMeasurementState(), reco::GhostTrackState::isTrack(), reco::GhostTrackState::isValid(), GCC11_FINAL< T, TOPO >::isValid(), reco::GhostTrackState::isVertex(), reco::GhostTrackState::lambda(), reco::TransientTrack::operator<(), reco::TransientTrack::operator==(), reco::TransientTrack::outermostMeasurementState(), GCC11_FINAL< T, TOPO >::position(), reco::TransientTrack::stateAtBeamLine(), reco::TransientTrack::stateOnSurface(), reco::GhostTrackState::track(), reco::TransientTrack::track(), reco::TransientTrack::trackBaseRef(), reco::TransientTrack::trajectoryStateClosestToPoint(), reco::GhostTrackState::tsos(), reco::GhostTrackState::vertexStateOnGhostTrack(), reco::GhostTrackState::vertexStateOnMeasurement(), GCC11_FINAL< T, TOPO >::weight(), reco::GhostTrackState::weight(), GCC11_FINAL< T, TOPO >::weightInMixture(), and GCC11_FINAL< T, TOPO >::weightTimesPosition().
Definition at line 88 of file ProxyBase.h.
References ProxyBase< T, Cloner >::isValid(), likely, and ProxyBase< T, Cloner >::theData.
Referenced by ProxyBase< T, Cloner >::operator=(), and ProxyBase< T, Cloner >::~ProxyBase().
Definition at line 81 of file ProxyBase.h.
References ProxyBase< T, Cloner >::theData.
Referenced by ProxyBase< T, Cloner >::destroy(), reco::GhostTrackState::isValid(), and reco::TransientTrack::isValid().
|
inlineprotectednoexcept |
Definition at line 36 of file ProxyBase.h.
References ProxyBase< T, Cloner >::destroy(), likely, and ProxyBase< T, Cloner >::theData.
Definition at line 90 of file ProxyBase.h.
References ProxyBase< T, Cloner >::theData.
Referenced by ProxyBase< T, Cloner >::unsharedData().
Definition at line 79 of file ProxyBase.h.
References ProxyBase< T, Cloner >::check(), and ProxyBase< T, Cloner >::theData.
Referenced by reco::TransientTrack::setBeamSpot(), reco::TransientTrack::setES(), and reco::TransientTrack::setTrackingGeometry().
|
inlineprotectednoexcept |
Definition at line 46 of file ProxyBase.h.
References std::swap(), and ProxyBase< T, Cloner >::theData.
Referenced by reco::TransientTrack::swap().
Definition at line 69 of file ProxyBase.h.
References ProxyBase< T, Cloner >::check(), ProxyBase< T, Cloner >::references(), and ProxyBase< T, Cloner >::theData.
Referenced by reco::GhostTrackState::linearize(), reco::GhostTrackState::reset(), and reco::GhostTrackState::setWeight().
Definition at line 93 of file ProxyBase.h.
Referenced by ProxyBase< T, Cloner >::check(), ProxyBase< T, Cloner >::data(), ProxyBase< T, Cloner >::destroy(), ProxyBase< T, Cloner >::isValid(), ProxyBase< T, Cloner >::operator=(), ProxyBase< T, Cloner >::ProxyBase(), ProxyBase< T, Cloner >::references(), ProxyBase< T, Cloner >::sharedData(), ProxyBase< T, Cloner >::swap(), and ProxyBase< T, Cloner >::unsharedData().