class
DefaultVisitor
: public BeamlineVisitor
(Return to index)
Default algorithms.
A default implementation for all visitors that can iterate over a
beam line representation.
This abstract base class implements the default behaviour for the
structural classes Beamline and FlaggedElmPtr, and for all wrappers.
It also holds the data required for all visitors in a protected area.
Type: |
Abstract |
Superclasses: |
public BeamlineVisitor |
Include file: |
./Algorithms/DefaultVisitor.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
- Protected Members:
-
const Beamline& itsLine
;
-
bool back_beam
;
-
bool back_track
;
-
bool local_flip
;
-
double flip_B
;
-
double flip_s
;
Documentation:
- Public members:
-
DefaultVisitor
(const Beamline&,bool,bool)
;
- Constructor.
Arguments:
- The beamline to be used.
- If true, the beam runs backwards through the line.
- If true, we track against the beam.
-
virtual void execute
()
;
- Apply the algorithm to the top-level beamline.
-
virtual void visitAlignWrapper
(const AlignWrapper&)
;
- Apply the algorithm to an align wrapper..
-
virtual void visitBeamBeam
(const BeamBeam&)
;
- Apply the algorithm to a beam-beam.
-
virtual void visitBeamline
(const Beamline&)
;
- Apply the algorithm to a beam line.
-
virtual void visitCollimator
(const Collimator&)
;
- Apply the algorithm to a collimator.
-
virtual void visitComponent
(const Component&)
;
- Apply the algorithm to an arbitrary component.
-
virtual void visitCorrector
(const Corrector&)
;
- Apply the algorithm to a corrector.
-
virtual void visitCorrectorWrapper
(const CorrectorWrapper&)
;
- Apply the algorithm to an corrector wrapper..
-
virtual void visitDiagnostic
(const Diagnostic&)
;
- Apply the algorithm to a diagnostic.
-
virtual void visitDrift
(const Drift&)
;
- Apply the algorithm to a drift.
-
virtual void visitFlaggedElmPtr
(const FlaggedElmPtr&)
;
- Apply the algorithm to a FlaggedElmPtr.
-
virtual void visitIntegrator
(const Integrator&)
;
- Apply the algorithm to a generic integrator.
-
virtual void visitLambertson
(const Lambertson&)
;
- Apply the algorithm to a Lambertson.
-
virtual void visitMapIntegrator
(const MapIntegrator&)
;
- Apply the algorithm to an integrator capable of mapping.
-
virtual void visitMarker
(const Marker&)
;
- Apply the algorithm to a marker.
-
virtual void visitMonitor
(const Monitor&)
;
- Apply the algorithm to a monitor.
-
virtual void visitMultipole
(const Multipole&)
;
- Apply the algorithm to a multipole.
-
virtual void visitMultipoleWrapper
(const MultipoleWrapper&)
;
- Apply the algorithm to an multipole wrapper..
-
virtual void visitPatch
(const Patch&)
;
- Apply the algorithm to a patch.
-
virtual void visitRBend
(const RBend&)
;
- Apply the algorithm to a rectangular bend.
-
virtual void visitRBendWrapper
(const RBendWrapper&)
;
- Apply the algorithm to an RBend wrapper..
-
virtual void visitRFCavity
(const RFCavity&)
;
- Apply the algorithm to a RF cavity.
-
virtual void visitRFQuadrupole
(const RFQuadrupole&)
;
- Apply the algorithm to a RF quadrupole.
-
virtual void visitSBend
(const SBend&)
;
- Apply the algorithm to a sector bend.
-
virtual void visitSBendWrapper
(const SBendWrapper&)
;
- Apply the algorithm to an SBend wrapper..
-
virtual void visitSeparator
(const Separator&)
;
- Apply the algorithm to a separator.
-
virtual void visitSeptum
(const Septum&)
;
- Apply the algorithm to a septum.
-
virtual void visitSolenoid
(const Solenoid&)
;
- Apply the algorithm to a solenoid.
-
virtual void visitTrackIntegrator
(const TrackIntegrator&)
;
- Apply the algorithm to an integrator capable of tracking.
- Protected members:
Documentation generated by fci on Mon Feb 7 11:41:35 2000