LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
IMPL::AccessChecked Class Reference

Controls access to objects. More...

#include <AccessChecked.h>

+ Inheritance diagram for IMPL::AccessChecked:

Public Member Functions

 AccessChecked ()
 
virtual ~AccessChecked ()
 
virtual int simpleUID () const
 

Protected Member Functions

virtual void setReadOnly (bool readOnly)
 
void checkAccess ()
 
void checkAccess (const char *what)
 

Protected Attributes

bool _readOnly {false}
 
int _id {-1}
 

Static Protected Attributes

static std::atomic_int _lCObjectId
 

Friends

class LCEventImpl
 
class LCCollectionVec
 

Detailed Description

Controls access to objects.

Author
gaede
Version
Sep 4, 2003

Definition at line 18 of file AccessChecked.h.

Constructor & Destructor Documentation

IMPL::AccessChecked::AccessChecked ( )

Definition at line 9 of file AccessChecked.cc.

References _id, and _lCObjectId.

virtual IMPL::AccessChecked::~AccessChecked ( )
inlinevirtual

Definition at line 25 of file AccessChecked.h.

Member Function Documentation

void IMPL::AccessChecked::checkAccess ( )
protected

Definition at line 18 of file AccessChecked.cc.

References _readOnly.

Referenced by IMPL::TrackerRawDataImpl::adcValues(), IMPL::ReconstructedParticleImpl::addCluster(), IMPL::ClusterImpl::addCluster(), IMPL::MCParticleImpl::addDaughter(), IMPL::LCCollectionVec::addElement(), IMPL::SimCalorimeterHitImpl::addMCParticleContribution(), IMPL::ParticleIDImpl::addParameter(), IMPL::VertexImpl::addParameter(), IMPL::MCParticleImpl::addParent(), IMPL::ReconstructedParticleImpl::addParticle(), IMPL::ClusterImpl::addParticleID(), IMPL::ReconstructedParticleImpl::addTrack(), IMPL::TrackImpl::addTrack(), IMPL::TrackImpl::addTrackState(), IMPL::TrackerDataImpl::chargeValues(), IMPL::TrackerHitImpl::rawHits(), IMPL::LCEventImpl::removeCollection(), IMPL::LCCollectionVec::removeElementAt(), IMPL::TrackerRawDataImpl::setADCValues(), IMPL::ParticleIDImpl::setAlgorithmType(), IMPL::VertexImpl::setAlgorithmType(), IMPL::RawCalorimeterHitImpl::setAmplitude(), IMPL::VertexImpl::setAssociatedParticle(), IMPL::TPCHitImpl::setCellID(), IMPL::TrackerRawDataImpl::setCellID0(), IMPL::TrackerDataImpl::setCellID0(), IMPL::RawCalorimeterHitImpl::setCellID0(), IMPL::TrackerPulseImpl::setCellID0(), IMPL::CalorimeterHitImpl::setCellID0(), IMPL::SimTrackerHitImpl::setCellID0(), IMPL::TrackerHitImpl::setCellID0(), IMPL::TrackerHitZCylinderImpl::setCellID0(), IMPL::TrackerHitPlaneImpl::setCellID0(), IMPL::SimCalorimeterHitImpl::setCellID0(), IMPL::TrackerRawDataImpl::setCellID1(), IMPL::TrackerDataImpl::setCellID1(), IMPL::RawCalorimeterHitImpl::setCellID1(), IMPL::TrackerPulseImpl::setCellID1(), IMPL::CalorimeterHitImpl::setCellID1(), IMPL::SimTrackerHitImpl::setCellID1(), IMPL::TrackerHitImpl::setCellID1(), IMPL::TrackerHitZCylinderImpl::setCellID1(), IMPL::TrackerHitPlaneImpl::setCellID1(), IMPL::SimCalorimeterHitImpl::setCellID1(), IMPL::TrackerHitZCylinderImpl::setCenter(), IMPL::TPCHitImpl::setCharge(), IMPL::TrackerPulseImpl::setCharge(), IMPL::ReconstructedParticleImpl::setCharge(), IMPL::MCParticleImpl::setCharge(), IMPL::TrackerDataImpl::setChargeValues(), IMPL::VertexImpl::setChi2(), IMPL::TrackImpl::setChi2(), IMPL::MCParticleImpl::setColorFlow(), IMPL::TrackerPulseImpl::setCovMatrix(), IMPL::VertexImpl::setCovMatrix(), IMPL::TrackStateImpl::setCovMatrix(), IMPL::TrackerHitImpl::setCovMatrix(), IMPL::ReconstructedParticleImpl::setCovMatrix(), IMPL::TrackStateImpl::setD0(), IMPL::TrackImpl::setdEdx(), IMPL::TrackImpl::setdEdxError(), IMPL::LCRunHeaderImpl::setDescription(), IMPL::LCRunHeaderImpl::setDetectorName(), IMPL::LCEventImpl::setDetectorName(), IMPL::ClusterImpl::setDirectionError(), IMPL::TrackerHitZCylinderImpl::setdRPhi(), IMPL::TrackerHitPlaneImpl::setdU(), IMPL::TrackerHitPlaneImpl::setdV(), IMPL::TrackerHitZCylinderImpl::setdZ(), IMPL::TrackerHitImpl::setEDep(), IMPL::SimTrackerHitImpl::setEDep(), IMPL::TrackerHitZCylinderImpl::setEDep(), IMPL::TrackerHitPlaneImpl::setEDep(), IMPL::TrackerHitImpl::setEDepError(), IMPL::TrackerHitZCylinderImpl::setEDepError(), IMPL::TrackerHitPlaneImpl::setEDepError(), IMPL::MCParticleImpl::setEndpoint(), IMPL::CalorimeterHitImpl::setEnergy(), IMPL::ClusterImpl::setEnergy(), IMPL::ReconstructedParticleImpl::setEnergy(), IMPL::SimCalorimeterHitImpl::setEnergy(), IMPL::CalorimeterHitImpl::setEnergyError(), IMPL::ClusterImpl::setEnergyError(), IMPL::LCEventImpl::setEventNumber(), IMPL::MCParticleImpl::setGeneratorStatus(), IMPL::ReconstructedParticleImpl::setGoodnessOfPID(), IMPL::ClusterImpl::setIPhi(), IMPL::ClusterImpl::setITheta(), IMPL::ParticleIDImpl::setLikelihood(), IMPL::TrackStateImpl::setLocation(), IMPL::ReconstructedParticleImpl::setMass(), IMPL::MCParticleImpl::setMass(), IMPL::SimTrackerHitImpl::setMCParticle(), IMPL::ReconstructedParticleImpl::setMomentum(), IMPL::SimTrackerHitImpl::setMomentum(), IMPL::MCParticleImpl::setMomentum(), IMPL::MCParticleImpl::setMomentumAtEndpoint(), IMPL::TrackImpl::setNdf(), IMPL::TrackStateImpl::setOmega(), IMPL::ReconstructedParticleImpl::setParticleIDUsed(), IMPL::SimTrackerHitImpl::setPathLength(), IMPL::ParticleIDImpl::setPDG(), IMPL::MCParticleImpl::setPDG(), IMPL::TrackStateImpl::setPhi(), IMPL::VertexImpl::setPosition(), IMPL::CalorimeterHitImpl::setPosition(), IMPL::SimTrackerHitImpl::setPosition(), IMPL::TrackerHitImpl::setPosition(), IMPL::ClusterImpl::setPosition(), IMPL::TrackerHitZCylinderImpl::setPosition(), IMPL::TrackerHitPlaneImpl::setPosition(), IMPL::SimCalorimeterHitImpl::setPosition(), IMPL::ClusterImpl::setPositionError(), IMPL::VertexImpl::setPrimary(), IMPL::VertexImpl::setProbability(), IMPL::TPCHitImpl::setQuality(), IMPL::TrackerPulseImpl::setQuality(), IMPL::TrackerHitImpl::setQuality(), IMPL::TrackerHitZCylinderImpl::setQuality(), IMPL::TrackerHitPlaneImpl::setQuality(), IMPL::SimTrackerHitImpl::setQuality(), IMPL::TrackerPulseImpl::setQualityBit(), IMPL::TrackerHitImpl::setQualityBit(), IMPL::TrackerHitZCylinderImpl::setQualityBit(), IMPL::TrackerHitPlaneImpl::setQualityBit(), IMPL::SimTrackerHitImpl::setQualityBit(), IMPL::TrackImpl::setRadiusOfInnermostHit(), IMPL::TPCHitImpl::setRawData(), IMPL::CalorimeterHitImpl::setRawHit(), IMPL::TrackStateImpl::setReferencePoint(), IMPL::ReconstructedParticleImpl::setReferencePoint(), IMPL::LCRunHeaderImpl::setRunNumber(), IMPL::LCEventImpl::setRunNumber(), IMPL::ClusterImpl::setShape(), IMPL::MCParticleImpl::setSimulatorStatus(), IMPL::MCParticleImpl::setSpin(), IMPL::ReconstructedParticleImpl::setStartVertex(), IMPL::TrackStateImpl::setTanLambda(), IMPL::TrackerDataImpl::setTime(), IMPL::TrackerRawDataImpl::setTime(), IMPL::TPCHitImpl::setTime(), IMPL::TrackerPulseImpl::setTime(), IMPL::CalorimeterHitImpl::setTime(), IMPL::TrackerHitImpl::setTime(), IMPL::SimTrackerHitImpl::setTime(), IMPL::TrackerHitZCylinderImpl::setTime(), IMPL::TrackerHitPlaneImpl::setTime(), IMPL::MCParticleImpl::setTime(), IMPL::RawCalorimeterHitImpl::setTimeStamp(), IMPL::LCEventImpl::setTimeStamp(), IMPL::TrackerPulseImpl::setTrackerData(), IMPL::ParticleIDImpl::setType(), IMPL::CalorimeterHitImpl::setType(), IMPL::TrackerHitImpl::setType(), IMPL::ReconstructedParticleImpl::setType(), IMPL::TrackerHitZCylinderImpl::setType(), IMPL::TrackerHitPlaneImpl::setType(), IMPL::ClusterImpl::setType(), IMPL::TrackImpl::setType(), IMPL::ClusterImpl::setTypeBit(), IMPL::TrackImpl::setTypeBit(), IMPL::TrackerHitPlaneImpl::setU(), IMPL::TrackerHitPlaneImpl::setV(), IMPL::MCParticleImpl::setVertex(), IMPL::LCEventImpl::setWeight(), IMPL::TrackStateImpl::setZ0(), IMPL::ClusterImpl::subdetectorEnergies(), IMPL::TrackImpl::subdetectorHitNumbers(), and IMPL::TrackImpl::trackStates().

void IMPL::AccessChecked::checkAccess ( const char *  what)
protected

Definition at line 24 of file AccessChecked.cc.

References _readOnly.

void IMPL::AccessChecked::setReadOnly ( bool  readOnly)
protectedvirtual
virtual int IMPL::AccessChecked::simpleUID ( ) const
inlinevirtual

Friends And Related Function Documentation

friend class LCCollectionVec
friend

Definition at line 21 of file AccessChecked.h.

friend class LCEventImpl
friend

Definition at line 20 of file AccessChecked.h.

Member Data Documentation

int IMPL::AccessChecked::_id {-1}
protected

Definition at line 36 of file AccessChecked.h.

Referenced by AccessChecked(), and simpleUID().

std::atomic_int IMPL::AccessChecked::_lCObjectId
staticprotected

Definition at line 37 of file AccessChecked.h.

Referenced by AccessChecked().

bool IMPL::AccessChecked::_readOnly {false}
protected

Definition at line 35 of file AccessChecked.h.

Referenced by checkAccess(), and setReadOnly().


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