public class LineModel extends ElementSeq
s_szDefReserve
Constructor and Description |
---|
LineModel(java.lang.String strType)
Create a new
LineModel object with the given
string type identifier. |
LineModel(java.lang.String strType,
java.lang.String strId)
Create a new
LineModel object with the given
type and given string identifier. |
LineModel(java.lang.String strType,
java.lang.String strId,
int szReserve)
Create a new
LineModel object with the given
type, given string identifier, and while reserving the given
number of positions for internal modeling elements. |
Modifier and Type | Method and Description |
---|---|
void |
backPropagate(IProbe probe)
Override of
ElementSeq.backPropagate(xal.model.IProbe) |
void |
propagate(IProbe probe)
Override of
ElementSeq.propagate(xal.model.IProbe) |
addChild, backPropagate, childIterator, concatenateEquals, getAllElements, getChild, getChildCount, getComments, getCompList, getElementList, getHardwareNodeId, getId, getLeafCount, getLength, getReverseCompList, getType, globalBackIterator, globalIterator, initializeFrom, localBackIterator, localIterator, print, propagate, remove, setComments, setCompList, setHardwareNodeId, setId, toString
public LineModel(java.lang.String strType)
LineModel
object with the given
string type identifier. The type refers to the type
of accelerating structure this models.strType
- this object's type class (name)public LineModel(java.lang.String strType, java.lang.String strId)
LineModel
object with the given
type and given string identifier.strType
- the type class of the accelerating structurestrId
- the identifier of this particular structurepublic LineModel(java.lang.String strType, java.lang.String strId, int szReserve)
LineModel
object with the given
type, given string identifier, and while reserving the given
number of positions for internal modeling elements. Note that
if the number of child elements grows large than the reservation
number, extra space is automatically allocated. It's just faster
to use this feature if you do know the size of the child set.strType
- the type class of the accelerating structurestrId
- the identifier of this particular structureszReserve
- reserve allocation size for child modeling elementspublic void propagate(IProbe probe) throws ModelException
ElementSeq.propagate(xal.model.IProbe)
propagate
in interface IComponent
propagate
in interface IComposite
propagate
in class ElementSeq
probe
- the state of the probe will be advance using the elements dynamicsModelException
- an error occurred while advancing the probe stateElementSeq.propagate(xal.model.IProbe)
public void backPropagate(IProbe probe) throws ModelException
ElementSeq.backPropagate(xal.model.IProbe)
backPropagate
in interface IComponent
backPropagate
in class ElementSeq
probe
- the state of the probe will be advance using the elements dynamicsModelException
- an error occurred while advancing the probe stateElementSeq.backPropagate(xal.model.IProbe)