#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 25 of file ProxyBase11.h.
|
inline |
Definition at line 29 of file ProxyBase11.h.
|
inlineexplicit |
Definition at line 31 of file ProxyBase11.h.
|
inline |
Definition at line 33 of file ProxyBase11.h.
|
inlinenoexcept |
|
defaultnoexcept |
|
default |
|
inline |
Definition at line 71 of file ProxyBase11.h.
References gather_cfg::cout, ProxyBase11< T >::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 reco::TransientTrack::basicTransientTrack(), reco::GhostTrackState::cartesianCovariance(), reco::GhostTrackState::cartesianError(), TrajectoryStateOnSurface::cartesianError(), TrajectoryStateOnSurface::charge(), reco::TransientTrack::charge(), TrajectoryStateOnSurface::components(), VertexState::components(), GsfCombinedMaterialEffectsUpdator::compute(), TrajectoryStateOnSurface::curvilinearError(), reco::TransientTrack::dtErrorExt(), VertexState::error(), VertexState::error4D(), reco::TransientTrack::field(), TrajectoryStateOnSurface::freeState(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalParameters(), reco::GhostTrackState::globalPosition(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::hasError(), reco::TransientTrack::impactPointState(), reco::TransientTrack::impactPointStateAvailable(), reco::TransientTrack::impactPointTSCP(), reco::TransientTrack::initialFreeState(), reco::TransientTrack::innermostMeasurementState(), VertexState::is4D(), reco::GhostTrackState::isTrack(), reco::GhostTrackState::isValid(), TrajectoryStateOnSurface::isValid(), VertexState::isValid(), reco::GhostTrackState::isVertex(), reco::GhostTrackState::lambda(), TrajectoryStateOnSurface::localDirection(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localMomentum(), TrajectoryStateOnSurface::localParameters(), TrajectoryStateOnSurface::localPosition(), TrajectoryStateOnSurface::magneticField(), reco::TransientTrack::operator<(), reco::TransientTrack::operator==(), reco::TransientTrack::outermostMeasurementState(), VertexState::position(), TrajectoryStateOnSurface::signedInverseMomentum(), TrajectoryStateOnSurface::singleState(), reco::TransientTrack::stateAtBeamLine(), reco::TransientTrack::stateOnSurface(), TrajectoryStateOnSurface::surface(), TrajectoryStateOnSurface::surfaceSide(), VertexState::time(), VertexState::timeError(), reco::TransientTrack::timeExt(), reco::GhostTrackState::track(), reco::TransientTrack::track(), reco::TransientTrack::trackBaseRef(), reco::TransientTrack::trajectoryStateClosestToPoint(), TrajectoryStateOnSurface::transverseCurvature(), reco::GhostTrackState::tsos(), TrajectoryStateOnSurface::update(), GsfMaterialEffectsUpdator::updateState(), reco::GhostTrackState::vertexStateOnGhostTrack(), reco::GhostTrackState::vertexStateOnMeasurement(), reco::GhostTrackState::weight(), VertexState::weight(), TrajectoryStateOnSurface::weight(), VertexState::weight4D(), VertexState::weightInMixture(), VertexState::weightTimesPosition(), and VertexState::weightTimesPosition4D().
|
inlinenoexcept |
|
inline |
Definition at line 69 of file ProxyBase11.h.
References nano_mu_local_reco_cff::bool, and ProxyBase11< T >::theData.
Referenced by ntupleDataFormat._Object::_checkIsValid(), reco::GhostTrackState::isValid(), TrajectoryStateOnSurface::isValid(), VertexState::isValid(), reco::TransientTrack::isValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 35 of file ProxyBase11.h.
References eostools::move(), AlCaHLTBitMon_ParallelJobs::p, and ProxyBase11< T >::theData.
Referenced by reco::TransientTrack::operator=(), and TrajectoryStateOnSurface::operator=().
|
defaultnoexcept |
|
default |
|
inline |
Definition at line 79 of file ProxyBase11.h.
References ProxyBase11< T >::theData.
Referenced by ProxyBase11< T >::check(), and ProxyBase11< T >::unsharedData().
|
inline |
|
inline |
Definition at line 64 of file ProxyBase11.h.
References ProxyBase11< T >::check(), and ProxyBase11< T >::theData.
Referenced by reco::TransientTrack::setBeamSpot(), TrajectoryStateOnSurface::setCurvilinearError(), and reco::TransientTrack::setTrackingGeometry().
|
inlinenoexcept |
Definition at line 42 of file ProxyBase11.h.
References trackingPlots::other, swap(), and ProxyBase11< T >::theData.
Referenced by TrajectoryStateOnSurface::operator=(), reco::TransientTrack::swap(), and TrajectoryStateOnSurface::swap().
|
inline |
Definition at line 56 of file ProxyBase11.h.
References ProxyBase11< T >::check(), ProxyBase11< T >::references(), and ProxyBase11< T >::theData.
Referenced by reco::GhostTrackState::linearize(), TrajectoryStateOnSurface::rescaleError(), reco::GhostTrackState::reset(), reco::GhostTrackState::setWeight(), and TrajectoryStateOnSurface::update().
|
private |
Definition at line 82 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().