|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.sns.xal.model.probe.traj.ProbeState
|
+--gov.sns.xal.model.probe.traj.TransferMapState
| Field Summary | |
protected static java.lang.String |
ATTR_MAP
attribute tag for betatron phase |
protected static java.lang.String |
LABEL_STATE
element tag for RF phase |
| Fields inherited from class gov.sns.xal.model.probe.traj.ProbeState |
STATE_LABEL |
| Constructor Summary | |
TransferMapState()
Default constructor - create new TransferMapState and
initialize to zero state values. |
|
TransferMapState(TransferMapProbe probe)
Initializing constructor - create a new TransferMapState
object and initialize it to the current state of the given probe. |
|
| Method Summary | |
protected void |
addPropertiesTo(DataAdaptor daptSink)
Save the probe state values to a data store represented by the DataAdaptor interface. |
PhaseMap |
getTransferMap()
Get the composite transfer map for the current probe location. |
protected void |
readPropertiesFrom(DataAdaptor daptSrc)
Restore the state values for this probe state object from the data store represented by the DataAdaptor interface. |
void |
setTransferMap(PhaseMap mapTrans)
Set the current composite transfer map up to the current probe location. |
java.lang.String |
toString()
Return a textual representation of the ProbeState internal state. |
| Methods inherited from class gov.sns.xal.model.probe.traj.ProbeState |
getElementId, getKineticEnergy, getPosition, getSpeciesCharge, getSpeciesRestEnergy, getTime, load, readFrom, save, setElementId, setKineticEnergy, setPosition, setSpeciesCharge, setSpeciesRestEnergy, setTime |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static final java.lang.String LABEL_STATE
protected static final java.lang.String ATTR_MAP
| Constructor Detail |
public TransferMapState()
TransferMapState and
initialize to zero state values.
public TransferMapState(TransferMapProbe probe)
TransferMapState
object and initialize it to the current state of the given probe.
probe - probe object with initial state information| Method Detail |
public void setTransferMap(PhaseMap mapTrans)
mapTrans - transfer map in homogeneous phase coordinatesProbe.createTrajectory()public PhaseMap getTransferMap()
protected void addPropertiesTo(DataAdaptor daptSink)
DataAdaptor interface.
addPropertiesTo in class ProbeStatedaptSink - data sink to receive state informationProbeState.addPropertiesTo(gov.sns.tools.data.DataAdaptor)
protected void readPropertiesFrom(DataAdaptor daptSrc)
throws ParsingException
DataAdaptor interface.
readPropertiesFrom in class ProbeStatedaptSrc - data source for probe state information
ParsingException - error in data formatProbeState.readPropertiesFrom(gov.sns.tools.data.DataAdaptor)public java.lang.String toString()
ProbeStateProbeState internal state.
toString in class ProbeStateObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||