gov.sns.xal.model.probe.traj
Class DiagnosticProbeState
java.lang.Object
|
+--gov.sns.xal.model.probe.traj.ProbeState
|
+--gov.sns.xal.model.probe.traj.DiagnosticProbeState
- All Implemented Interfaces:
- IArchive
- public class DiagnosticProbeState
- extends ProbeState
Encapsulates the state of a DiagnosticProbe at a particular
point in time.
| 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 |
DiagnosticProbeState
public DiagnosticProbeState()
DiagnosticProbeState
public DiagnosticProbeState(DiagnosticProbe probe)
getElementsVisited
public int getElementsVisited()
setElementsVisited
public void setElementsVisited(int count)
addPropertiesTo
protected void addPropertiesTo(DataAdaptor container)
- Description copied from class:
ProbeState
- Save the state information to a
DataAdaptor interface.
- Overrides:
addPropertiesTo in class ProbeState
- Parameters:
container - data sink with DataAdaptor interface
readPropertiesFrom
protected void readPropertiesFrom(DataAdaptor container)
throws ParsingException
- Description copied from class:
ProbeState
- Recover the state information from a
DataAdaptor interface.
- Overrides:
readPropertiesFrom in class ProbeState
- Parameters:
container - data source with DataAdaptor interface
- Throws:
ParsingException - data source is malformatted
toString
public java.lang.String toString()
- Description copied from class:
ProbeState
- Return a textual representation of the
ProbeState internal state.
- Overrides:
toString in class ProbeState
- Returns:
- string containing current
ProbeState state