Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TxAccelIfc Class Reference

Pure virtual interface to define the interaction with a particle accelerator model needed for use with the Tech-X QScimpl graphics package. More...

#include <TxAccelIfc.h>

Inheritance diagram for TxAccelIfc::

TxNldIfc TxModelIfc List of all members.

Public Methods

virtual void addLayoutElements ()=0
 add the layout elements. More...

virtual void visitBeamLine (int index, TxAttributeSet *beamLine, TxAttributeSet *beamLineData)=0
 visit the beamline associated with the index. More...

virtual void addElementNames ()=0
 add the Edit element names. More...

virtual void addTwissLayoutElements ()=0
 add the twiss layout elements. More...

virtual int readRNG (istream &fl)=0
 read the input file in RNG format. More...

virtual int readMAD (istream &fl)=0
 read the input file in MAD format. More...

virtual int writeMAD (ostream &ostrm) const=0
 write MAD formatted object data. More...

virtual TxLinePlotDatagetTwissPlotVisitor ()=0
 Get a new twiss plot visitor. More...

virtual TxLinePlotDatagetMcTwissPlot ()=0
 Get a new monte carlo twiss plot visitor. More...

virtual TxLinePlotDatagetDispPlotVisitor ()=0
 Get a new dispersion plot visitor. More...


Detailed Description

Pure virtual interface to define the interaction with a particle accelerator model needed for use with the Tech-X QScimpl graphics package.

This interface should not depend on QT.

Author:
Kelly G. Luetkemeyer, David L. Bruhwiler, & David A. Alexander
Version:
Id:
TxAccelIfc.h,v 1.6 2001/12/07 00:14:47 kgl Exp

Definition at line 32 of file TxAccelIfc.h.


Member Function Documentation

void TxAccelIfc::addElementNames ( ) [pure virtual]
 

add the Edit element names.

void TxAccelIfc::addLayoutElements ( ) [pure virtual]
 

add the layout elements.

void TxAccelIfc::addTwissLayoutElements ( ) [pure virtual]
 

add the twiss layout elements.

TxLinePlotData * TxAccelIfc::getDispPlotVisitor ( ) [pure virtual]
 

Get a new dispersion plot visitor.

Returns:
the dispersion plot visitor

TxLinePlotData * TxAccelIfc::getMcTwissPlot ( ) [pure virtual]
 

Get a new monte carlo twiss plot visitor.

Returns:
the monte carlo twiss plot visitor

TxLinePlotData * TxAccelIfc::getTwissPlotVisitor ( ) [pure virtual]
 

Get a new twiss plot visitor.

Returns:
the new twiss plot visitor

int TxAccelIfc::readMAD ( istream & fl ) [pure virtual]
 

read the input file in MAD format.

Parameters:
fl   the ifstream to read from

int TxAccelIfc::readRNG ( istream & fl ) [pure virtual]
 

read the input file in RNG format.

Parameters:
fl   the ifstream to read from

void TxAccelIfc::visitBeamLine ( int index,
TxAttributeSet * beamLine,
TxAttributeSet * beamLineData ) [pure virtual]
 

visit the beamline associated with the index.

Parameters:
index   the beamline index
beamline   the beamline attribute set
beamLineData   the attribute set holding the beamline data

int TxAccelIfc::writeMAD ( ostream & ostrm ) const [pure virtual]
 

write MAD formatted object data.

Parameters:
ostrm   the output stream to write to @retrun error condition -- 0 for no error.


The documentation for this class was generated from the following file: Copyright Tech-X Corporation, all rights reserved.